summaryrefslogtreecommitdiff
path: root/net/php4-ftp/patches
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 /net/php4-ftp/patches
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.
Diffstat (limited to 'net/php4-ftp/patches')
-rw-r--r--net/php4-ftp/patches/patch-aa15
1 files changed, 15 insertions, 0 deletions
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