summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2004-01-13 18:59:35 +0000
committerjdolecek <jdolecek>2004-01-13 18:59:35 +0000
commita0c5b8c57fe125da21d0b8d67e6bb495ac1ca58b (patch)
tree839e7362ca1d97da052780b862e6eeafeb3d3086
parent9ebfe184cf4565f737fda2184552fb9d0fe3eb7f (diff)
downloadpkgsrc-a0c5b8c57fe125da21d0b8d67e6bb495ac1ca58b.tar.gz
Fix compilation issue in PHP ftp module sources, which caused
some functions to not be included in final module. Now this module actually works. Bump pkg revision. Problem reported in PR pkg/24082 by John Maier. Patch already submitted to the PHP team, as issue #26896.
-rw-r--r--net/php4-ftp/Makefile5
-rw-r--r--net/php4-ftp/distinfo5
-rw-r--r--net/php4-ftp/patches/patch-aa15
3 files changed, 23 insertions, 2 deletions
diff --git a/net/php4-ftp/Makefile b/net/php4-ftp/Makefile
index 86e26d12971..330c32235cf 100644
--- a/net/php4-ftp/Makefile
+++ b/net/php4-ftp/Makefile
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2002/11/05 07:33:17 martti Exp $
+# $NetBSD: Makefile,v 1.5 2004/01/13 18:59:35 jdolecek Exp $
MODNAME= ftp
CATEGORIES+= net
-PKGREVISION= # empty
+PKGREVISION= 1
COMMENT= PHP4 extension for FTP access
USE_BUILDLINK2= YES
+DISTINFO_FILE= ${.CURDIR}/distinfo
.include "../../www/php4/Makefile.module"
diff --git a/net/php4-ftp/distinfo b/net/php4-ftp/distinfo
new file mode 100644
index 00000000000..77754487369
--- /dev/null
+++ b/net/php4-ftp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.7 2004/01/13 18:59:35 jdolecek Exp $
+
+SHA1 (php-4.3.4.tar.bz2) = 3047089b499c004728c90db359a3e42b50f4c1f3
+Size (php-4.3.4.tar.bz2) = 3774324 bytes
+SHA1 (patch-aa) = b5900d7ee04019c23dbb59e783d71150ce2f8b7c
diff --git a/net/php4-ftp/patches/patch-aa b/net/php4-ftp/patches/patch-aa
new file mode 100644
index 00000000000..6f956aa7f3c
--- /dev/null
+++ b/net/php4-ftp/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2004/01/13 18:59:35 jdolecek Exp $
+
+--- ftp.c.orig 2004-01-13 19:31:39.000000000 +0100
++++ ftp.c 2004-01-13 19:31:48.000000000 +0100
+@@ -19,6 +19,10 @@
+
+ /* $Id: patch-aa,v 1.1 2004/01/13 18:59:35 jdolecek Exp $ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+
+ #if HAVE_FTP