openbsd-ports/devel/nspr/patches/patch-mozilla_nsprpub_configure_in
landry 73f17c0d11 Update to nspr 4.9, needed for mozilla 11+.
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)
2012-02-20 09:17:00 +00:00

25 lines
806 B
Plaintext

$OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.13 2012/02/20 09:17:00 landry Exp $
--- mozilla/nsprpub/configure.in.orig Tue Feb 14 20:06:00 2012
+++ mozilla/nsprpub/configure.in Fri Feb 17 08:51:34 2012
@@ -2232,9 +2232,11 @@ mips-sony-newsos*)
AC_DEFINE(OPENBSD)
AC_DEFINE(HAVE_BSD_FLOCK)
AC_DEFINE(HAVE_SOCKLEN_T)
+ AC_DEFINE(_PR_HAVE_GETPROTO_R)
+ AC_DEFINE(_PR_HAVE_GETPROTO_R_INT)
CFLAGS="$CFLAGS -ansi -Wall"
CXXFLAGS="$CXXFLAGS -ansi -Wall"
- DLL_SUFFIX=so.1.0
+ DLL_SUFFIX="so.${SO_VERSION}"
DSO_CFLAGS=-fPIC
MDCPUCFG_H=_openbsd.cfg
PR_MD_CSRCS=openbsd.c
@@ -3357,6 +3359,7 @@ MAKEFILES="
config/nsprincl.mk
config/nsprincl.sh
config/nspr-config
+ config/nspr.pc
lib/Makefile
lib/ds/Makefile
lib/libc/Makefile