pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php71



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Mar 23 09:33:02 UTC 2017

Modified Files:
        pkgsrc/lang/php71: distinfo
Added Files:
        pkgsrc/lang/php71/patches: patch-main_php__config.h.in

Log Message:
Fix the macro tests for fpclassify(3) functions.  Fixes PR#52104.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/php71/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php71/patches/patch-main_php__config.h.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php71/distinfo
diff -u pkgsrc/lang/php71/distinfo:1.15 pkgsrc/lang/php71/distinfo:1.16
--- pkgsrc/lang/php71/distinfo:1.15     Fri Mar 17 15:35:14 2017
+++ pkgsrc/lang/php71/distinfo  Thu Mar 23 09:33:02 2017
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2017/03/17 15:35:14 taca Exp $
+$NetBSD: distinfo,v 1.16 2017/03/23 09:33:02 jperkin Exp $
 
 SHA1 (php-7.1.3.tar.bz2) = 60359b3154d00502f84adfea84d008e3aa0b81ab
 RMD160 (php-7.1.3.tar.bz2) = a54b805e234a8bf7f1f6a1c0b2250e11bcaf1219
@@ -17,6 +17,7 @@ SHA1 (patch-ext_phar_phar_phar.php) = f6
 SHA1 (patch-ext_recode_recode.c) = a97a1815d6a41410f68c289debbb9396128a2159
 SHA1 (patch-ext_sqlite3_libsqlite_sqlite3.c) = 8a529a1b3f7c97731f2e719d006f67c3a7259bb5
 SHA1 (patch-ext_standard_basic__functions.c) = f97a2748c7b15fbd9a2d3c21e56079088cc05d56
+SHA1 (patch-main_php__config.h.in) = a954c2963bdc9cbb280a9852e18ac8fb8fc834c2
 SHA1 (patch-makedist) = 2ac0e0391c031c4fcf4993e2269cde4c6bfddfd5
 SHA1 (patch-php.ini-development) = dd65962000ec06439fae3c9bf252fa46be4e33fd
 SHA1 (patch-php.ini-production) = ae61dffedf574b688fe576b0b2af748b7a28cd89

Added files:

Index: pkgsrc/lang/php71/patches/patch-main_php__config.h.in
diff -u /dev/null pkgsrc/lang/php71/patches/patch-main_php__config.h.in:1.1
--- /dev/null   Thu Mar 23 09:33:02 2017
+++ pkgsrc/lang/php71/patches/patch-main_php__config.h.in       Thu Mar 23 09:33:02 2017
@@ -0,0 +1,33 @@
+$NetBSD: patch-main_php__config.h.in,v 1.1 2017/03/23 09:33:02 jperkin Exp $
+
+Fix tests for defines which are 0/1 not defined/undefined.
+
+--- main/php_config.h.in.orig  2017-03-14 13:17:50.000000000 +0000
++++ main/php_config.h.in
+@@ -2515,7 +2515,7 @@ int zend_sprintf(char *buffer, const cha
+ #endif
+ 
+ #ifndef zend_isnan
+-#ifdef HAVE_DECL_ISNAN
++#if HAVE_DECL_ISNAN == 1
+ #define zend_isnan(a) isnan(a)
+ #elif defined(HAVE_FPCLASS)
+ #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
+@@ -2524,7 +2524,7 @@ int zend_sprintf(char *buffer, const cha
+ #endif
+ #endif
+ 
+-#ifdef HAVE_DECL_ISINF
++#if HAVE_DECL_ISINF == 1
+ #define zend_isinf(a) isinf(a)
+ #elif defined(INFINITY)
+ /* Might not work, but is required by ISO C99 */
+@@ -2535,7 +2535,7 @@ int zend_sprintf(char *buffer, const cha
+ #define zend_isinf(a) 0
+ #endif
+ 
+-#if defined(HAVE_DECL_ISFINITE)
++#if HAVE_DECL_ISFINITE == 1
+ #define zend_finite(a) isfinite(a)
+ #elif defined(HAVE_FINITE)
+ #define zend_finite(a) finite(a)



Home | Main Index | Thread Index | Old Index