# HG changeset patch # User Pascal Bellard # Date 1273747017 -7200 # Node ID c79e4c1abb038ae1834afc361172ffcbb536575d # Parent 454a730fce46acba12065225d97d3c5659b14410 partimage: fix compile_rules for openssl 1.0 diff -r 454a730fce46 -r c79e4c1abb03 partimage-pam/receipt --- a/partimage-pam/receipt Thu May 13 12:28:22 2010 +0200 +++ b/partimage-pam/receipt Thu May 13 12:36:57 2010 +0200 @@ -20,6 +20,11 @@ busybox patch -p0 -i stuff/partimage-0.6.7_gcc4.u cd $src + # fix build with openssl 1.0 + sed -i 's/= SSLv2_client_method/= (SSL_METHOD*) SSLv2_client_method/ \ + src/client/netclient.cpp + sed -i 's/= SSLv23_server_method/= (SSL_METHOD*) SSLv23_server_method/ \ + src/server/netserver.cpp ./configure --prefix=/usr --enable-pam \ --sysconfdir=/etc \ --infodir=/usr/share/info \ diff -r 454a730fce46 -r c79e4c1abb03 partimage/receipt --- a/partimage/receipt Thu May 13 12:28:22 2010 +0200 +++ b/partimage/receipt Thu May 13 12:36:57 2010 +0200 @@ -17,6 +17,11 @@ busybox patch -p0 -i stuff/partimage-0.6.7_gcc4.u cd $src + # fix build with openssl 1.0 + sed -i 's/= SSLv2_client_method/= (SSL_METHOD*) SSLv2_client_method/ \ + src/client/netclient.cpp + sed -i 's/= SSLv23_server_method/= (SSL_METHOD*) SSLv23_server_method/ \ + src/server/netserver.cpp ./configure --prefix=/usr \ --sysconfdir=/etc \ --infodir=/usr/share/info \