pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/php4-ftp Fix compilation issue in PHP ftp module s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/85f44b46b4e2
branches:  trunk
changeset: 466225:85f44b46b4e2
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Tue Jan 13 18:59:35 2004 +0000

description:
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:

 net/php4-ftp/Makefile         |   5 +++--
 net/php4-ftp/distinfo         |   5 +++++
 net/php4-ftp/patches/patch-aa |  15 +++++++++++++++
 3 files changed, 23 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 471a390194c5 -r 85f44b46b4e2 net/php4-ftp/Makefile
--- a/net/php4-ftp/Makefile     Tue Jan 13 17:48:37 2004 +0000
+++ b/net/php4-ftp/Makefile     Tue Jan 13 18:59:35 2004 +0000
@@ -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 -r 471a390194c5 -r 85f44b46b4e2 net/php4-ftp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/php4-ftp/distinfo     Tue Jan 13 18:59:35 2004 +0000
@@ -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 -r 471a390194c5 -r 85f44b46b4e2 net/php4-ftp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/php4-ftp/patches/patch-aa     Tue Jan 13 18:59:35 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index