From owner-svn-ports-all@freebsd.org Fri Sep 20 19:50:08 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A3CDD1257B8; Fri, 20 Sep 2019 19:50:08 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Zkp83rrlz4Y3L; Fri, 20 Sep 2019 19:50:08 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 68E2529E5; Fri, 20 Sep 2019 19:50:08 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8KJo8d8049724; Fri, 20 Sep 2019 19:50:08 GMT (envelope-from tz@FreeBSD.org) Received: (from tz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8KJo8cX049722; Fri, 20 Sep 2019 19:50:08 GMT (envelope-from tz@FreeBSD.org) Message-Id: <201909201950.x8KJo8cX049722@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tz set sender to tz@FreeBSD.org using -f From: Torsten Zuehlsdorff Date: Fri, 20 Sep 2019 19:50:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512437 - head/lang/php74/files X-SVN-Group: ports-head X-SVN-Commit-Author: tz X-SVN-Commit-Paths: head/lang/php74/files X-SVN-Commit-Revision: 512437 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 19:50:08 -0000 Author: tz Date: Fri Sep 20 19:50:07 2019 New Revision: 512437 URL: https://svnweb.freebsd.org/changeset/ports/512437 Log: lang/php74: fix the broken patches The same error cause from r512431 caused some patches missing or undeleted. Now commit the missing changes in order to unbreak PHP. Sponsored by: PHP Update Service Added: head/lang/php74/files/patch-build_Makefile.global - copied, changed from r512436, head/lang/php74/files/patch-Makefile.global head/lang/php74/files/patch-configure.ac - copied, changed from r512436, head/lang/php74/files/patch-configure.in Deleted: head/lang/php74/files/patch-Makefile.global head/lang/php74/files/patch-acinclude.m4 head/lang/php74/files/patch-configure.in Copied and modified: head/lang/php74/files/patch-build_Makefile.global (from r512436, head/lang/php74/files/patch-Makefile.global) ============================================================================== --- head/lang/php74/files/patch-Makefile.global Fri Sep 20 19:48:00 2019 (r512436, copy source) +++ head/lang/php74/files/patch-build_Makefile.global Fri Sep 20 19:50:07 2019 (r512437) @@ -1,5 +1,5 @@ ---- Makefile.global.orig 2016-08-17 19:50:48 UTC -+++ Makefile.global +--- build/Makefile.global.orig 2019-08-06 06:54:07 UTC ++++ build/Makefile.global @@ -89,14 +89,14 @@ test: all @if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ INI_FILE=`$(PHP_EXECUTABLE) -d 'display_errors=stderr' -r 'echo php_ini_loaded_file();' 2> /dev/null`; \ Copied and modified: head/lang/php74/files/patch-configure.ac (from r512436, head/lang/php74/files/patch-configure.in) ============================================================================== --- head/lang/php74/files/patch-configure.in Fri Sep 20 19:48:00 2019 (r512436, copy source) +++ head/lang/php74/files/patch-configure.ac Fri Sep 20 19:50:07 2019 (r512437) @@ -1,47 +1,31 @@ ---- configure.ac.orig 2018-01-02 22:35:55 UTC +--- configure.ac.orig 2019-08-06 06:54:06 UTC +++ configure.ac -@@ -102,6 +102,7 @@ int zend_sprintf(char *buffer, const char *format, ... +@@ -105,6 +105,7 @@ extern "C++" { + #endif + #endif /* ifndef ZEND_ACCONFIG_H_NO_C_PROTOS */ - #undef PTHREADS - +#include #endif /* PHP_CONFIG_H */ ]) -@@ -339,7 +340,6 @@ sinclude(TSRM/tsrm.m4) - dnl . - dnl ------------------------------------------------------------------------- +@@ -313,7 +314,6 @@ sinclude(Zend/Zend.m4) + dnl ---------------------------------------------------------------------------- + -PTHREADS_CHECK PHP_HELP_SEPARATOR([SAPI modules:]) PHP_SHLIB_SUFFIX_NAMES PHP_BUILD_PROGRAM -@@ -370,15 +370,9 @@ else - AC_MSG_RESULT([none]) - fi +@@ -654,7 +654,7 @@ memmem \ + AX_FUNC_WHICH_GETHOSTBYNAME_R --dnl Exit early --if test -z "$PHP_INSTALLED_SAPIS"; then -- AC_MSG_ERROR([Nothing to build.]) --fi -- - dnl force ZTS - if test "$enable_maintainer_zts" = "yes"; then - PTHREADS_ASSIGN_VARS -- PTHREADS_FLAGS - fi - - dnl Starting system checks. -@@ -682,7 +676,7 @@ nanosleep \ - ) - - dnl Some systems (like OpenSolaris) do not have nanosleep in libc + dnl Some systems (like OpenSolaris) do not have nanosleep in libc. -PHP_CHECK_FUNC_LIB(nanosleep, rt) +PHP_CHECK_FUNC(nanosleep, rt) - dnl Check for getaddrinfo, should be a better way, but... - dnl Also check for working getaddrinfo -@@ -1235,7 +1229,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfdir` + dnl Check for getaddrinfo, should be a better way, but... Also check for working + dnl getaddrinfo. +@@ -1308,7 +1308,7 @@ EXPANDED_SYSCONFDIR=`eval echo $sysconfd EXPANDED_DATADIR=$datadir EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"` EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"` @@ -50,12 +34,12 @@ exec_prefix=$old_exec_prefix libdir=$old_libdir -@@ -1434,7 +1428,7 @@ PHP_SUBST(all_targets) +@@ -1493,7 +1493,7 @@ PHP_SUBST(all_targets) PHP_SUBST(install_targets) PHP_SUBST(install_binary_targets) -PHP_INSTALL_HEADERS([Zend/ TSRM/ include/ main/ main/streams/]) +PHP_INSTALL_HEADERS([Zend/ TSRM/ main/ main/streams/]) - PHP_ADD_SOURCES(TSRM, TSRM.c tsrm_strtok_r.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) + PHP_ADD_SOURCES(TSRM, TSRM.c, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)