瀏覽代碼

fix building with OpenSSL 0.9.7

Ralf S. Engelschall 23 年之前
父節點
當前提交
347a0a42a4
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      curl/curl.spec

+ 5 - 3
curl/curl.spec

@@ -33,16 +33,17 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      GPL
 Version:      7.10.2
-Release:      20021119
+Release:      20021231
 
 #   list of sources
 Source0:      http://curl.haxx.se/download/curl-%{version}.tar.bz2
+Patch0:       curl.patch
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, openssl, make, zlib
-PreReq:       OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20021230, openssl >= 0.9.7, make, zlib
+PreReq:       OpenPKG, openpkg >= 20021230
 AutoReq:      no
 AutoReqProv:  no
 
@@ -57,6 +58,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     echo 'ac_cv_header_openssl_engine_h=no' >config.cache