Blame patches/lighttpd-1.4.70_pre.local.patch

af9da6
diff -ru lighttpd-1.4.70.orig/src/Makefile.in lighttpd-1.4.70/src/Makefile.in
af9da6
--- lighttpd-1.4.70.orig/src/Makefile.in        2023-05-10 09:21:16.000000000 +0200
af9da6
+++ lighttpd-1.4.70/src/Makefile.in     2023-05-21 14:12:46.984527740 +0200
af9da6
@@ -1469,7 +1469,7 @@
af9da6
 @NO_RDYNAMIC_TRUE@common_ldflags = -avoid-version -no-undefined
af9da6
 @NO_RDYNAMIC_TRUE@liblightcomp_la_SOURCES = $(common_src)
af9da6
 @NO_RDYNAMIC_TRUE@liblightcomp_la_CFLAGS = $(AM_CFLAGS) $(LIBEV_CFLAGS)
af9da6
-@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags) --export-all-symbols
af9da6
+@NO_RDYNAMIC_TRUE@liblightcomp_la_LDFLAGS = $(common_ldflags)
af9da6
 @NO_RDYNAMIC_TRUE@liblightcomp_la_LIBADD = $(PCRE_LIB) $(CRYPTO_LIB) $(FAM_LIBS) $(LIBEV_LIBS) $(ATTR_LIB) $(WS2_32_LIB)
af9da6
 @NO_RDYNAMIC_FALSE@common_libadd =
af9da6
 @NO_RDYNAMIC_TRUE@common_libadd = liblightcomp.la
182961
diff -ru lighttpd-1.4.68.orig/configure lighttpd-1.4.68/configure
182961
--- lighttpd-1.4.68.orig/configure	2023-01-03 14:05:40.000000000 +0100
182961
+++ lighttpd-1.4.68/configure	2023-01-07 13:13:44.702656206 +0100
182961
@@ -18388,7 +18388,7 @@
182961
   ac_status=$?
182961
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
182961
   test $ac_status = 0; }; then
182961
-  pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 3.3.0" 2>/dev/null`
182961
+  pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs-only-l "gnutls >= 3.3.0" 2>/dev/null`
182961
 		      test "x$?" != "x0" && pkg_failed=yes
182961
 else
182961
   pkg_failed=yes
182961
@@ -18771,7 +18771,7 @@
182961
   ac_status=$?
182961
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
182961
   test $ac_status = 0; }; then
182961
-  pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs "libpcre2-8" 2>/dev/null`
182961
+  pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs-only-l "libpcre2-8" 2>/dev/null`
182961
 		      test "x$?" != "x0" && pkg_failed=yes
182961
 else
182961
   pkg_failed=yes