public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: Rename patches to reflect the curl version they apply to
Date: Tue, 03 Nov 2026 12:34:07 GMT [thread overview]
Message-ID: <179370924794.1.17074590458128183245.rpms-curl-98764465be78@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : 98764465be78a7ee6a10821d2b0954dd93aaa6fe
Author : Paul Howarth <paul@city-fan.org>
Date : 2010-08-19T15:17:41+01:00
Stats : +116/-116 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/98764465be78a7ee6a10821d2b0954dd93aaa6fe?branch=curl-v8.23.0-3
Log:
Rename patches to reflect the curl version they apply to
---
diff --git a/0101-curl-7.20.0-multilib.patch b/0101-curl-7.20.0-multilib.patch
deleted file mode 100644
index 83c1cd8..0000000
--- a/0101-curl-7.20.0-multilib.patch
+++ /dev/null
@@ -1,64 +0,0 @@
- curl-config.in | 22 ++++------------------
- libcurl.pc.in | 1 +
- 2 files changed, 5 insertions(+), 18 deletions(-)
-
-diff --git a/curl-config.in b/curl-config.in
-index ebda129..b404827 100644
---- a/curl-config.in
-+++ b/curl-config.in
-@@ -43,7 +43,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
-@@ -74,7 +73,7 @@ while test $# -gt 0; do
- ;;
-
- --cc)
-- echo "@CC@"
-+ echo "gcc"
- ;;
-
- --prefix)
-@@ -136,25 +135,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/0101-curl-7.21.1-multilib.patch b/0101-curl-7.21.1-multilib.patch
new file mode 100644
index 0000000..83c1cd8
--- /dev/null
+++ b/0101-curl-7.21.1-multilib.patch
@@ -0,0 +1,64 @@
+ curl-config.in | 22 ++++------------------
+ libcurl.pc.in | 1 +
+ 2 files changed, 5 insertions(+), 18 deletions(-)
+
+diff --git a/curl-config.in b/curl-config.in
+index ebda129..b404827 100644
+--- a/curl-config.in
++++ b/curl-config.in
+@@ -43,7 +43,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
+@@ -74,7 +73,7 @@ while test $# -gt 0; do
+ ;;
+
+ --cc)
+- echo "@CC@"
++ echo "gcc"
+ ;;
+
+ --prefix)
+@@ -136,25 +135,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/0102-curl-7.20.0-lrt.patch b/0102-curl-7.20.0-lrt.patch
deleted file mode 100644
index 775f183..0000000
--- a/0102-curl-7.20.0-lrt.patch
+++ /dev/null
@@ -1,30 +0,0 @@
- src/Makefile.am | 2 +-
- tests/libtest/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 3672458..890893d 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -49,7 +49,7 @@ include Makefile.inc
- # This might hold -Werror
- CFLAGS += @CURL_CFLAG_EXTRAS@
-
--curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
-+curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt
- curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
- BUILT_SOURCES = hugehelp.c
- CLEANFILES = hugehelp.c
-diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
-index 70b0f12..6512ce4 100644
---- a/tests/libtest/Makefile.am
-+++ b/tests/libtest/Makefile.am
-@@ -54,7 +54,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
- test1022.pl Makefile.inc
-
- # Dependencies (may need to be overriden)
--LDADD = $(top_builddir)/lib/libcurl.la
-+LDADD = $(top_builddir)/lib/libcurl.la -lrt
- DEPENDENCIES = $(top_builddir)/lib/libcurl.la
-
- # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
diff --git a/0102-curl-7.21.1-lrt.patch b/0102-curl-7.21.1-lrt.patch
new file mode 100644
index 0000000..775f183
--- /dev/null
+++ b/0102-curl-7.21.1-lrt.patch
@@ -0,0 +1,30 @@
+ src/Makefile.am | 2 +-
+ tests/libtest/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 3672458..890893d 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -49,7 +49,7 @@ include Makefile.inc
+ # This might hold -Werror
+ CFLAGS += @CURL_CFLAG_EXTRAS@
+
+-curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
++curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt
+ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+ BUILT_SOURCES = hugehelp.c
+ CLEANFILES = hugehelp.c
+diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
+index 70b0f12..6512ce4 100644
+--- a/tests/libtest/Makefile.am
++++ b/tests/libtest/Makefile.am
+@@ -54,7 +54,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
+ test1022.pl Makefile.inc
+
+ # Dependencies (may need to be overriden)
+-LDADD = $(top_builddir)/lib/libcurl.la
++LDADD = $(top_builddir)/lib/libcurl.la -lrt
+ DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+
+ # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
diff --git a/0103-curl-7.19.4-debug.patch b/0103-curl-7.19.4-debug.patch
deleted file mode 100644
index 256b6b5..0000000
--- a/0103-curl-7.19.4-debug.patch
+++ /dev/null
@@ -1,19 +0,0 @@
- configure.ac | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index af30b8a..ca6c7cc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -275,7 +275,10 @@ dnl **********************************************************************
-
- CURL_CHECK_COMPILER
- CURL_SET_COMPILER_BASIC_OPTS
--CURL_SET_COMPILER_DEBUG_OPTS
-+
-+dnl do not perturb CFLAGS given by the build system
-+dnl CURL_SET_COMPILER_DEBUG_OPTS
-+
- CURL_SET_COMPILER_OPTIMIZE_OPTS
- CURL_SET_COMPILER_WARNING_OPTS
-
diff --git a/0103-curl-7.21.1-debug.patch b/0103-curl-7.21.1-debug.patch
new file mode 100644
index 0000000..256b6b5
--- /dev/null
+++ b/0103-curl-7.21.1-debug.patch
@@ -0,0 +1,19 @@
+ configure.ac | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index af30b8a..ca6c7cc 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -275,7 +275,10 @@ dnl **********************************************************************
+
+ CURL_CHECK_COMPILER
+ CURL_SET_COMPILER_BASIC_OPTS
+-CURL_SET_COMPILER_DEBUG_OPTS
++
++dnl do not perturb CFLAGS given by the build system
++dnl CURL_SET_COMPILER_DEBUG_OPTS
++
+ CURL_SET_COMPILER_OPTIMIZE_OPTS
+ CURL_SET_COMPILER_WARNING_OPTS
+
diff --git a/curl.spec b/curl.spec
index 9e5946d..7ce9499 100644
--- a/curl.spec
+++ b/curl.spec
@@ -15,13 +15,13 @@ Patch1: 0001-curl-7.21.1-a6e088e.patch
Patch2: 0002-curl-7.21.1-5907777.patch
# patch making libcurl multilib ready
-Patch101: 0101-curl-7.20.0-multilib.patch
+Patch101: 0101-curl-7.21.1-multilib.patch
# force -lrt when linking the curl tool and test-cases
-Patch102: 0102-curl-7.20.0-lrt.patch
+Patch102: 0102-curl-7.21.1-lrt.patch
# prevent configure script from discarding -g in CFLAGS (#496778)
-Patch103: 0103-curl-7.19.4-debug.patch
+Patch103: 0103-curl-7.21.1-debug.patch
# use localhost6 instead of ip6-localhost in the curl test-suite
Patch104: 0104-curl-7.19.7-localhost6.patch
next reply other threads:[~2026-11-03 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 12:34 Paul Howarth [this message]
2026-11-03 12:35 [rpms/curl] curl-v8.23.0-3: rename patches to reflect the curl version they apply to Kamil Dudka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179370924794.1.17074590458128183245.rpms-curl-98764465be78@fedoraproject.org \
--to=paul@city-fan.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox