public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: work around glibc/valgrind problem on x86_64 (#626470)
@ 2026-11-02 14:27 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-02 14:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : 35531a08e1572fb66531024de41402085eb47e37
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2010-08-23T20:45:54+02:00
Stats  : +9/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/35531a08e1572fb66531024de41402085eb47e37?branch=curl-v8.21.0-9

Log:
work around glibc/valgrind problem on x86_64 (#626470)

---
diff --git a/curl.spec b/curl.spec
index 9108419..e415abe 100644
--- a/curl.spec
+++ b/curl.spec
@@ -14,7 +14,7 @@ Patch1: 0001-curl-7.21.1-a6e088e.patch
 # curl -T now ignores file size of special files (#622520)
 Patch2: 0002-curl-7.21.1-5907777.patch
 
-# fix kerberos proxy authentization for https (#625676)
+# fix kerberos proxy authentication for https (#625676)
 Patch3: 0003-curl-7.21.1-13b8fc4.patch
 
 # avoid a warning with autoconf 2.66
@@ -143,6 +143,12 @@ sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ tests/data/test*
 # uncomment to turn off optimizations
 # find -name Makefile | xargs sed -i 's/-O2/-O0/'
 
+# either glibc's implementation of strcasecmp() or its interpretation
+# by valgrind seems to be broken on x86_64 (#626470)
+%ifarch x86_64
+sed -i 's/HAVE_STRCASECMP/HAVE_BROKEN_STRCASECMP/' lib/curl_config.h
+%endif
+
 # Remove bogus rpath
 sed -i \
     -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
@@ -229,7 +235,8 @@ rm -rf $RPM_BUILD_ROOT
 - re-enable test575 on s390(x), already fixed (upstream commit d63bdba)
 - modify system headers to work around gcc bug (#617757)
 - curl -T now ignores file size of special files (#622520)
-- fix kerberos proxy authentization for https (#625676)
+- fix kerberos proxy authentication for https (#625676)
+- work around glibc/valgrind problem on x86_64 (#626470)
 
 * Thu Aug 12 2010 Kamil Dudka <kdudka@redhat.com> 7.21.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:27 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:27 [rpms/curl] curl-v8.21.0-9: work around glibc/valgrind problem on x86_64 (#626470) Kamil Dudka

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