commit 0903df6e0419f92b2a1af986f297307f307df3b9
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Oct 4 14:05:50 2019 +0300

    up to 7.4.0RC3
    
    disable broken Embedded API build

 php-shared.patch | 21 ++++++++++-----------
 php.spec         |  6 +++---
 2 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/php.spec b/php.spec
index 9f52861..5fe2ff3 100644
--- a/php.spec
+++ b/php.spec
@@ -14,7 +14,7 @@
 %bcond_without alternatives    # use alternatives system to select default 
phar and php-fpm
 %bcond_with    default_php     # build this PHP as default PHP in system 
(disables alternatives)
 # - General options:
-%bcond_without embed           # disable building Embedded API
+%bcond_with    embed           # disable building Embedded API
 %bcond_with    gcov            # Enable Code coverage reporting
 %bcond_without kerberos5       # without Kerberos5 support
 %bcond_with    systemtap       # systemtap/DTrace support
@@ -139,7 +139,7 @@
 %undefine      with_pdo_sqlite
 %endif
 
-%define                subver RC2
+%define                subver RC3
 %define                rel     1
 %define                orgname php
 %define                ver_suffix 74
@@ -161,7 +161,7 @@ License:    PHP 3.01 and Zend and BSD
 Group:         Libraries
 #Source0:      https://php.net/distributions/%{orgname}-%{version}.tar.xz
 Source0:       https://downloads.php.net/~derick/php-%{version}%{subver}.tar.xz
-# Source0-md5: ce70af5947ae2228b3408952f8c71be8
+# Source0-md5: 16bab715ced5f8af92344c4400d7bed5
 Source1:       opcache.ini
 Source2:       %{orgname}-mod_php.conf
 Source3:       %{orgname}-cgi-fcgi.ini
diff --git a/php-shared.patch b/php-shared.patch
index d30fcba..5482624 100644
--- a/php-shared.patch
+++ b/php-shared.patch
@@ -10,20 +10,19 @@
  dnl Checks for some support/generator progs.
  PHP_PROG_AWK
  PHP_PROG_BISON([3.0.0])
---- php-5.2.4/build/Makefile.global~   2007-08-31 19:13:58.000000000 +0300
-+++ php-5.2.4/build/Makefile.global    2007-08-31 19:19:33.799017413 +0300
-@@ -13,8 +13,12 @@
-       
- build-modules: $(PHP_MODULES)
+--- php-7.4.0RC3/build/Makefile.global~        2019-10-04 16:11:24.000000000 
+0300
++++ php-7.4.0RC3/build/Makefile.global 2019-10-09 15:21:11.198544363 +0300
+@@ -15,8 +15,11 @@
+ 
+ build-binaries: $(PHP_BINARIES)
  
 -libphp$(PHP_MAJOR_VERSION).la: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
--      $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath 
$(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) 
$(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
-+libphp_common.la: $(PHP_GLOBAL_OBJS)
-+      $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath 
$(phptempdir) -avoid-version $(LDFLAGS) $(PHP_RPATHS) $(PHP_GLOBAL_OBJS) 
$(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ -release $(PHP_VERSION)
-+      -@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 
2>&1
-+
+-      $(LIBTOOL) --mode=link --tag=disable-static $(CC) $(CFLAGS) 
$(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) 
$(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
 +libphp$(PHP_MAJOR_VERSION).la: libphp_common.la $(PHP_SAPI_OBJS)
-+      $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -rpath 
$(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) 
$(phptempdir)/libphp_common.la $(PHP_SAPI_OBJS) $(EXTRA_LIBS) 
$(ZEND_EXTRA_LIBS) -o $@
++      $(LIBTOOL) --mode=link --tag=disable-static $(CC) $(CFLAGS) 
$(EXTRA_CFLAGS) -rpath $(phptempdir) $(EXTRA_LDFLAGS) $(LDFLAGS) $(PHP_RPATHS) 
$(phptempdir)/libphp_common.la $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@
++
++libphp_common.la: $(PHP_GLOBAL_OBJS)
++      $(LIBTOOL) --mode=link --tag=disable-static $(CC) $(CFLAGS) 
$(EXTRA_CFLAGS) -rpath $(phptempdir) -avoid-version $(LDFLAGS) $(PHP_RPATHS) 
$(PHP_GLOBAL_OBJS) $(EXTRA_LIBS) $(ZEND_EXTRA_LIBS) -o $@ -release 
$(PHP_VERSION)
        -@$(LIBTOOL) --silent --mode=install cp $@ $(phptempdir)/$@ >/dev/null 
2>&1
  
  libs/libphp$(PHP_MAJOR_VERSION).bundle: $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/0903df6e0419f92b2a1af986f297307f307df3b9

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to