From 68c18b79288431ab4e477cc3f59ef4ccfe3e7355 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 16 Aug 2011 14:54:44 +0200 Subject: import curl-7.15.5-9.el5_6.3 from EL-5 --- curl-7.15.0-curl_config-version.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 curl-7.15.0-curl_config-version.patch (limited to 'curl-7.15.0-curl_config-version.patch') diff --git a/curl-7.15.0-curl_config-version.patch b/curl-7.15.0-curl_config-version.patch new file mode 100644 index 0000000..c1a4fb3 --- /dev/null +++ b/curl-7.15.0-curl_config-version.patch @@ -0,0 +1,12 @@ +--- curl-7.15.0/configure.ac.ver 2005-11-30 13:33:54.360624896 +0100 ++++ curl-7.15.0/configure.ac 2005-11-30 13:34:14.009637792 +0100 +@@ -43,7 +43,8 @@ + + dnl + dnl we extract the numerical version for curl-config only +-VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curlver.h` ++VERSIONNUM=`$SED -rne 's/^#define LIBCURL_VERSION_(MAJOR|MINOR|PATCH) ([^ ]*)$/\2/p' ${srcdir}/include/curl/curlver.h | xargs -n1 printf %02x; echo` ++ + AC_SUBST(VERSIONNUM) + + dnl Solaris pkgadd support definitions -- cgit