Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:43:25 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 73ce71d9616a - main - math/libRmath: Allow build with curl 8.0.0+
Message-ID:  <202304051743.335HhP8H010044@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73ce71d9616a830defac91ade52cee661069b02d

commit 73ce71d9616a830defac91ade52cee661069b02d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:26:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:31:58 +0000

    math/libRmath: Allow build with curl 8.0.0+
---
 math/libRmath/files/patch-curl | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304051743.335HhP8H010044>