diff --git a/math/libRmath/files/patch-curl b/math/libRmath/files/patch-curl new file mode 100644 index 000000000000..aa271203410e --- /dev/null +++ b/math/libRmath/files/patch-curl @@ -0,0 +1,22 @@ +--- configure.orig 2022-10-23 22:16:12 UTC ++++ configure +@@ -47584,8 +47584,8 @@ fi + done + + if test "x${have_libcurl}" = "xyes"; then +-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is version 7 and >= 7.28.0" >&5 +-printf %s "checking if libcurl is version 7 and >= 7.28.0... " >&6; } ++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is >= 7.28.0" >&5 ++printf %s "checking if libcurl is >= 7.28.0... " >&6; } + if test ${r_cv_have_curl728+y} + then : + printf %s "(cached) " >&6 +@@ -47603,7 +47603,7 @@ int main() + { + #ifdef LIBCURL_VERSION_MAJOR + #if LIBCURL_VERSION_MAJOR > 7 +- exit(1); ++ exit(0); + #elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28 + exit(0); + #else