diff options
author | Remi Collet <fedora@famillecollet.com> | 2011-08-16 14:54:44 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2011-08-16 14:54:44 +0200 |
commit | 68c18b79288431ab4e477cc3f59ef4ccfe3e7355 (patch) | |
tree | e8ec04eaa888f78e1772bf959ee76461e3252d69 /curl-7.15.0-curl_config-version.patch |
import curl-7.15.5-9.el5_6.3 from EL-5
Diffstat (limited to 'curl-7.15.0-curl_config-version.patch')
-rw-r--r-- | curl-7.15.0-curl_config-version.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 |