After two years of discussion in bug #634793 and countless hours lost on
filing followup bugs at each type mismatch, nspr upstream finally got
convinced that on OpenBSD uint64_t was unsigned long long, and there was
no reason at all to define PRUint64 as unsigned long, happily raping the
principle of least surprise. So now that upstream behaves correctly,
remove the two pr{long,types}.h patches.
And there was much rejoicing.
Tested on sparc64/ppc/hppa/amd64, went in a bunch of bulk builds.
- remove subpackages, it makes no sense to have -docs fetching its distfile
from a separate tarball. If really needed one can make a standalone port.
- remove handmade nspr.pc.in, upstream provides one
- remove handrolled install target and use the one upstream provides.
- merge PFRAG.shared back into PLIST
Tested on amd64/i386/powerpc and in a bulk build.
Needed by firefox 18.
ok sthen@ ajacoutot@ jasper@
- Garbage collect patch adding -pthread hack while here.
- Improve pthread_set_name_np() call (returns void)
- Needed anyway by upcoming Mozilla 16 releases
been in a bunch of amd64 bulks, ok ajacoutot@
- using /dev/arandom instead of /dev/urandom is not needed anymore
- #undef _POSIX_THREAD_PRIORITY_SCHEDULING is not needed since the
switch to rthreads.
from brad.
Tested on alpha amd64 hppa i386 powerpc sparc64, no change in regression
output (well, dtoa still fails, but thats not surprising given
corresponding code is heavily patched)
.so.x.y passed to PR_LoadLibrary() is never the same as the one on
linux, since the portstree controls the .x.y, so if the first dlopen()
fails, let's strip what's after .so and retry, since ld.so is clever
enough to open the correct lib if asked for libfoo.so. Allows me to
remove smth like 40 patches in all mozilla ports. Take maintainership
while here.
discussed with deraadt@
- PL_ArenaFinish should zero the static variable PRCallOnceType
once.
- Missing _MD_UNLOCK() in IsFileLocal in ntio.c.
- PR_Interrupt() interrupts PR_TransmitFile() while PR_BlockInterrupt()
in effect.
- use /dev/urandom instead of /dev/random
ok naddy@
modes for header files in the install target, so that the resulting
package is right, and non-root/wheel users are able to build apps
depending on nspr
ok kurt@, naddy@, pval@
in -stable has internal nspr and will cause issues for users who upgrade if
SO_VERSION reaches 19.0 due to the .libs package. discussed with martynas.
okay pvalchev@
- increase soft limits for regression tests and make sure the prpollml
test works (from kili@ and kurt@)
- enable nameshm1 regression test (disable ClientServerTest function)
ok kurt@
mozilla.org app uses now and should prevent any library issues for the
transition to devel/nspr) ; from kurt@ (asked by kili@ and steven@)
- add regression tests ; the following tests are disabled as they need
more work: nameshm1, sema, semaerr, semaping, socket
- bump PKGNAME
ok kurt@
- use patches from www/mozilla-firefox (should now work on all supported
Firefox platforms)
- replaced internal strtod and dtoa implementations (patch from kurt@)
- create and install nspr.pc (from FreeBSD)
- change MASTER_SITES, remove USE_X11, update pkg/DESCR
ok mbalmer@ kurt@