summaryrefslogtreecommitdiffhomepage
path: root/patches/curl-8.7.1_pre.local.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2024-04-09 00:11:35 +0200
committerØrjan Malde <red@foxi.me>2024-04-09 00:11:35 +0200
commited757c6c80b99571715ebd8ce49c6f5f934cbf59 (patch)
treecb1be1b47433ee6083881f3ef1244ccb0a68b538 /patches/curl-8.7.1_pre.local.patch
parent2665b8037a2b2d07fc7844bd5a5c732f0a183407 (diff)
downloadmidipix_build-ed757c6c80b99571715ebd8ce49c6f5f934cbf59.tar.bz2
midipix_build-ed757c6c80b99571715ebd8ce49c6f5f934cbf59.tar.xz
groups.d/241.native_packages_inet.group: curl: bump to v8.7.1
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/curl-8.7.1_pre.local.patch')
-rw-r--r--patches/curl-8.7.1_pre.local.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/patches/curl-8.7.1_pre.local.patch b/patches/curl-8.7.1_pre.local.patch
new file mode 100644
index 00000000..568e1bd8
--- /dev/null
+++ b/patches/curl-8.7.1_pre.local.patch
@@ -0,0 +1,56 @@
+diff -ru curl-8.7.1.orig/curl-config.in curl-8.7.1/curl-config.in
+--- curl-8.7.1.orig/curl-config.in 2024-03-06 22:16:03.000000000 +0100
++++ curl-8.7.1/curl-config.in 2024-04-09 00:07:35.445813553 +0200
+@@ -152,13 +152,13 @@
+ if test "X@includedir@" = "X/usr/include"; then
+ echo "$CPPFLAG_CURL_STATICLIB"
+ else
+- echo "${CPPFLAG_CURL_STATICLIB}-I@includedir@"
++ echo "$CPPFLAG_CURL_STATICLIB"
+ fi
+ ;;
+
+ --libs)
+ if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
+- CURLLIBDIR="-L@libdir@ "
++ CURLLIBDIR=""
+ else
+ CURLLIBDIR=""
+ fi
+diff -ru curl-8.7.1.orig/m4/curl-compilers.m4 curl-8.7.1/m4/curl-compilers.m4
+--- curl-8.7.1.orig/m4/curl-compilers.m4 2024-03-25 09:48:59.000000000 +0100
++++ curl-8.7.1/m4/curl-compilers.m4 2024-04-08 23:23:12.804956865 +0200
+@@ -41,33 +41,6 @@
+ flags_opt_off="unknown"
+ #
+ flags_prefer_cppflags="no"
+- #
+- CURL_CHECK_COMPILER_DEC_C
+- CURL_CHECK_COMPILER_HPUX_C
+- CURL_CHECK_COMPILER_IBM_C
+- CURL_CHECK_COMPILER_INTEL_C
+- CURL_CHECK_COMPILER_CLANG
+- CURL_CHECK_COMPILER_GNU_C
+- CURL_CHECK_COMPILER_SGI_MIPSPRO_C
+- CURL_CHECK_COMPILER_SGI_MIPS_C
+- CURL_CHECK_COMPILER_SUNPRO_C
+- CURL_CHECK_COMPILER_TINY_C
+- #
+- if test "$compiler_id" = "unknown"; then
+- cat <<_EOF 1>&2
+-***
+-*** Warning: This configure script does not have information about the
+-*** compiler you are using, relative to the flags required to enable or
+-*** disable generation of debug info, optimization options or warnings.
+-***
+-*** Whatever settings are present in CFLAGS will be used for this run.
+-***
+-*** If you wish to help the curl project to better support your compiler
+-*** you can report this and the required info on the libcurl development
+-*** mailing list: https://lists.haxx.selistinfo/curl-library/
+-***
+-_EOF
+- fi
+ ])
+
+