diff options
Diffstat (limited to 'dev-libs/nspr/files/nspr-4.6.4-config-2.patch')
-rw-r--r-- | dev-libs/nspr/files/nspr-4.6.4-config-2.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/nspr/files/nspr-4.6.4-config-2.patch b/dev-libs/nspr/files/nspr-4.6.4-config-2.patch new file mode 100644 index 000000000000..843927c25636 --- /dev/null +++ b/dev-libs/nspr/files/nspr-4.6.4-config-2.patch @@ -0,0 +1,32 @@ +--- configure.in.org 2007-01-05 23:07:18.000000000 +0200 ++++ configure.in 2007-01-05 23:37:36.000000000 +0200 +@@ -409,7 +409,8 @@ if test "$target" != "$host"; then + + AC_MSG_CHECKING([whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works]) + AC_TRY_COMPILE([], [return(0);], +- [ac_cv_prog_host_cc_works=1 AC_MSG_RESULT([yes])], ++ [ac_cv_prog_host_cc_works=1 ++ AC_MSG_RESULT([yes])], + AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.]) ) + + CC=$_SAVE_CC +@@ -2155,9 +2156,8 @@ case $target in + *-darwin*) + ;; + *) +- AC_CHECK_LIB(dl, dlopen, +- AC_CHECK_HEADER(dlfcn.h, +- OS_LIBS="-ldl $OS_LIBS")) ++ AC_CHECK_HEADER(dlfcn.h) ++ AC_CHECK_LIB(dl, dlopen, [OS_LIBS="-ldl $OS_LIBS"]) + ;; + esac + +@@ -2766,6 +2766,7 @@ config/autoconf.mk + config/nsprincl.mk + config/nsprincl.sh + config/nspr-config ++config/nspr.pc + lib/Makefile + lib/ds/Makefile + lib/libc/Makefile |