public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: do not use strncasecmp() from glibc (#631449)
Date: Tue, 03 Nov 2026 12:34:13 GMT	[thread overview]
Message-ID: <179370925345.1.3268640650779337800.rpms-curl-140d1b61f08f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.23.0-3
Commit : 140d1b61f08f81707ff0cf6c038d918226ad7578
Author : Kamil Dudka <kdudka@redhat.com>
Date   : 2010-09-07T22:14:34+02:00
Stats  : +10/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/140d1b61f08f81707ff0cf6c038d918226ad7578?branch=curl-v8.23.0-3

Log:
do not use strncasecmp() from glibc (#631449)

---
diff --git a/curl.spec b/curl.spec
index 76a5a12..2e6d693 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.21.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -149,9 +149,13 @@ sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ tests/data/test*
 # 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)
+# by valgrind seems to be broken on x86_64 (#626470), the same problem
+# appeared with strncasecmp() a while later (#631449)
 %ifarch x86_64
-sed -i 's/HAVE_STRCASECMP/HAVE_BROKEN_STRCASECMP/' lib/curl_config.h
+sed -i \
+    -e 's/HAVE_STRCASECMP/HAVE_BROKEN_STRCASECMP/' \
+    -e 's/HAVE_STRNCASECMP/HAVE_BROKEN_STRNCASECMP/' \
+    lib/curl_config.h
 %endif
 
 # Remove bogus rpath
@@ -236,6 +240,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Tue Sep 07 2010 Kamil Dudka <kdudka@redhat.com> 7.21.1-4
+- work around glibc/valgrind problem on x86_64 (#631449)
+
 * Tue Aug 24 2010 Paul Howarth <paul@city-fan.org> 7.21.1-3
 - fix up patches so there's no need to run autotools in the rpm build
 - drop buildreq automake

                 reply	other threads:[~2026-11-03 12:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=179370925345.1.3268640650779337800.rpms-curl-140d1b61f08f@fedoraproject.org \
    --to=kdudka@redhat.com \
    --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