From 8c388080c4b3de06595e66dc27017fa1cb1b0745 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 23 Oct 2021 18:45:16 +0200 Subject: [PATCH] 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-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); 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 -- 2.44.0