diff --git a/patches/wget-1.24.5_pre.local.patch b/patches/wget-1.24.5_pre.local.patch new file mode 100644 index 0000000..ccbfe47 --- /dev/null +++ b/patches/wget-1.24.5_pre.local.patch @@ -0,0 +1,147 @@ +diff -ru wget-1.24.5.orig/configure wget-1.24.5/configure +--- wget-1.24.5.orig/configure 2024-03-10 15:08:24.000000000 +0100 ++++ wget-1.24.5/configure 2024-03-13 09:36:31.417646248 +0100 +@@ -66005,7 +66005,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBPSL_CFLAGS=`$PKG_CONFIG --cflags "libpsl" 2>/dev/null` ++ pkg_cv_LIBPSL_CFLAGS=`$PKG_CONFIG --cflags-only-other "libpsl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -66022,7 +66022,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBPSL_LIBS=`$PKG_CONFIG --libs "libpsl" 2>/dev/null` ++ pkg_cv_LIBPSL_LIBS=`$PKG_CONFIG --libs-only-l "libpsl" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -66256,7 +66256,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` ++ pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags-only-other "zlib" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -66273,7 +66273,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` ++ pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs-only-l "zlib" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -67412,7 +67412,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls" 2>/dev/null` ++ pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags-only-other "gnutls" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -67429,7 +67429,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls" 2>/dev/null` ++ pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs-only-l "gnutls" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -68135,7 +68135,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_NETTLE_CFLAGS=`$PKG_CONFIG --cflags "nettle" 2>/dev/null` ++ pkg_cv_NETTLE_CFLAGS=`$PKG_CONFIG --cflags-only-other "nettle" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -68152,7 +68152,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_NETTLE_LIBS=`$PKG_CONFIG --libs "nettle" 2>/dev/null` ++ pkg_cv_NETTLE_LIBS=`$PKG_CONFIG --libs-only-l "nettle" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -68775,7 +68775,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBIDN2_CFLAGS=`$PKG_CONFIG --cflags "libidn2 >= 0.14.0" 2>/dev/null` ++ pkg_cv_LIBIDN2_CFLAGS=`$PKG_CONFIG --cflags-only-other "libidn2 >= 0.14.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -68792,7 +68792,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_LIBIDN2_LIBS=`$PKG_CONFIG --libs "libidn2 >= 0.14.0" 2>/dev/null` ++ pkg_cv_LIBIDN2_LIBS=`$PKG_CONFIG --libs-only-l "libidn2 >= 0.14.0" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -69382,7 +69382,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_PCRE2_CFLAGS=`$PKG_CONFIG --cflags "libpcre2-8" 2>/dev/null` ++ pkg_cv_PCRE2_CFLAGS=`$PKG_CONFIG --cflags-only-other "libpcre2-8" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -69399,7 +69399,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs "libpcre2-8" 2>/dev/null` ++ pkg_cv_PCRE2_LIBS=`$PKG_CONFIG --libs-only-l "libpcre2-8" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -70267,7 +70267,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_METALINK_CFLAGS=`$PKG_CONFIG --cflags "libmetalink" 2>/dev/null` ++ pkg_cv_METALINK_CFLAGS=`$PKG_CONFIG --cflags-only-other "libmetalink" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -70284,7 +70284,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_METALINK_LIBS=`$PKG_CONFIG --libs "libmetalink" 2>/dev/null` ++ pkg_cv_METALINK_LIBS=`$PKG_CONFIG --libs-only-l "libmetalink" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -70354,7 +70354,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_GPGME_CFLAGS=`$PKG_CONFIG --cflags "gpgme" 2>/dev/null` ++ pkg_cv_GPGME_CFLAGS=`$PKG_CONFIG --cflags-only-other "gpgme" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes +@@ -70371,7 +70371,7 @@ + ac_status=$? + printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_GPGME_LIBS=`$PKG_CONFIG --libs "gpgme" 2>/dev/null` ++ pkg_cv_GPGME_LIBS=`$PKG_CONFIG --libs-only-l "gpgme" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes + else + pkg_failed=yes