From a64c5d10a00ac04420a13d088833da3242281662 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Wed, 21 Apr 2010 18:52:00 +0000 Subject: [PATCH] avoid failure of test623 --- curl-7.20.0-e32fe30.patch | 28 ++++++++++++++++++++++++++++ curl.spec | 6 ++++++ 2 files changed, 34 insertions(+) create mode 100644 curl-7.20.0-e32fe30.patch diff --git a/curl-7.20.0-e32fe30.patch b/curl-7.20.0-e32fe30.patch new file mode 100644 index 0000000..20469e0 --- /dev/null +++ b/curl-7.20.0-e32fe30.patch @@ -0,0 +1,28 @@ +From e32fe30d0cf7c1f7045ac0bd29322e7fb4feb5c8 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Tue, 23 Mar 2010 23:25:04 +0100 +Subject: [PATCH] enabled valgrind + +I ran it now successfully and it helped to pinpoint a libssh2 +memory leak! +--- + tests/data/test623 | 4 +--- + 1 files changed, 1 insertions(+), 3 deletions(-) + +diff --git a/tests/data/test623 b/tests/data/test623 +index 38a41d2..19e505b 100644 +--- a/tests/data/test623 ++++ b/tests/data/test623 +@@ -36,8 +36,6 @@ for ssh upload test + + 79 + +- +-disable +- ++ + + +-- +1.6.6.1 + diff --git a/curl.spec b/curl.spec index 0f35ff7..a049d47 100644 --- a/curl.spec +++ b/curl.spec @@ -7,6 +7,9 @@ Group: Applications/Internet Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma Source2: curlbuild.h +# upstream commit e32fe30d0cf7c1f7045ac0bd29322e7fb4feb5c8 +Patch0: curl-7.20.0-e32fe30.patch + # experimentally enabled threaded DNS lookup Patch1: curl-7.20.1-threaded-dns-multi.patch @@ -98,6 +101,9 @@ for f in CHANGES README; do mv -f ${f}.utf8 ${f} done +# revert an upstream commit which breaks Fedora builds +%patch0 -p1 -R + # upstream patches (not yet applied) %patch1 -p1