From 4c60e3b3235bcc7f291760881f8b40660a518471 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 20 Mar 2023 06:36:29 +0000 Subject: gentoo auto-resync : 20:03:2023 - 06:36:29 --- dev-libs/apr/Manifest | 7 - dev-libs/apr/files/apr-1.5.0-cross-types.patch | 63 -------- dev-libs/apr/files/apr-1.5.0-libtool.patch | 17 --- dev-libs/apr/files/apr-1.5.0-sysroot.patch | 37 ----- dev-libs/apr/files/apr-1.7.0-CVE-2021-35940.patch | 53 ------- dev-libs/apr/files/apr-1.7.0-autoconf-2.70.patch | 64 -------- dev-libs/apr/files/apr-1.7.0-clang-16.patch | 174 ---------------------- dev-libs/apr/files/apr-1.7.0-dev-zero.patch | 34 ----- 8 files changed, 449 deletions(-) delete mode 100644 dev-libs/apr/files/apr-1.5.0-cross-types.patch delete mode 100644 dev-libs/apr/files/apr-1.5.0-libtool.patch delete mode 100644 dev-libs/apr/files/apr-1.5.0-sysroot.patch delete mode 100644 dev-libs/apr/files/apr-1.7.0-CVE-2021-35940.patch delete mode 100644 dev-libs/apr/files/apr-1.7.0-autoconf-2.70.patch delete mode 100644 dev-libs/apr/files/apr-1.7.0-clang-16.patch delete mode 100644 dev-libs/apr/files/apr-1.7.0-dev-zero.patch (limited to 'dev-libs/apr') diff --git a/dev-libs/apr/Manifest b/dev-libs/apr/Manifest index e8c538cb1a97..69f567d76898 100644 --- a/dev-libs/apr/Manifest +++ b/dev-libs/apr/Manifest @@ -1,12 +1,5 @@ -AUX apr-1.5.0-cross-types.patch 1969 BLAKE2B 1ded46da99aae4a225eef6c6c4e7ec8b27b61efb41a25176e620cec6c0be3ecb1b95eb0d93a446ca6940bec2bf53b4fa810fa28d49c7f655fa767a2c5366745c SHA512 8d91cff44c2926c5da120a3e7a4e54414c1e77cb1815d6683b490499914ca0934c3a1a1edb3dbd7dfd686e3342675ab64b0f498c21fe138befa6b454b5d5c1d8 -AUX apr-1.5.0-libtool.patch 514 BLAKE2B b9d33d1317293c7614a3f0f753e466c7f8acf0792ee5776c68ec9abcacc74d6c55fbd50a3996b06655635ff10e110fa2a8277eb343251dbf6229f8212f481e41 SHA512 e8c2a7a2b5c8171a0d2c8920e053bd861e4fb2044428cb3f6ffc9ccea05694c20b879411f86b967c4269918b5740b1450ecb0e720d74ea0fe9ac305f58ee88d5 AUX apr-1.5.0-mint.patch 872 BLAKE2B dda2941cbed87117a8a6c488bd8045894686aef0ba219ff489f67dd03b58fb07a05f9e67c54cdff330c65e579c41c992446a465104661bbacbb2525a5b9518eb SHA512 ba71f17ef9f61a8379139f05ca17eb583ad34cbc3ebf5c4f59d011662db6b5c963da5c466c093c3eb98372299d8f202d927a05b52cc7515270ac52fe44ec6daf -AUX apr-1.5.0-sysroot.patch 1309 BLAKE2B de3dc13a44a9d5071c249875322b7d6be9ed765176f8232b96a5e5088c5764dff8b810377b214999b59380522fdc9d0577217fe1acff5a7ab4b17461d6daf909 SHA512 48609c522225b47df96039174dafa043f77ce5b91f464b14250dd2b30590d6685c9baa03d4ca34937532c26afea8d208fb78158dfc8026a606ff90543b5c8d5d AUX apr-1.6.3-skip-known-failing-tests.patch 512 BLAKE2B 29607bce9a35853d824f8872557f361f3d5ffa0f2c7cd35e06cbf4d449e54f1b12978c0220b8ce4ae5d590ee9e04b5cd77af22876e3880deef115efbeb5a1dcc SHA512 ac097d28d5ae0b2437522da0578ff8bd049190d8df576e4e5298426f827b2bf69891e4f33bd1ffaf1a3c53143927e71f10d8362567121faa03cdf908d4fbc6c2 -AUX apr-1.7.0-CVE-2021-35940.patch 1749 BLAKE2B 256687934fd6b2af494198456d059f8a6edaaeb8b17f9186d0801bef489443faffefda3724d6c083f05811356c5168db31e5defbe19394699092090f7befdae6 SHA512 a2419817809dfd92a6d3b12e2067a802505d77d400fd47a4b9bb6fd5ae94c4be092e0d3b5894de429c6cc4a82d8133b801636bcab93d0f740c8f06a46516cd72 -AUX apr-1.7.0-autoconf-2.70.patch 1970 BLAKE2B b552e2bb1be932a692e2d1fad5124b5db9163e45b1bef1fe97082db28efd6f6079d75253e961ca257bd31f53f814bdb11a2c6554fd5d1925d26fe7b42664db42 SHA512 63a56be83f555a78f422f9ce7074e5c3a497a4996d32ead78d9e1a05fba2e0dbdfb135c34143676b8ad16e8276642843d5ed8b17a540be58c6bf7e9662896c2f -AUX apr-1.7.0-clang-16.patch 4341 BLAKE2B 3d8a7d0e62016c4fd7f1b851d06ef595f8ddbacc4af2e3142cc922c711c6b56b2b99158abdffa611e20407f53f95ef5dc6ffe24cca90457d6d381176e2ce27a0 SHA512 adef5a1bccb6ccd4627c7e8416168aec3e87cb071f3c313ac18f0d246c502d1fc8cc41196e2c49958c1c52d01ffc82758e12ece802cf19bc675813a8064c74f5 -AUX apr-1.7.0-dev-zero.patch 1314 BLAKE2B 22f334d721dccb71bfc3197c3b343d79f9fb33523558c0e46daad37b910aba066fd4b62e62a7875317ffa4db7dcc47004ee8bed245c7ba6fb90a67e18c1b8c6d SHA512 ad95469e7690efab945491156eb923eb95cc767bac1098b0a2ae7779cab5ea33875af23c47962cf49327cef91e02dbc3c8ecee9832978316a5c191dc20a7d07f AUX apr-1.7.2-fix-pkgconfig-libs.patch 963 BLAKE2B fb36bb31050286064e17c2a9c9f3d48ce9c0e42f8ee6cfcfa45ec79ad57670acf953f273d83419d3b053a38d9786600a240b8b082615e0e1fe7f15dcd2793e6c SHA512 0d8bb84b71f6f9f590afc15a48010383ef6b5b84b2b64fcbb9489adefa32137a1af7c0b7b216dd18f9c04b92492772f2d9f9564b9fbfbffc019bed8e43818cfe AUX apr-1.7.2-libtool.patch 517 BLAKE2B da77ee1d94bc2bd46d4ef97f18f018fbcc67cceb17162787f0e2f02e7ae205f80121166551a90b62e24d77c5f4313a2fa68b90dca713923b1a78e649bcca70da SHA512 4e09e88bd2d9e5f25a1edc52bdb632b0e73b28d971a9b0974bdcff9f8217ef2abe5c3ab3ef8a592e56c272bf928569e5a9be78bd3124afafb5954b6b8ee6d0eb AUX apr-1.7.2-respect-flags.patch 652 BLAKE2B e9cef7a8eff52a0d1799c261b377026849d8b65770a9e6b1d93f936d5d6533635827d6bdada9cbfdd8f274b191234d4b07ec7afa640383cac965562153c54164 SHA512 8305861c1196bbc5262bdc5d9fe87ef7d5d38d827d829455db2007036c70d749901bc3d2b63570528a70dfb3ff6171e78b54ceaea8c9646e4aa53c173440e70b diff --git a/dev-libs/apr/files/apr-1.5.0-cross-types.patch b/dev-libs/apr/files/apr-1.5.0-cross-types.patch deleted file mode 100644 index 266e5676817f..000000000000 --- a/dev-libs/apr/files/apr-1.5.0-cross-types.patch +++ /dev/null @@ -1,63 +0,0 @@ -use standard AC_CHECK_SIZEOF as it supports non-builtin types and -supports cross-compiling sanely - -https://issues.apache.org/bugzilla/show_bug.cgi?id=56053 - ---- a/configure.in -+++ b/configure.in -@@ -1684,7 +1684,7 @@ else - socklen_t_value="int" - fi - --APR_CHECK_SIZEOF_EXTENDED([#include ], pid_t, 8) -+AC_CHECK_SIZEOF(pid_t) - - if test "$ac_cv_sizeof_pid_t" = "$ac_cv_sizeof_short"; then - pid_t_fmt='#define APR_PID_T_FMT "hd"' -@@ -1753,7 +1753,7 @@ APR_CHECK_TYPES_COMPATIBLE(ssize_t, long, [ssize_t_fmt="ld"]) - APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned int, [size_t_fmt="u"]) - APR_CHECK_TYPES_COMPATIBLE(size_t, unsigned long, [size_t_fmt="lu"]) - --APR_CHECK_SIZEOF_EXTENDED([#include ], ssize_t, 8) -+AC_CHECK_SIZEOF(ssize_t) - - AC_MSG_CHECKING([which format to use for apr_ssize_t]) - if test -n "$ssize_t_fmt"; then -@@ -1770,7 +1770,7 @@ fi - - ssize_t_fmt="#define APR_SSIZE_T_FMT \"$ssize_t_fmt\"" - --APR_CHECK_SIZEOF_EXTENDED([#include ], size_t, 8) -+AC_CHECK_SIZEOF(size_t) - - AC_MSG_CHECKING([which format to use for apr_size_t]) - if test -n "$size_t_fmt"; then -@@ -1787,7 +1787,7 @@ fi - - size_t_fmt="#define APR_SIZE_T_FMT \"$size_t_fmt\"" - --APR_CHECK_SIZEOF_EXTENDED([#include ], off_t, 8) -+AC_CHECK_SIZEOF(off_t) - - if test "${ac_cv_sizeof_off_t}${apr_cv_use_lfs64}" = "4yes"; then - # Enable LFS -@@ -1866,7 +1866,7 @@ case $host in - ;; - *) - ino_t_value=ino_t -- APR_CHECK_SIZEOF_EXTENDED(AC_INCLUDES_DEFAULT, ino_t, $ac_cv_sizeof_long) -+ AC_CHECK_SIZEOF(ino_t) - if test $ac_cv_sizeof_ino_t = 4; then - if test $ac_cv_sizeof_long = 4; then - ino_t_value="unsigned long" -@@ -1886,8 +1886,8 @@ else - bigendian=0 - fi - --APR_CHECK_SIZEOF_EXTENDED([#include --#include ],struct iovec,0) -+AC_CHECK_SIZEOF(struct iovec,,[AC_INCLUDES_DEFAULT -+#include ]) - if test "$ac_cv_sizeof_struct_iovec" = "0"; then - have_iovec=0 - else diff --git a/dev-libs/apr/files/apr-1.5.0-libtool.patch b/dev-libs/apr/files/apr-1.5.0-libtool.patch deleted file mode 100644 index 5368a2689bdf..000000000000 --- a/dev-libs/apr/files/apr-1.5.0-libtool.patch +++ /dev/null @@ -1,17 +0,0 @@ -generate a local copy of libtool for use in compiling - -https://bugs.gentoo.org/374355 - ---- a/configure.in -+++ b/configure.in -@@ -260,9 +260,7 @@ case $host in - fi - else - dnl libtoolize requires that the following not be indented -- dnl should become LT_INIT(win32-dll) --AC_LIBTOOL_WIN32_DLL --AC_PROG_LIBTOOL -+LT_INIT(win32-dll) - # get libtool's setting of shlibpath_var - eval `grep "^shlibpath_var=[[A-Z_]]*$" $apr_builddir/libtool` - if test "x$shlibpath_var" = "x"; then diff --git a/dev-libs/apr/files/apr-1.5.0-sysroot.patch b/dev-libs/apr/files/apr-1.5.0-sysroot.patch deleted file mode 100644 index 54c9d649ef07..000000000000 --- a/dev-libs/apr/files/apr-1.5.0-sysroot.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://bugs.gentoo.org/385775 - -utilize $SYSROOT to find the right includedir tree - -drop the -L/-R paths since we know our libdir is the standard path which -the compiler already knows how to locate - ---- a/apr-config.in -+++ b/apr-config.in -@@ -28,7 +28,7 @@ libdir="@libdir@" - datarootdir="@datadir@" - datadir="@datadir@" --installbuilddir="@installbuilddir@" --includedir="@includedir@" -+installbuilddir="${SYSROOT}@installbuilddir@" -+includedir="${SYSROOT}@includedir@" - - CC="@CC@" - CPP="@CPP@" -@@ -183,7 +183,7 @@ while test $# -gt 0; do - --link-ld) - if test "$location" = "installed"; then - ### avoid using -L if libdir is a "standard" location like /usr/lib -- flags="$flags -L$libdir -l${APR_LIBNAME}" -+ flags="$flags -l${APR_LIBNAME}" - else - ### this surely can't work since the library is in .libs? - flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}" -@@ -200,7 +200,7 @@ while test $# -gt 0; do - ### avoid using -L if libdir is a "standard" location like /usr/lib - # Since the user is specifying they are linking with libtool, we - # *know* that -R will be recognized by libtool. -- flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}" -+ flags="$flags -l${APR_LIBNAME}" - else - flags="$flags $LA_FILE" - fi diff --git a/dev-libs/apr/files/apr-1.7.0-CVE-2021-35940.patch b/dev-libs/apr/files/apr-1.7.0-CVE-2021-35940.patch deleted file mode 100644 index f23d729f523e..000000000000 --- a/dev-libs/apr/files/apr-1.7.0-CVE-2021-35940.patch +++ /dev/null @@ -1,53 +0,0 @@ - -SECURITY: CVE-2021-35940 (cve.mitre.org) - -Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though -was addressed in 1.6.x in 1.6.3 and later via r1807976. - -The fix was merged back to 1.7.x in r1891198. - -Since this was a regression in 1.7.0, a new CVE name has been assigned -to track this, CVE-2021-35940. - -Thanks to Iveta Cesalova for reporting this issue. - -https://svn.apache.org/viewvc?view=revision&revision=1891198 - -Index: time/unix/time.c -=================================================================== ---- a/time/unix/time.c (revision 1891197) -+++ b/time/unix/time.c (revision 1891198) -@@ -142,6 +142,9 @@ - static const int dayoffset[12] = - {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; - -+ if (xt->tm_mon < 0 || xt->tm_mon >= 12) -+ return APR_EBADDATE; -+ - /* shift new year to 1st March in order to make leap year calc easy */ - - if (xt->tm_mon < 2) -Index: time/win32/time.c -=================================================================== ---- a/time/win32/time.c (revision 1891197) -+++ b/time/win32/time.c (revision 1891198) -@@ -54,6 +54,9 @@ - static const int dayoffset[12] = - {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; - -+ if (tm->wMonth < 1 || tm->wMonth > 12) -+ return APR_EBADDATE; -+ - /* Note; the caller is responsible for filling in detailed tm_usec, - * tm_gmtoff and tm_isdst data when applicable. - */ -@@ -228,6 +231,9 @@ - static const int dayoffset[12] = - {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; - -+ if (xt->tm_mon < 0 || xt->tm_mon >= 12) -+ return APR_EBADDATE; -+ - /* shift new year to 1st March in order to make leap year calc easy */ - - if (xt->tm_mon < 2) diff --git a/dev-libs/apr/files/apr-1.7.0-autoconf-2.70.patch b/dev-libs/apr/files/apr-1.7.0-autoconf-2.70.patch deleted file mode 100644 index 488c3c59321d..000000000000 --- a/dev-libs/apr/files/apr-1.7.0-autoconf-2.70.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 5593f23e8e062da108ed585535e7281b87346ee1 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Wed, 25 Nov 2020 09:36:25 +0000 -Subject: [PATCH] build/apr_common.m4: avoid explicit inclusion of - '"confdefs.h"' - -The failure is observed on `autoconf-2.69d` (soon to be released -as `autoconf-2.70`). There `int64_t` detection fails as: - -``` -$ autoreconf && ./configure -... -checking whether int64_t and int use fmt %d... no -checking whether int64_t and long use fmt %ld... no -checking whether int64_t and long long use fmt %lld... no -configure: error: could not determine the string function for int64_t -``` - -This happens because `./configure` always stumbles on warning: - -``` -configure:3350: gcc -c -g -O2 -Werror conftest.c >&5 -In file included from conftest.c:31: -confdefs.h:22: error: "__STDC_WANT_IEC_60559_ATTRIBS_EXT__" redefined [-Werror] - 22 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 - | -``` - -It's triggered by double inclusion of `"confdefs.h"` contents: -explicitly in `APR_TRY_COMPILE_NO_WARNING` macro and implicitly -via `AC_LANG_SOURCE` use. - -To fix it and avoid having to define `main()` declaration the change -uses `AC_LANG_PROGRAM` instead. - -Tested on both `autoconf-2.69` and `autoconf-2.69d`. - -Bug: https://bugs.gentoo.org/738156 -Bug: https://bugs.gentoo.org/750353 -Signed-off-by: Sergei Trofimovich ---- - build/apr_common.m4 | 8 ++------ - 1 file changed, 2 insertions(+), 6 deletions(-) - -diff --git a/build/apr_common.m4 b/build/apr_common.m4 -index f4e2dfd0a7..6f5782e674 100644 ---- a/build/apr_common.m4 -+++ b/build/apr_common.m4 -@@ -504,13 +504,9 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING], - CFLAGS="$CFLAGS -Werror" - fi - AC_COMPILE_IFELSE( -- [AC_LANG_SOURCE( -- [#include "confdefs.h" -- ] -- [[$1]] -- [int main(int argc, const char *const *argv) {] -+ [AC_LANG_PROGRAM( -+ [[$1]], - [[$2]] -- [ return 0; }] - )], [CFLAGS=$apr_save_CFLAGS - $3], [CFLAGS=$apr_save_CFLAGS - $4]) diff --git a/dev-libs/apr/files/apr-1.7.0-clang-16.patch b/dev-libs/apr/files/apr-1.7.0-clang-16.patch deleted file mode 100644 index 2244b07a14ff..000000000000 --- a/dev-libs/apr/files/apr-1.7.0-clang-16.patch +++ /dev/null @@ -1,174 +0,0 @@ -https://bugs.gentoo.org/870004 - -Fixed upstream, hopefully (it's hard to keep track of 1.7.x branch churn): -- https://bz.apache.org/bugzilla/show_bug.cgi?id=64753 -- https://bz.apache.org/bugzilla/show_bug.cgi?id=65087 ---- a/build/apr_common.m4 -+++ b/build/apr_common.m4 -@@ -467,6 +467,7 @@ changequote([, ])dnl - AC_MSG_CHECKING(size of $2) - AC_CACHE_VAL(AC_CV_NAME, - [AC_TRY_RUN([#include -+#include - $1 - #ifdef WIN32 - #define binmode "b" -@@ -531,7 +532,8 @@ AC_TRY_RUN([ - #include - #include - #include --main() -+#include -+int main() - { - char buf[1024]; - if (strerror_r(ERANGE, buf, sizeof buf) < 1) { ---- a/build/apr_network.m4 -+++ b/build/apr_network.m4 -@@ -63,6 +63,10 @@ AC_DEFUN([APR_CHECK_WORKING_GETADDRINFO], [ - #ifdef HAVE_SYS_SOCKET_H - #include - #endif -+#include -+ -+#include -+#include - - int main(void) { - struct addrinfo hints, *ai; -@@ -136,6 +140,11 @@ dnl - AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO], [ - AC_CACHE_CHECK(for working getnameinfo, ac_cv_working_getnameinfo,[ - AC_TRY_RUN( [ -+#include -+#include -+#include -+#include -+ - #ifdef HAVE_NETDB_H - #include - #endif -@@ -195,6 +204,8 @@ AC_DEFUN([APR_CHECK_NEGATIVE_EAI], [ - #include - #endif - -+#include -+ - int main(void) { - if (EAI_ADDRFAMILY < 0) { - exit(0); -@@ -388,9 +399,14 @@ AC_DEFUN([APR_CHECK_TCP_NODELAY_INHERITED], [ - AC_CACHE_CHECK(if TCP_NODELAY setting is inherited from listening sockets, ac_cv_tcp_nodelay_inherited,[ - AC_TRY_RUN( [ - #include -+#include -+ - #ifdef HAVE_SYS_TYPES_H - #include --#endif -+#end -+#ifdef HAVE_STRING_H -+#include -+#endifif - #ifdef HAVE_SYS_SOCKET_H - #include - #endif -@@ -734,6 +750,9 @@ AC_TRY_COMPILE([ - #ifdef HAVE_ARPA_INET_H - #include - #endif -+ -+#include -+#include - ],[ - inet_addr("127.0.0.1"); - ],[ -@@ -754,6 +773,9 @@ fi - AC_DEFUN([APR_CHECK_INET_NETWORK], [ - AC_CACHE_CHECK(for inet_network, ac_cv_func_inet_network,[ - AC_TRY_COMPILE([ -+#include -+#include -+ - #ifdef HAVE_SYS_TYPES_H - #include - #endif ---- a/configure.in -+++ b/configure.in -@@ -1440,8 +1440,6 @@ AC_CHECK_FUNCS(sigaction, [ have_sigaction="1" ], [ have_sigaction="0" ]) - AC_DECL_SYS_SIGLIST - - AC_CHECK_FUNCS(fork, [ fork="1" ], [ fork="0" ]) --APR_CHECK_INET_ADDR --APR_CHECK_INET_NETWORK - AC_SUBST(apr_inaddr_none) - AC_CHECK_FUNC(_getch) - AC_CHECK_FUNCS(strerror_r, [ strerror_r="1" ], [ strerror_r="0" ]) -@@ -1547,6 +1545,9 @@ APR_FLAG_HEADERS( - sys/un.h \ - sys/wait.h) - -+APR_CHECK_INET_ADDR -+APR_CHECK_INET_NETWORK -+ - # IRIX 6.5 has a problem in which prevents it from - # being included by itself. Check for manually, - # including another header file first. -@@ -2208,7 +2209,8 @@ AC_TRY_RUN([ - #include - #include - #include --main() -+#include -+int main() - { - struct rlimit limit; - limit.rlim_cur = 0; -@@ -2247,7 +2249,7 @@ AC_TRY_RUN([ - #ifndef SEM_FAILED - #define SEM_FAILED (-1) - #endif --main() -+int main() - { - sem_t *psem; - const char *sem_name = "/apr_autoconf"; -@@ -2307,6 +2309,7 @@ if test "$threads" = "1"; then - AC_TRY_RUN([ - #include - #include -+#include - int main() - { - pthread_mutex_t mutex; -@@ -2435,6 +2438,8 @@ int fd; - struct flock proc_mutex_lock_it = {0}; - const char *fname = "conftest.fcntl"; - -+int lockit(); -+ - int main() - { - int rc, status;; ---- a/poll/os2/pollset.c -+++ b/poll/os2/pollset.c -@@ -308,7 +308,7 @@ APR_DECLARE(apr_status_t) apr_pollset_wakeup(apr_pollset_t *pollset) - - - --APR_DECLARE(const char *) apr_poll_method_defname() -+APR_DECLARE(const char *) apr_poll_method_defname(void) - { - return "select"; - } ---- a/poll/unix/pollset.c -+++ b/poll/unix/pollset.c -@@ -188,7 +188,7 @@ APR_DECLARE(const char *) apr_pollset_method_name(apr_pollset_t *pollset) - return pollset->provider->name; - } - --APR_DECLARE(const char *) apr_poll_method_defname() -+APR_DECLARE(const char *) apr_poll_method_defname(void) - { - const apr_pollset_provider_t *provider = NULL; - diff --git a/dev-libs/apr/files/apr-1.7.0-dev-zero.patch b/dev-libs/apr/files/apr-1.7.0-dev-zero.patch deleted file mode 100644 index be6433dd46bc..000000000000 --- a/dev-libs/apr/files/apr-1.7.0-dev-zero.patch +++ /dev/null @@ -1,34 +0,0 @@ -APR (ab)uses AC_TRY_RUN to determine if: - -* We have /dev/zero -* We can mmap /dev/zero - -The APR ebuild sets ac_cv_file__dev_zero=yes when cross compiling -to fill in an answer for the first question, but the configure script -immediately defeats that when answering the second. - -AC_TRY_FUN takes four arguments: the test, and what happens on success, -failure, and cross-compiling. The APR script uses this as a "gate" to -clear ac_cv_file__dev_zero when /dev/zero exists but it turns out not -to be useable. They take a pessimistic approach: if you can't "prove" -it is mmap-able, clear the flag. - -This patch changes that to leave the flag alone while cross compiling; -just assume /dev/zero is mmap-able. It relies on ac_cv_file__dev_zero -to be correctly set for the target. The fourth parameter is changed to -[:] and not [] because [] engages autoconf's default cross-compiling -behavior, which raises an error. - -Signed-off-by: Alexandra Parker - ---- a/configure.in 2022-01-09 00:31:05.552582255 -0800 -+++ b/configure.in 2022-01-09 00:31:19.824582533 -0800 -@@ -1203,7 +1203,7 @@ - return 3; - } - return 0; -- }], [], [ac_cv_file__dev_zero=no], [ac_cv_file__dev_zero=no]) -+ }], [], [ac_cv_file__dev_zero=no], [:]) - - AC_MSG_RESULT($ac_cv_file__dev_zero) - fi -- cgit v1.2.3