]> git.pld-linux.org Git - packages/php4.git/commitdiff
Rel 70; fix build with openssl 3 auto/th/php4-4.4.9-70
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 23 Oct 2021 16:45:16 +0000 (18:45 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 23 Oct 2021 16:45:16 +0000 (18:45 +0200)
php4-openssl.patch
php4.spec

index a9bd276125b1e17ce51e23e5d0ded8ab4e21baf2..95f0107c3ad6541d1693bd958b7f1685d9f24d71 100644 (file)
        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);
index b6659afedbd24ee43ad0b6f83823aba8295ff85e..d1b5427b976d5e34ebeb1d734346e50a1ffd0bc3 100644 (file)
--- 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
This page took 0.195365 seconds and 4 git commands to generate.