summaryrefslogtreecommitdiff
path: root/www-servers/lighttpd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-03 22:39:47 +0100
commit7f0ccc917c7abe6223784c703d86cd14755691fb (patch)
tree8c6793f68896b341e22f33d7e6cef88e481f4a8b /www-servers/lighttpd/files
parent9aa80713372911cec499b3adb2cd746790920916 (diff)
gentoo resync : 03.07.2021
Diffstat (limited to 'www-servers/lighttpd/files')
-rw-r--r--www-servers/lighttpd/files/lighttpd-1.4.59-nspr-header.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/www-servers/lighttpd/files/lighttpd-1.4.59-nspr-header.patch b/www-servers/lighttpd/files/lighttpd-1.4.59-nspr-header.patch
new file mode 100644
index 000000000000..497ea36a1675
--- /dev/null
+++ b/www-servers/lighttpd/files/lighttpd-1.4.59-nspr-header.patch
@@ -0,0 +1,16 @@
+diff --git a/configure.ac b/configure.ac
+index 325a1b4b..3f32daa9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -887,7 +887,10 @@ if test "x$use_nss" = "xyes"; then
+ NSS_LIBS="-L$WITH_NSS/lib -lnss3"
+ else
+ PKG_CHECK_MODULES([NSS],[nss])
+- CPPFLAGS="$CPPFLAGS -I/usr/include/nspr4"
++ if test "x$CRYPTO_LIB" = "x"; then
++ PKG_CHECK_MODULES([NSPR],[nspr])
++ CPPFLAGS="$CPPFLAGS $NSPR_CFLAGS"
++ fi
+ fi
+ AC_DEFINE([HAVE_NSS_NSS_H], [1], [nss/nss.h])
+ AC_DEFINE([HAVE_NSS3_NSS_H], [1], [nss3/nss.h])