From b7735ecf63942037990f1cd82c6536dfea36df61 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Aug 23 2010 18:50:25 +0000 Subject: work around glibc/valgrind problem on x86_64 (#626470) --- diff --git a/curl.spec b/curl.spec index c9b3c7b..d0ffd06 100644 --- a/curl.spec +++ b/curl.spec @@ -155,6 +155,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' \ @@ -243,6 +249,7 @@ rm -rf $RPM_BUILD_ROOT - fix kerberos proxy authentication for https (#625676) - fix curl -J to chop filename at next semicolon (upstream commit d76874a) - avoid failure of test575 with threaded DNS resolver (upstream commit d63bdba) +- work around glibc/valgrind problem on x86_64 (#626470) * Mon Jul 12 2010 Dan HorĂ¡k 7.21.0-3 - disable test 575 on s390(x)