php / pecl-mail-imap

An extension to operate with the IMAP protocol, as well as the NNTP, POP3, and local mailbox access methods.
Other
8 stars 2 forks source link

Build with php-src master is broken #5

Closed mvorisek closed 9 months ago

mvorisek commented 9 months ago
62.73 /tmp/pear/temp/imap/php_imap.c:808:17: error: too many arguments to function 'php_pcre_match_impl'
62.73   808 |                 php_pcre_match_impl(pce, internal_date, return_value, subpats, global,
62.73       |                 ^~~~~~~~~~~~~~~~~~~
62.73 In file included from /tmp/pear/temp/imap/php_imap.c:43:
62.73 /usr/local/include/php/ext/pcre/php_pcre.h:52:14: note: declared here
62.73    52 | PHPAPI void  php_pcre_match_impl(pcre_cache_entry *pce, zend_string *subject_str, zval *return_value,
62.73       |              ^~~~~~~~~~~~~~~~~~~
62.81 make: *** [Makefile:210: php_imap.lo] Error 1
62.81 ERROR: `make -j4' failed

related with https://github.com/php/php-src/pull/12923 change

/cc @nielsdos

nielsdos commented 9 months ago

Fix in https://github.com/php/pecl-mail-imap/pull/6