make it build with php 5.3
This commit is contained in:
parent
7db9a1860f
commit
99ee27eb7f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2011/11/16 15:56:37 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2011/11/17 12:35:33 robert Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= PHP support for chroot(2)
|
||||
DISTNAME= pecl-chroot-1.0
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
||||
CATEGORIES= www
|
||||
|
||||
|
12
www/pecl-chroot/patches/patch-chroot_c
Normal file
12
www/pecl-chroot/patches/patch-chroot_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-chroot_c,v 1.1 2011/11/17 12:35:33 robert Exp $
|
||||
--- chroot.c.orig Thu Nov 17 13:30:46 2011
|
||||
+++ chroot.c Thu Nov 17 13:34:51 2011
|
||||
@@ -41,7 +41,7 @@ PHP_FUNCTION(chroot)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
- php_clear_stat_cache(TSRMLS_C);
|
||||
+ php_clear_stat_cache(0, NULL, 0 TSRMLS_CC);
|
||||
|
||||
ret = chdir("/");
|
||||
|
Loading…
Reference in New Issue
Block a user