From b3ad3f5c207971c5fc8be15b17730cc66e2fd7bf Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 14 Sep 2011 22:47:42 +0000 Subject: [PATCH] Added a patch for curl to get rid of a configure WARNING when checking the openssl version. --- net-misc/curl/patches/curl-7.22.0.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 net-misc/curl/patches/curl-7.22.0.patch diff --git a/net-misc/curl/patches/curl-7.22.0.patch b/net-misc/curl/patches/curl-7.22.0.patch new file mode 100644 index 000000000..3ec7d21f3 --- /dev/null +++ b/net-misc/curl/patches/curl-7.22.0.patch @@ -0,0 +1,15 @@ +--- curl-7.22.0/m4/curl-openssl.m4 2011-06-13 21:09:52.046137344 +0000 ++++ curl-7.22.0-haiku/m4/curl-openssl.m4 2011-09-14 22:16:54.307232768 +0000 +@@ -61,6 +61,12 @@ + tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 7` + tst_api=0x$tst_vermaj$tst_vermin$tst_verfix + ;; ++ x12) ++ tst_vermaj=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 3` ++ tst_vermin=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 5` ++ tst_verfix=`echo $curl_cv_def_OPENSSL_VERSION_NUMBER | cut -c 8` ++ tst_api=0x$tst_vermaj$tst_vermin$tst_verfix ++ ;; + *) + tst_api="unknown" + ;;