Projects
openEuler:24.03
R-language
_service:tar_scm:allow-libcurl-v8.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:allow-libcurl-v8.patch of Package R-language
From da6638896413bcbb5970b2335b92582853f94e3c Mon Sep 17 00:00:00 2001 From: ripley <ripley@00db46b3-68df-0310-9c12-caf00c1e9a41> Date: Sat, 25 Mar 2023 09:01:30 +0000 Subject: [PATCH] allow libcurl 8 as its API/ABI is said to be unchanged git-svn-id: https://svn.r-project.org/R/trunk@84049 00db46b3-68df-0310-9c12-caf00c1e9a41 --- configure | 6 +++--- m4/R.m4 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 68c9df1..f6f4db6 100755 --- a/configure +++ b/configure @@ -46163,8 +46163,8 @@ done if test "x${have_libcurl}" = "xyes"; then -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libcurl is version 7 and >= 7.28.0" >&5 -$as_echo_n "checking if libcurl is version 7 and >= 7.28.0... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libcurl is and >= 7.28.0" >&5 +$as_echo_n "checking if libcurl is and >= 7.28.0... " >&6; } if ${r_cv_have_curl728+:} false; then : $as_echo_n "(cached) " >&6 else @@ -46180,7 +46180,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 diff --git a/m4/R.m4 b/m4/R.m4 index 03dea8d..7d97a88 100644 --- a/m4/R.m4 +++ b/m4/R.m4 @@ -4267,7 +4267,7 @@ LIBS="${CURL_LIBS} ${LIBS}" AC_CHECK_HEADERS(curl/curl.h, [have_libcurl=yes], [have_libcurl=no]) if test "x${have_libcurl}" = "xyes"; then -AC_CACHE_CHECK([if libcurl is version 7 and >= 7.28.0], [r_cv_have_curl728], +AC_CACHE_CHECK([if libcurl is >= 7.28.0], [r_cv_have_curl728], [AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <stdlib.h> #include <curl/curl.h> @@ -4275,7 +4275,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 -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2