# HG changeset patch # User Pascal Bellard # Date 1583672060 -3600 # Node ID b3301ae192ef24168eb66c2803cadd65acf22aab # Parent 2adacc364bfe9e4b2277e5fecedff8fe72c52824 php-auth-pam: update for php 7.3 diff -r 2adacc364bfe -r b3301ae192ef php-auth-pam/receipt --- a/php-auth-pam/receipt Sat Mar 07 18:34:36 2020 +0100 +++ b/php-auth-pam/receipt Sun Mar 08 13:54:20 2020 +0100 @@ -22,6 +22,12 @@ phpize patch -p1 < $stuff/php-auth-pam-Makefile.global0.4.u || exit 1 sed -i 's/^function_entry/zend_&/;s/pval /zval /' pam_auth.c # php 5.4 + + sed -e 's|(\(\*[a-z]*)\)->value.str.val;|Z_STRVAL(*\1;|' \ + -e 's|(\*status)->value.str.val|Z_STR(**status)|' \ + -e 's|(\*status)->value.str.len|Z_STRLEN(**status)|' \ + -e 's|(\*status)->type|Z_TYPE_INFO(**status)|' \ + -i pam_auth.c # php 7.3 ./configure $CONFIGURE_ARGS \ --prefix=/usr &&