[arch-commits] Commit in php-apc/trunk (PKGBUILD suppress_stat_warning.patch)

Pierre Schmitz pierre at archlinux.org
Thu Jan 13 11:54:51 UTC 2011


    Date: Thursday, January 13, 2011 @ 06:54:50
  Author: pierre
Revision: 105850

upgpkg: php-apc 3.1.7-1
upstream update

Modified:
  php-apc/trunk/PKGBUILD
Deleted:
  php-apc/trunk/suppress_stat_warning.patch

-----------------------------+
 PKGBUILD                    |   11 +++--------
 suppress_stat_warning.patch |   17 -----------------
 2 files changed, 3 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-13 09:39:06 UTC (rev 105849)
+++ PKGBUILD	2011-01-13 11:54:50 UTC (rev 105850)
@@ -2,24 +2,19 @@
 # Maintainer: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=php-apc
-pkgver=3.1.6
+pkgver=3.1.7
 pkgrel=1
 arch=('i686' 'x86_64')
 pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
 url='http://pecl.php.net/package/APC'
 depends=('php')
 license="PHP"
-source=("http://pecl.php.net/get/APC-${pkgver}.tgz"
-        'suppress_stat_warning.patch')
+source=("http://pecl.php.net/get/APC-${pkgver}.tgz")
 backup=('etc/php/conf.d/apc.ini')
-md5sums=('624b8030254f897face30789d64e6b7e'
-         'cf5b72c9808273e782bdc11421b4a512')
+md5sums=('94239866e5d1b90e02675e988a5cbad4')
 
 build() {
 	cd $srcdir/APC-$pkgver
-	# suppress warning when stat=0 is used with rel. paths
-	# see http://pecl.php.net/bugs/bug.php?id=19610
-	patch -p0 -i ${srcdir}/suppress_stat_warning.patch
 	phpize
 	./configure --prefix=/usr
 	make

Deleted: suppress_stat_warning.patch
===================================================================
--- suppress_stat_warning.patch	2011-01-13 09:39:06 UTC (rev 105849)
+++ suppress_stat_warning.patch	2011-01-13 11:54:50 UTC (rev 105850)
@@ -1,17 +0,0 @@
---- apc_cache.c	2010-11-30 11:18:31.000000000 +0100
-+++ apc_cache.c	2010-11-30 12:20:09.781164212 +0100
-@@ -868,12 +868,12 @@
-             fileinfo = apc_php_malloc(sizeof(apc_fileinfo_t) TSRMLS_CC);
- 
-             if (apc_search_paths(filename, include_path, fileinfo TSRMLS_CC) != 0) {
--                apc_warning("apc failed to locate %s - bailing" TSRMLS_CC, filename);
-+                apc_debug("apc failed to locate %s - bailing" TSRMLS_CC, filename);
-                 goto cleanup;
-             }
- 
-             if(!VCWD_REALPATH(fileinfo->fullpath, APCG(canon_path))) {
--                apc_warning("realpath failed to canonicalize %s - bailing" TSRMLS_CC, filename);
-+                apc_debug("realpath failed to canonicalize %s - bailing" TSRMLS_CC, filename);
-                 goto cleanup;
-             }
- 




More information about the arch-commits mailing list