From 3286c49f14ccb005104a5b04c955ba9cd7d9b1a3 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Fri, 27 May 2011 20:39:26 +0000 Subject: [PATCH] Add vendor patch for fix regression. Bump PORTREVISION. Submitted: Alexandr Kovalenko PR: ports/157372 --- www/pecl-APC/Makefile | 1 + www/pecl-APC/files/patch-apc_lock.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 www/pecl-APC/files/patch-apc_lock.h diff --git a/www/pecl-APC/Makefile b/www/pecl-APC/Makefile index 71ceb673ef23..756eba7737a6 100644 --- a/www/pecl-APC/Makefile +++ b/www/pecl-APC/Makefile @@ -7,6 +7,7 @@ PORTNAME= APC DISTVERSION= 3.1.9 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- diff --git a/www/pecl-APC/files/patch-apc_lock.h b/www/pecl-APC/files/patch-apc_lock.h new file mode 100644 index 000000000000..05c6cd0ad1a6 --- /dev/null +++ b/www/pecl-APC/files/patch-apc_lock.h @@ -0,0 +1,14 @@ + +--- apc_lock.h 2011/03/14 06:47:16 309203 ++++ apc_lock.h 2011/05/22 17:18:49 311339 +@@ -154,7 +154,7 @@ + # define apc_lck_nb_lock(a) apc_fcntl_nonblocking_lock(a TSRMLS_CC) + # define apc_lck_rdlock(a) apc_fcntl_rdlock(a TSRMLS_CC) + # define apc_lck_unlock(a) apc_fcntl_unlock(a TSRMLS_CC) +-# define apc_lck_rdunlock(a) apc_fcntl_unlock(&a TSRMLS_CC) ++# define apc_lck_rdunlock(a) apc_fcntl_unlock(a TSRMLS_CC) + #endif + + #endif + +