diff options
author | Ørjan Malde <red@foxi.me> | 2025-05-25 12:09:33 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2025-05-25 12:10:09 +0200 |
commit | b86baa91d62048d51496b18edf52dbad729549b0 (patch) | |
tree | e885ca9a2d047fef3981de3aaa2d42078d78c1d0 /patches | |
parent | 3b0e0e6b8bde4e1f8ebe0bcacc458ae2141989ce (diff) | |
download | midipix_build-b86baa91d62048d51496b18edf52dbad729549b0.tar.bz2 midipix_build-b86baa91d62048d51496b18edf52dbad729549b0.tar.xz |
groups.d/241.native_packages_inet.d/curl.package: bump to v8.13.0
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r-- | patches/curl-8.13.0.local.patch (renamed from patches/curl-8.7.1.local.patch) | 0 | ||||
-rw-r--r-- | patches/curl-8.13.0_pre.local.patch | 162 | ||||
-rw-r--r-- | patches/curl-8.7.1_pre.local.patch | 56 |
3 files changed, 162 insertions, 56 deletions
diff --git a/patches/curl-8.7.1.local.patch b/patches/curl-8.13.0.local.patch index 87364a70..87364a70 100644 --- a/patches/curl-8.7.1.local.patch +++ b/patches/curl-8.13.0.local.patch diff --git a/patches/curl-8.13.0_pre.local.patch b/patches/curl-8.13.0_pre.local.patch new file mode 100644 index 00000000..de25df0a --- /dev/null +++ b/patches/curl-8.13.0_pre.local.patch @@ -0,0 +1,162 @@ +diff -ru curl-8.13.0.orig/configure.ac curl-8.13.0/configure.ac +--- curl-8.13.0.orig/configure.ac 2025-04-02 07:47:41.000000000 +0200 ++++ curl-8.13.0/configure.ac 2025-05-25 11:53:42.607216472 +0200 +@@ -4078,7 +4078,6 @@ + CURL_CHECK_FUNC_ALARM + CURL_CHECK_FUNC_BASENAME + CURL_CHECK_FUNC_CLOSESOCKET +-CURL_CHECK_FUNC_CLOSESOCKET_CAMEL + CURL_CHECK_FUNC_FCNTL + CURL_CHECK_FUNC_FREEADDRINFO + CURL_CHECK_FUNC_FSETXATTR +@@ -4092,7 +4091,6 @@ + CURL_CHECK_FUNC_GMTIME_R + CURL_CHECK_FUNC_IOCTL + CURL_CHECK_FUNC_IOCTLSOCKET +-CURL_CHECK_FUNC_IOCTLSOCKET_CAMEL + CURL_CHECK_FUNC_MEMRCHR + CURL_CHECK_FUNC_SIGACTION + CURL_CHECK_FUNC_SIGINTERRUPT +diff -ru curl-8.13.0.orig/curl-config.in curl-8.13.0/curl-config.in +--- curl-8.13.0.orig/curl-config.in 2025-04-02 07:47:41.000000000 +0200 ++++ curl-8.13.0/curl-config.in 2025-05-25 11:40:06.110600368 +0200 +@@ -144,13 +144,13 @@ + if test "X@includedir@" = 'X/usr/include'; then + echo '@LIBCURL_PC_CFLAGS@' + else +- echo "@LIBCURL_PC_CFLAGS@ -I@includedir@" ++ echo "@LIBCURL_PC_CFLAGS@" + 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.13.0.orig/m4/curl-compilers.m4 curl-8.13.0/m4/curl-compilers.m4 +--- curl-8.13.0.orig/m4/curl-compilers.m4 2025-04-02 07:47:41.000000000 +0200 ++++ curl-8.13.0/m4/curl-compilers.m4 2025-05-25 12:02:19.604559677 +0200 +@@ -42,37 +42,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 +- case $host in +- mips-sgi-irix*) +- CURL_CHECK_COMPILER_SGI_MIPSPRO_C +- CURL_CHECK_COMPILER_SGI_MIPS_C +- ;; +- esac +- 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 + ]) + + +@@ -1419,15 +1388,13 @@ + tmp_CFLAGS="-fvisibility=hidden" + supports_symbol_hiding="yes" + ;; +- GNU_C) ++ *) + dnl Only gcc 3.4 or later +- if test "$compiler_num" -ge "304"; then + if $CC --help --verbose 2>/dev/null | grep fvisibility= >/dev/null ; then + tmp_EXTERN="__attribute__((__visibility__(\"default\")))" + tmp_CFLAGS="-fvisibility=hidden" + supports_symbol_hiding="yes" + fi +- fi + ;; + INTEL_UNIX_C) + dnl Only icc 9.0 or later +diff -ru curl-8.13.0.orig/m4/curl-functions.m4 curl-8.13.0/m4/curl-functions.m4 +--- curl-8.13.0.orig/m4/curl-functions.m4 2025-04-02 07:47:41.000000000 +0200 ++++ curl-8.13.0/m4/curl-functions.m4 2025-05-25 11:40:06.111107814 +0200 +@@ -709,62 +709,6 @@ + ]) + + +-dnl CURL_CHECK_FUNC_CLOSESOCKET_CAMEL +-dnl ------------------------------------------------- +-dnl Verify if CloseSocket is available, prototyped, and +-dnl can be compiled. If all of these are true, and +-dnl usage has not been previously disallowed with +-dnl shell variable curl_disallow_closesocket_camel, +-dnl then HAVE_CLOSESOCKET_CAMEL will be defined. +- +-AC_DEFUN([CURL_CHECK_FUNC_CLOSESOCKET_CAMEL], [ +- AC_REQUIRE([CURL_INCLUDES_SYS_SOCKET])dnl +- AC_REQUIRE([CURL_INCLUDES_BSDSOCKET])dnl +- # +- tst_compi_closesocket_camel="unknown" +- tst_allow_closesocket_camel="unknown" +- # +- AC_MSG_CHECKING([if CloseSocket is compilable]) +- AC_COMPILE_IFELSE([ +- AC_LANG_PROGRAM([[ +- $curl_includes_bsdsocket +- $curl_includes_sys_socket +- ]],[[ +- if(0 != CloseSocket(0)) +- return 1; +- ]]) +- ],[ +- AC_MSG_RESULT([yes]) +- tst_compi_closesocket_camel="yes" +- ],[ +- AC_MSG_RESULT([no]) +- tst_compi_closesocket_camel="no" +- ]) +- # +- if test "$tst_compi_closesocket_camel" = "yes"; then +- AC_MSG_CHECKING([if CloseSocket usage allowed]) +- if test "x$curl_disallow_closesocket_camel" != "xyes"; then +- AC_MSG_RESULT([yes]) +- tst_allow_closesocket_camel="yes" +- else +- AC_MSG_RESULT([no]) +- tst_allow_closesocket_camel="no" +- fi +- fi +- # +- AC_MSG_CHECKING([if CloseSocket might be used]) +- if test "$tst_compi_closesocket_camel" = "yes" && +- test "$tst_allow_closesocket_camel" = "yes"; then +- AC_MSG_RESULT([yes]) +- AC_DEFINE_UNQUOTED(HAVE_CLOSESOCKET_CAMEL, 1, +- [Define to 1 if you have the CloseSocket camel case function.]) +- curl_cv_func_closesocket_camel="yes" +- else +- AC_MSG_RESULT([no]) +- curl_cv_func_closesocket_camel="no" +- fi +-]) +- + dnl CURL_CHECK_FUNC_FCNTL + dnl ------------------------------------------------- + dnl Verify if fcntl is available, prototyped, and diff --git a/patches/curl-8.7.1_pre.local.patch b/patches/curl-8.7.1_pre.local.patch deleted file mode 100644 index 568e1bd8..00000000 --- a/patches/curl-8.7.1_pre.local.patch +++ /dev/null @@ -1,56 +0,0 @@ -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 - ]) - - |