openbsd-ports/devel/nspr/patches/patch-mozilla_nsprpub_configure_in
2008-02-12 23:21:38 +00:00

29 lines
883 B
Plaintext

$OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.6 2008/02/12 23:21:38 martynas Exp $
--- mozilla/nsprpub/configure.in.orig Wed Oct 31 20:07:38 2007
+++ mozilla/nsprpub/configure.in Tue Feb 12 23:37:03 2008
@@ -1728,12 +1728,15 @@ 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
+ OS_LIBS="-lc"
if test -z "$USE_NSPR_THREADS"; then
USE_PTHREADS=1
fi
@@ -2781,6 +2784,7 @@ config/autoconf.mk
config/nsprincl.mk
config/nsprincl.sh
config/nspr-config
+config/nspr.pc
lib/Makefile
lib/ds/Makefile
lib/libc/Makefile