From 9306a2da6ec2f690cf1bd70e3b95e835348daa8e Mon Sep 17 00:00:00 2001 From: jdolecek Date: Tue, 13 Jan 2004 18:59:35 +0000 Subject: 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. --- net/php4-ftp/Makefile | 5 +++-- net/php4-ftp/distinfo | 5 +++++ net/php4-ftp/patches/patch-aa | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 net/php4-ftp/distinfo create mode 100644 net/php4-ftp/patches/patch-aa (limited to 'net') 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 -- cgit v1.2.3