Browse Source

fix building with OpenSSL 0.9.7

Ralf S. Engelschall 23 years ago
parent
commit
347a0a42a4
1 changed files with 5 additions and 3 deletions
  1. 5 3
      curl/curl.spec

+ 5 - 3
curl/curl.spec

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