com php-src: Fix #68302: impossible to compile php with zip support: NEWS ext/zip/config.m4

From: Date: Wed, 17 Aug 2016 10:43:29 +0000
Subject: com php-src: Fix #68302: impossible to compile php with zip support: NEWS ext/zip/config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93882@lists.php.net to get a copy of this message
Commit: 48198e4c257825ab89ee027bff5a93fc2cd59601 Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 17 Aug 2016 12:43:29 +0200 Parents: abe00908afa2b7227cfd601ee948ff3b57c27eb7 Branches: PHP-5.6 PHP-7..0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=48198e4c257825ab89ee027bff5a93fc2cd59601 Log: Fix #68302: impossible to compile php with zip support We should not let configure succeed, if SIZEOF_OFF_T == 0, just to let the compilation fail later. Instead we bail out early, giving a hint regarding the potential issue, namely misconfigured libraries. Bugs: https://bugs.php.net/68302 Changed paths: M NEWS M ext/zip/config.m4 Diff: diff --git a/NEWS b/NEWS index fdaa671..dca9d4f 100644 --- a/NEWS +++ b/NEWS @@ -31,6 +31,9 @@ PHP NEWS - XML: . Fixed bug #72085 (SEGV on unknown address zif_xml_parse). (cmb) +- ZIP: + . Fixed bug #68302 (impossible to compile php with zip support). (cmb) + 18 Aug 2016, PHP 5.6.25 - Bz2: diff --git a/ext/zip/config.m4 b/ext/zip/config.m4 index a21ad2d..845d446 100644 --- a/ext/zip/config.m4 +++ b/ext/zip/config.m4 @@ -148,6 +148,9 @@ AC_CHECK_SIZEOF([int]) AC_CHECK_SIZEOF([long]) AC_CHECK_SIZEOF([long long]) AC_CHECK_SIZEOF([off_t]) +if test "$ac_cv_sizeof_off_t" = "0" ; then + AC_MSG_ERROR(off_t undefined; check your library configuration) +fi AC_CHECK_SIZEOF([size_t]) AC_PATH_PROG([TOUCH], [touch])

« previous php.cvs (#93882) next »