Browse Source

php: Update from 7.4.2 to 7.4.3

build-on-device
Fredrik Fornwall 5 years ago
parent
commit
e7a9d2d533
  1. 4
      packages/php/build.sh
  2. 14
      packages/php/zend-zend_alloc.h.patch

4
packages/php/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://php.net TERMUX_PKG_HOMEPAGE=https://php.net
TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language" TERMUX_PKG_DESCRIPTION="Server-side, HTML-embedded scripting language"
TERMUX_PKG_LICENSE="PHP-3.0" TERMUX_PKG_LICENSE="PHP-3.0"
TERMUX_PKG_VERSION=7.4.2 TERMUX_PKG_VERSION=7.4.3
TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=https://secure.php.net/distributions/php-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=98284deac017da0d426117ecae7599a1f1bf62ae3911e8bc16c4403a8f4bdf13 TERMUX_PKG_SHA256=cf1f856d877c268124ded1ede40c9fb6142b125fdaafdc54f855120b8bc6982a
# Build native php for phar to build (see pear-Makefile.frag.patch): # Build native php for phar to build (see pear-Makefile.frag.patch):
TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_HOSTBUILD=true
# Build the native php without xml support as we only need phar: # Build the native php without xml support as we only need phar:

14
packages/php/zend-zend_alloc.h.patch

@ -1,14 +0,0 @@
--- /home/builder/.termux-build/php/src/Zend/zend_alloc.h.orig 2019-12-29 20:42:25.958615960 +0000
+++ ./Zend/zend_alloc.h 2019-12-29 20:46:26.512651734 +0000
@@ -27,7 +27,11 @@
#include "zend.h"
#ifndef ZEND_MM_ALIGNMENT
+#ifdef __ANDROID__
+# define ZEND_MM_ALIGNMENT 8
+#else
# define ZEND_MM_ALIGNMENT ((size_t) 8)
+#endif
# define ZEND_MM_ALIGNMENT_LOG2 Z_L(3)
#elif ZEND_MM_ALIGNMENT < 4
# undef ZEND_MM_ALIGNMENT
Loading…
Cancel
Save