[arch-commits] Commit in php/trunk (PKGBUILD db6.patch)
Pierre Schmitz
pierre at nymeria.archlinux.org
Sat Aug 10 06:12:38 UTC 2013
Date: Saturday, August 10, 2013 @ 08:12:37
Author: pierre
Revision: 192317
revert changes due to license issues with DB 6
Modified:
php/trunk/PKGBUILD
php/trunk/db6.patch
-----------+
PKGBUILD | 7 ++-----
db6.patch | 59 -----------------------------------------------------------
2 files changed, 2 insertions(+), 64 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-10 06:12:01 UTC (rev 192316)
+++ PKGBUILD 2013-08-10 06:12:37 UTC (rev 192317)
@@ -22,7 +22,7 @@
'php-tidy'
'php-xsl')
pkgver=5.4.17
-pkgrel=2
+pkgrel=1
arch=('i686' 'x86_64')
license=('PHP')
url='http://www.php.net'
@@ -31,13 +31,12 @@
'libmcrypt' 'tidyhtml' 'aspell' 'libltdl' 'libpng' 'libjpeg' 'icu'
'curl' 'libxslt' 'openssl' 'bzip2' 'db' 'gmp' 'freetype2' 'systemd')
source=("http://www.php.net/distributions/${pkgbase}-${pkgver}.tar.bz2"
- 'php.ini.patch' 'apache.conf' 'php-fpm.conf.in.patch' 'db6.patch'
+ 'php.ini.patch' 'apache.conf' 'php-fpm.conf.in.patch'
'logrotate.d.php-fpm' 'php-fpm.service' 'php-fpm.tmpfiles')
md5sums=('1e027e99e2a874310fd518e87e3947af'
'44c1bb1df346b3b9d3e092c7df9a37d0'
'dec2cbaad64e3abf4f0ec70e1de4e8e9'
'5c1f4c967b66ce3eaf819b46951dcbf5'
- '60b4c3231f927fe84a9db00ba8442df4'
'e036c721e5ad927cd1613c7475a58b3a'
'cc2940f5312ba42e7aa1ddfab74b84c4'
'c60343df74f8e1afb13b084d5c0e47ed')
@@ -47,8 +46,6 @@
patch -p0 -i ${srcdir}/php.ini.patch
patch -p0 -i ${srcdir}/php-fpm.conf.in.patch
- # see https://bugs.php.net/bug.php?id=65426
- patch -p0 -i ${srcdir}/db6.patch
}
build() {
Modified: db6.patch
===================================================================
--- db6.patch 2013-08-10 06:12:01 UTC (rev 192316)
+++ db6.patch 2013-08-10 06:12:37 UTC (rev 192317)
@@ -1,59 +0,0 @@
---- configure 2013-07-03 08:16:15.000000000 +0200
-+++ configure 2013-08-07 19:19:16.797273766 +0200
-@@ -42409,7 +42409,7 @@
- /* end confdefs.h. */
-
- #include "$THIS_INCLUDE"
--#if DB_VERSION_MAJOR == 4 || (4 == 4 && DB_VERSION_MAJOR == 5)
-+#if DB_VERSION_MAJOR == 4 || (4 == 4 && DB_VERSION_MAJOR >= 5)
- yes
- #endif
-
-@@ -42785,7 +42785,7 @@
- /* end confdefs.h. */
-
- #include "$THIS_INCLUDE"
--#if DB_VERSION_MAJOR == 3 || (3 == 4 && DB_VERSION_MAJOR == 5)
-+#if DB_VERSION_MAJOR == 3 || (3 == 4 && DB_VERSION_MAJOR >= 5)
- yes
- #endif
-
-@@ -43161,7 +43161,7 @@
- /* end confdefs.h. */
-
- #include "$THIS_INCLUDE"
--#if DB_VERSION_MAJOR == 2 || (2 == 4 && DB_VERSION_MAJOR == 5)
-+#if DB_VERSION_MAJOR == 2 || (2 == 4 && DB_VERSION_MAJOR >= 5)
- yes
- #endif
-
---- ext/dba/config.m4 2013-07-03 08:10:53.000000000 +0200
-+++ ext/dba/config.m4 2013-08-07 19:18:55.774448348 +0200
-@@ -245,7 +245,7 @@
- ],[
- AC_EGREP_CPP(yes,[
- #include "$THIS_INCLUDE"
--#if DB_VERSION_MAJOR == $1 || ($1 == 4 && DB_VERSION_MAJOR == 5)
-+#if DB_VERSION_MAJOR == $1 || ($1 == 4 && DB_VERSION_MAJOR >= 5)
- yes
- #endif
- ],[
---- ext/dba/dba_db4.c 2013-07-03 08:10:53.000000000 +0200
-+++ ext/dba/dba_db4.c 2013-08-07 19:19:04.827562638 +0200
-@@ -44,7 +44,7 @@
- {
- TSRMLS_FETCH();
-
--#if (DB_VERSION_MAJOR == 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 8))
-+#if (DB_VERSION_MAJOR >= 5 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 8))
- /* Bug 51086, Berkeley DB 4.8.26 */
- /* This code suppresses a BDB 4.8+ error message, thus keeping PHP test compatibility */
- {
---- ext/dba/tests/dba_db4_handlers.phpt 2013-07-03 08:10:53.000000000 +0200
-+++ ext/dba/tests/dba_db4_handlers.phpt 2013-08-07 20:39:34.640194224 +0200
-@@ -47,4 +47,4 @@
- Test 1
- Success: db4 enabled
- Test 2 - full info
--.*Berkeley DB (4|5).*
-+.*Berkeley DB (4|5|6).*
More information about the arch-commits
mailing list