openbsd-ports/devel/nspr/patches/patch-mozilla_nsprpub_configure_in

29 lines
879 B
Plaintext

$OpenBSD: patch-mozilla_nsprpub_configure_in,v 1.5 2006/11/15 17:42:24 kurt Exp $
--- mozilla/nsprpub/configure.in.orig Fri Jul 14 18:31:04 2006
+++ mozilla/nsprpub/configure.in Tue Nov 14 14:40:26 2006
@@ -1713,12 +1713,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
@@ -2766,6 +2769,7 @@ config/autoconf.mk
config/nsprincl.mk
config/nsprincl.sh
config/nspr-config
+config/nspr.pc
lib/Makefile
lib/ds/Makefile
lib/libc/Makefile