[packages/php4] Rel 70; fix build with openssl 3
arekm
arekm at pld-linux.org
Sat Oct 23 18:46:21 CEST 2021
commit 8c388080c4b3de06595e66dc27017fa1cb1b0745
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Oct 23 18:45:16 2021 +0200
Rel 70; fix build with openssl 3
php4-openssl.patch | 14 ++++++++++++++
php4.spec | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/php4.spec b/php4.spec
index b6659af..d1b5427 100644
--- a/php4.spec
+++ b/php4.spec
@@ -72,7 +72,7 @@
%undefine with_msession
%endif
-%define rel 69
+%define rel 70
Summary: PHP: Hypertext Preprocessor
Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
Summary(pl.UTF-8): Język skryptowy PHP
diff --git a/php4-openssl.patch b/php4-openssl.patch
index a9bd276..95f0107 100644
--- a/php4-openssl.patch
+++ b/php4-openssl.patch
@@ -402,3 +402,17 @@
RETURN_TRUE;
}
/* }}} */
+--- php-4.4.9/ext/openssl/openssl.c~ 2021-10-23 18:36:15.000000000 +0200
++++ php-4.4.9/ext/openssl/openssl.c 2021-10-23 18:41:49.246458639 +0200
+@@ -618,9 +618,11 @@ PHP_MINIT_FUNCTION(openssl)
+ REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_PADDING",
+ RSA_PKCS1_PADDING,
+ CONST_CS|CONST_PERSISTENT);
++#ifdef RSA_SSLV23_PADDING
+ REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING",
+ RSA_SSLV23_PADDING,
+ CONST_CS|CONST_PERSISTENT);
++#endif
+ REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING",
+ RSA_NO_PADDING,
+ CONST_CS|CONST_PERSISTENT);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php4.git/commitdiff/8c388080c4b3de06595e66dc27017fa1cb1b0745
More information about the pld-cvs-commit
mailing list