mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Added a patch for curl to get rid of a configure WARNING when checking the openssl version.
This commit is contained in:
15
net-misc/curl/patches/curl-7.22.0.patch
Normal file
15
net-misc/curl/patches/curl-7.22.0.patch
Normal file
@@ -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"
|
||||
;;
|
||||
Reference in New Issue
Block a user