Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9bdc7552
Commit
9bdc7552
authored
Jul 08, 2022
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python/build/libs.py: update CURL to 7.84.0
parent
2f6ceb49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
libs.py
python/build/libs.py
+2
-2
no_CMAKE_C_IMPLICIT_LINK_LIBRARIES.patch
...lib/curl/patches/no_CMAKE_C_IMPLICIT_LINK_LIBRARIES.patch
+6
-4
no_netrc.patch
src/lib/curl/patches/no_netrc.patch
+9
-9
No files found.
python/build/libs.py
View file @
9bdc7552
...
@@ -388,8 +388,8 @@ openssl = OpenSSLProject(
...
@@ -388,8 +388,8 @@ openssl = OpenSSLProject(
)
)
curl
=
CmakeProject
(
curl
=
CmakeProject
(
'https://curl.se/download/curl-7.8
3.1
.tar.xz'
,
'https://curl.se/download/curl-7.8
4.0
.tar.xz'
,
'2
cb9c2356e7263a1272fd1435ef7cdebf2cd21400ec287b068396deb705c22c4
'
,
'2
d118b43f547bfe5bae806d8d47b4e596ea5b25a6c1f080aef49fbcd817c5db8
'
,
'lib/libcurl.a'
,
'lib/libcurl.a'
,
[
[
'-DBUILD_CURL_EXE=OFF'
,
'-DBUILD_CURL_EXE=OFF'
,
...
...
src/lib/curl/patches/no_CMAKE_C_IMPLICIT_LINK_LIBRARIES.patch
View file @
9bdc7552
--- curl-7.75.0.orig/CMakeLists.txt 2021-02-02 09:26:24.000000000 +0100
Index: curl-7.84.0/CMakeLists.txt
+++ curl-7.75.0/CMakeLists.txt 2021-03-25 20:17:25.445684029 +0100
===================================================================
@@ -1453,7 +1453,7 @@
--- curl-7.84.0.orig/CMakeLists.txt
+++ curl-7.84.0/CMakeLists.txt
@@ -1536,7 +1536,7 @@ set(includedir "\${prefix}/
set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
set(LIBCURL_LIBS "")
set(LIBCURL_LIBS "")
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
...
@@ -8,4 +10,4 @@
...
@@ -8,4 +10,4 @@
+foreach(_lib ${CURL_LIBS})
+foreach(_lib ${CURL_LIBS})
if(TARGET "${_lib}")
if(TARGET "${_lib}")
set(_libname "${_lib}")
set(_libname "${_lib}")
get_target_property(_
libtype "${_libname}" TYPE
)
get_target_property(_
imported "${_libname}" IMPORTED
)
src/lib/curl/patches/no_netrc.patch
View file @
9bdc7552
Index: curl-7.
71.1
/lib/url.c
Index: curl-7.
84.0
/lib/url.c
===================================================================
===================================================================
--- curl-7.71.1.orig/lib/url.c
--- curl-7.84.0.orig/lib/url.c
+++ curl-7.71.1/lib/url.c
+++ curl-7.84.0/lib/url.c
@@ -2871,6 +2871,7 @@
@@ -3003,6 +3003,7 @@ static CURLcode override_login(struct Cu
}
#ifndef CURL_DISABLE_NETRC
conn->bits.netrc = FALSE;
conn->bits.netrc = FALSE;
+#ifndef __BIONIC__
+#ifndef __BIONIC__
if(data->set.use_netrc && !data->set.str[STRING_USERNAME]) {
if(data->set.use_netrc && !data->set.str[STRING_USERNAME]) {
bool netrc_user_changed = FALSE;
bool netrc_user_changed = FALSE;
bool netrc_passwd_changed = FALSE;
bool netrc_passwd_changed = FALSE;
@@ -
2895,6 +2896,7 @@
@@ -
3079,6 +3080,7 @@ static CURLcode override_login(struct Cu
conn->bits.user_passwd = TRUE; /* enable user+password */
return CURLE_OUT_OF_MEMORY;
}
}
}
}
+#endif
+#endif
/* for updated strings, we update them in the URL */
return CURLE_OK;
if(*userp) {
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment