wok rev 23062
php-auth-pam: update for php 7.3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 13:54:20 2020 +0100 (2020-03-08) |
parents | 2adacc364bfe |
children | 6e908e172c45 |
files | php-auth-pam/receipt |
line diff
1.1 --- a/php-auth-pam/receipt Sat Mar 07 18:34:36 2020 +0100 1.2 +++ b/php-auth-pam/receipt Sun Mar 08 13:54:20 2020 +0100 1.3 @@ -22,6 +22,12 @@ 1.4 phpize 1.5 patch -p1 < $stuff/php-auth-pam-Makefile.global0.4.u || exit 1 1.6 sed -i 's/^function_entry/zend_&/;s/pval /zval /' pam_auth.c # php 5.4 1.7 + 1.8 + sed -e 's|(\(\*[a-z]*)\)->value.str.val;|Z_STRVAL(*\1;|' \ 1.9 + -e 's|(\*status)->value.str.val|Z_STR(**status)|' \ 1.10 + -e 's|(\*status)->value.str.len|Z_STRLEN(**status)|' \ 1.11 + -e 's|(\*status)->type|Z_TYPE_INFO(**status)|' \ 1.12 + -i pam_auth.c # php 7.3 1.13 1.14 ./configure $CONFIGURE_ARGS \ 1.15 --prefix=/usr &&