View | Details | Raw Unified | Return to bug 80003
Collapse All | Expand All

(-)Makefile (+6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	statgrab
8
PORTNAME=	statgrab
9
PORTVERSION=	0.4
9
PORTVERSION=	0.4
10
PORTREVISION=	1
10
CATEGORIES=	devel pear
11
CATEGORIES=	devel pear
11
MASTER_SITES=	http://pecl.php.net/get/
12
MASTER_SITES=	http://pecl.php.net/get/
12
PKGNAMEPREFIX=	pecl-
13
PKGNAMEPREFIX=	pecl-
Lines 29-34 Link Here
29
30
30
.if ${OSVERSION} < 500000
31
.if ${OSVERSION} < 500000
31
EXTRA_LIBS=	-lkvm
32
EXTRA_LIBS=	-lkvm
33
.endif
34
35
.if ${PHP_VER} < 5
36
post-patch:
37
	@${PATCH} -d ${WRKSRC} -p0 < ${FILESDIR}/php_statgrab.h.patch
32
.endif
38
.endif
33
39
34
.include <bsd.port.post.mk>
40
.include <bsd.port.post.mk>
(-)files/php_statgrab.h.patch (+13 lines)
Added Link Here
1
--- php_statgrab.h.bak	Sat Apr 16 13:48:58 2005
2
+++ php_statgrab.h	Sat Apr 16 13:49:01 2005
3
@@ -55,6 +55,10 @@
4
 PHP_FUNCTION(sg_user_stats);
5
 PHP_FUNCTION(sg_network_iface_stats);
6
 
7
+#ifdef snprintf
8
+#undef snprintf
9
+#endif
10
+
11
 #endif	/* PHP_STATGRAB_H */
12
 
13
 

Return to bug 80003