wok-current rev 5541
partimage: fix compile_rules for openssl 1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 12:36:57 2010 +0200 (2010-05-13) |
parents | 454a730fce46 |
children | 0e66bfbeb7d5 |
files | partimage-pam/receipt partimage/receipt |
line diff
1.1 --- a/partimage-pam/receipt Thu May 13 12:28:22 2010 +0200 1.2 +++ b/partimage-pam/receipt Thu May 13 12:36:57 2010 +0200 1.3 @@ -20,6 +20,11 @@ 1.4 busybox patch -p0 -i stuff/partimage-0.6.7_gcc4.u 1.5 1.6 cd $src 1.7 + # fix build with openssl 1.0 1.8 + sed -i 's/= SSLv2_client_method/= (SSL_METHOD*) SSLv2_client_method/ \ 1.9 + src/client/netclient.cpp 1.10 + sed -i 's/= SSLv23_server_method/= (SSL_METHOD*) SSLv23_server_method/ \ 1.11 + src/server/netserver.cpp 1.12 ./configure --prefix=/usr --enable-pam \ 1.13 --sysconfdir=/etc \ 1.14 --infodir=/usr/share/info \
2.1 --- a/partimage/receipt Thu May 13 12:28:22 2010 +0200 2.2 +++ b/partimage/receipt Thu May 13 12:36:57 2010 +0200 2.3 @@ -17,6 +17,11 @@ 2.4 busybox patch -p0 -i stuff/partimage-0.6.7_gcc4.u 2.5 2.6 cd $src 2.7 + # fix build with openssl 1.0 2.8 + sed -i 's/= SSLv2_client_method/= (SSL_METHOD*) SSLv2_client_method/ \ 2.9 + src/client/netclient.cpp 2.10 + sed -i 's/= SSLv23_server_method/= (SSL_METHOD*) SSLv23_server_method/ \ 2.11 + src/server/netserver.cpp 2.12 ./configure --prefix=/usr \ 2.13 --sysconfdir=/etc \ 2.14 --infodir=/usr/share/info \