public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: - make curl-config multilib ready again (#584107)
@ 2026-11-02 14:26 Kamil Dudka
0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-02 14:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.21.0-9
Commit : c3d8d1c18b95a5f1d46a57ff9badbbdfd23a2a56
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date : 2010-04-21T19:09:46+00:00
Stats : +67/-49 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/c3d8d1c18b95a5f1d46a57ff9badbbdfd23a2a56?branch=curl-v8.21.0-9
Log:
- make curl-config multilib ready again (#584107)
---
diff --git a/curl-7.15.3-multilib.patch b/curl-7.15.3-multilib.patch
deleted file mode 100644
index 072a5ef..0000000
--- a/curl-7.15.3-multilib.patch
+++ /dev/null
@@ -1,46 +0,0 @@
- curl-config.in | 18 ++----------------
- 1 files changed, 2 insertions(+), 16 deletions(-)
-
-diff --git a/curl-config.in b/curl-config.in
-index ebda129..b404827 100644
---- a/curl-config.in
-+++ b/curl-config.in
-@@ -42,7 +42,6 @@ Available values for OPTION include:
- --libs library linking information
- --prefix curl install prefix
- --protocols newline separated list of enabled protocols
-- --static-libs static libcurl library linking information
- --version output version information
- --vernum output the version information as a number (hexadecimal)
- EOF
-@@ -69,7 +68,7 @@ while test $# -gt 0; do
- ;;
-
- --cc)
-- echo "@CC@"
-+ echo "gcc"
- ;;
-
- --prefix)
-@@ -130,20 +129,7 @@ while test $# -gt 0; do
- ;;
-
- --libs)
-- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
-- CURLLIBDIR="-L@libdir@ "
-- else
-- CURLLIBDIR=""
-- fi
-- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
-- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
-- else
-- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
-- fi
-- ;;
--
-- --static-libs)
-- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
-+ pkg-config libcurl --libs
- ;;
-
- --configure)
diff --git a/curl-7.20.0-multilib.patch b/curl-7.20.0-multilib.patch
new file mode 100644
index 0000000..21d0797
--- /dev/null
+++ b/curl-7.20.0-multilib.patch
@@ -0,0 +1,63 @@
+ curl-config.in | 18 ++----------------
+ 1 files changed, 2 insertions(+), 16 deletions(-)
+
+diff --git a/curl-config.in b/curl-config.in
+index ebda129..b404827 100644
+--- a/curl-config.in
++++ b/curl-config.in
+@@ -42,7 +42,6 @@ Available values for OPTION include:
+ --libs library linking information
+ --prefix curl install prefix
+ --protocols newline separated list of enabled protocols
+- --static-libs static libcurl library linking information
+ --version output version information
+ --vernum output the version information as a number (hexadecimal)
+ EOF
+@@ -69,7 +68,7 @@ while test $# -gt 0; do
+ ;;
+
+ --cc)
+- echo "@CC@"
++ echo "gcc"
+ ;;
+
+ --prefix)
+@@ -130,25 +129,12 @@ while test $# -gt 0; do
+ ;;
+
+ --libs)
+- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
+- CURLLIBDIR="-L@libdir@ "
+- else
+- CURLLIBDIR=""
+- fi
+- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
+- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
+- else
+- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
+- fi
+- ;;
+-
+- --static-libs)
+- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
++ pkg-config libcurl --libs
+ ;;
+
+ --configure)
+- echo @CONFIGURE_OPTIONS@
+- ;;
++ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
++ ;;
+
+ *)
+ echo "unknown option: $1"
+--- a/libcurl.pc.in
++++ b/libcurl.pc.in
+@@ -29,6 +29,7 @@ libdir=@libdir@
+ includedir=@includedir@
+ supported_protocols="@SUPPORT_PROTOCOLS@"
+ supported_features="@SUPPORT_FEATURES@"
++configure_options=@CONFIGURE_OPTIONS@
+
+ Name: libcurl
+ URL: http://curl.haxx.se/
diff --git a/curl.spec b/curl.spec
index a049d47..8a54b3c 100644
--- a/curl.spec
+++ b/curl.spec
@@ -13,8 +13,8 @@ Patch0: curl-7.20.0-e32fe30.patch
# experimentally enabled threaded DNS lookup
Patch1: curl-7.20.1-threaded-dns-multi.patch
-# patch making libcurl multilib ready (by excluding static libraries)
-Patch101: curl-7.15.3-multilib.patch
+# patch making libcurl multilib ready
+Patch101: curl-7.20.0-multilib.patch
# force -lrt when linking the curl tool and test-cases
Patch102: curl-7.20.0-lrt.patch
@@ -215,8 +215,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/aclocal/libcurl.m4
%changelog
-* Tue Apr 20 2010 Kamil Dudka <kdudka@redhat.com> 7.20.1-2
+* Wed Apr 21 2010 Kamil Dudka <kdudka@redhat.com> 7.20.1-2
- experimentally enabled threaded DNS lookup
+- make curl-config multilib ready again (#584107)
* Mon Apr 19 2010 Kamil Dudka <kdudka@redhat.com> 7.20.1-1
- new upstream release
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-02 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:26 [rpms/curl] curl-v8.21.0-9: - make curl-config multilib ready again (#584107) Kamil Dudka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox