public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: - temporary workaround for #548269
@ 2026-11-03 12:33 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-03 12:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 0fb58f6b850424909d844cfc04171cb8e45f7349
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date   : 2009-12-20T19:56:01+00:00
Stats  : +26/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/0fb58f6b850424909d844cfc04171cb8e45f7349?branch=curl-v8.23.0-3

Log:
- temporary workaround for #548269

---
diff --git a/curl-7.19.7-ares-ipv6.patch b/curl-7.19.7-ares-ipv6.patch
new file mode 100644
index 0000000..5d4f061
--- /dev/null
+++ b/curl-7.19.7-ares-ipv6.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/hostares.c b/lib/hostares.c
+index 15f9c84..719efc1 100644
+--- a/lib/hostares.c
++++ b/lib/hostares.c
+@@ -327,7 +327,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
+ 
+   switch(data->set.ip_version) {
+   default:
+-#if ARES_VERSION >= 0x010601
++#if 0
+     family = PF_UNSPEC; /* supported by c-ares since 1.6.1, so for older
+                            c-ares versions this just falls through and defaults
+                            to PF_INET */

diff --git a/curl.spec b/curl.spec
index 35b4b16..d335d55 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.19.7
-Release: 8%{?dist}
+Release: 9%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -16,6 +16,7 @@ Patch102: curl-7.16.0-privlibs.patch
 Patch103: curl-7.19.4-debug.patch
 Patch104: curl-7.19.7-s390-sleep.patch
 Patch105: curl-7.19.7-localhost6.patch
+Patch106: curl-7.19.7-ares-ipv6.patch
 Provides: webclient
 URL: http://curl.haxx.se/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -96,7 +97,13 @@ use cURL's capabilities internally.
 %patch104 -p1
 
 # we have localhost6 instead of ip6-localhost as name for ::1
-%patch105 -p1
+# temporarily disabled (clash with patch #106)
+#%patch105 -p1
+
+# rebuild of cURL against newer c-ares-devel has caused a regression (#548269)
+# this patch reverts back the old behavior of curl-7.19.7-4.fc13
+# NOTE: this is a temporary workaround only
+%patch106 -p1
 
 autoconf
 
@@ -189,6 +196,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Sun Dec 20 2009 Kamil Dudka <kdudka@redhat.com> 7.19.7-9
+- temporary workaround for #548269
+  (restored behavior of 7.19.7-4)
+
 * Wed Dec 09 2009 Kamil Dudka <kdudka@redhat.com> 7.19.7-8
 - replace hard wired port numbers in the test suite
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:33 [rpms/curl] curl-v8.23.0-3: - temporary workaround for #548269 Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox