Fix PR pkg/48240 and bump PKGREVISION

* Use __fstat50 etc instead of fstat etc on NetBSD. Based on martin@'s patch
  for firefox 27.0.
  Restore session is recovered on NetBSD/amd64.
Updated www/firefox24 to 24.1.0nb1
pyversion.mk is needed if default python >=2.7
Fix PR pkg/48240 and PR pkg/48370

* Add forgotten patch for NetBSD's cpuset(3), fix build
* Use __fstat50 etc instead of fstat on NetBSD. Based on martin@'s patch
  for firefox 27.0.
  Restore session is recovered on NetBSD/amd64.
Update to 1.9:
Lots of protocol cleanups, including updates to xinput and XKB, and the
new DRI3 and Present extensions.
Updated x11/xcb-proto to 1.9
Update to 1.9:
Lots of protocol cleanups, including updates to xinput and XKB, and the
new DRI3 and Present extensions.
Updated x11/py-xcbgen to 1.9
Update to 1.3.2:
Another round of fixes for the fd sending API's: improves portability,
fixes build failures on BSD & Solaris when building with the new API
disabled, and enables the new API for Solaris.
Updated x11/xtrans to 1.3.2
Update to 1.9.3.

1.9.3:
Fix up some portability and build issues in the FD passing code introduced
in 1.9.2.   Now builds & works on Solaris as well as Linux, can be enabled
or disabled via --enable-sendfds and --disable-sendfds flags to configure.

1.9.2:
This has minimal patches needed to support GE events and current
xcb-proto, and then the patches for DRI3 and Present.
Updated x11/libxcb to 1.9.3