summaryrefslogtreecommitdiff
path: root/net/php4-ftp
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-01-13 18:59:35 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-01-13 18:59:35 +0000
commit9d1ffc3da6858e03394db824770eb0dc05aded7f (patch)
tree839e7362ca1d97da052780b862e6eeafeb3d3086 /net/php4-ftp
parentb630a90732832b0983f3b56efc7f0e31be5a70ad (diff)
downloadpkgsrc-9d1ffc3da6858e03394db824770eb0dc05aded7f.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.
Diffstat (limited to 'net/php4-ftp')
-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