]> git.pld-linux.org Git - packages/R.git/blob - curl8.patch
icu rebuild
[packages/R.git] / curl8.patch
1 ------------------------------------------------------------------------
2 r84049 | ripley | 2023-03-25 10:01:30 +0100 (sob, 25 mar 2023) | 1 line
3
4 allow libcurl 8 as its API/ABI is said to be unchanged
5
6 Index: configure
7 ===================================================================
8 --- configure   (revision 84048)
9 +++ configure   (revision 84049)
10 @@ -51680,8 +51680,8 @@
11  done
12  
13  if test "x${have_libcurl}" = "xyes"; then
14 -{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is version 7 and >= 7.28.0" >&5
15 -printf %s "checking if libcurl is version 7 and >= 7.28.0... " >&6; }
16 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is >= 7.28.0" >&5
17 +printf %s "checking if libcurl is >= 7.28.0... " >&6; }
18  if test ${r_cv_have_curl728+y}
19  then :
20    printf %s "(cached) " >&6
21 @@ -51699,7 +51699,7 @@
22  {
23  #ifdef LIBCURL_VERSION_MAJOR
24  #if LIBCURL_VERSION_MAJOR > 7
25 -  exit(1);
26 +  exit(0);
27  #elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
28    exit(0);
29  #else
30 Index: m4/R.m4
31 ===================================================================
32 --- m4/R.m4     (revision 84048)
33 +++ m4/R.m4     (revision 84049)
34 @@ -4620,7 +4620,7 @@
35  AC_CHECK_HEADERS(curl/curl.h, [have_libcurl=yes], [have_libcurl=no])
36  
37  if test "x${have_libcurl}" = "xyes"; then
38 -AC_CACHE_CHECK([if libcurl is version 7 and >= 7.28.0], [r_cv_have_curl728],
39 +AC_CACHE_CHECK([if libcurl is >= 7.28.0], [r_cv_have_curl728],
40  [AC_RUN_IFELSE([AC_LANG_SOURCE([[
41  #include <stdlib.h>
42  #include <curl/curl.h>
43 @@ -4628,7 +4628,7 @@
44  {
45  #ifdef LIBCURL_VERSION_MAJOR
46  #if LIBCURL_VERSION_MAJOR > 7
47 -  exit(1);
48 +  exit(0);
49  #elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
50    exit(0);
51  #else
52
53 ------------------------------------------------------------------------
This page took 0.340745 seconds and 3 git commands to generate.