pkgsrc/lang/php71/patches/patch-ext_sqlite3_libsqlite_sqlite3.c
jdolecek e9029bf48e Add php 7.1.0beta1
PHP 7.1.x builds upon 7.0.x, adding new features (so far)

* Iterable type.
* HTTP/2 Server Push Support in ext/curl & other ext/curl improvements
* Fix inconsistent behavior in $this variable
* Square bracket syntax for array destructuring assignment
* Create closure from callable
* More precise float values
* Asynchronous Signal Handling (without ticks) in ext/pcntl.
* Additional Context in pcntl_signal Handler

NOTE: this is BETA, not suitable for production environment
2016-08-04 14:09:03 +00:00

13 lines
547 B
C

$NetBSD: patch-ext_sqlite3_libsqlite_sqlite3.c,v 1.1 2016/08/04 14:09:03 jdolecek Exp $
--- ext/sqlite3/libsqlite/sqlite3.c.orig 2015-06-23 17:33:33.000000000 +0000
+++ ext/sqlite3/libsqlite/sqlite3.c
@@ -8408,7 +8408,7 @@ struct sqlite3_rtree_query_info {
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
** it.
*/
-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__)
+#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__) && !defined(__sun)
# define _XOPEN_SOURCE 600
#endif