[20055] trunk/dports/net/libfetch

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 14 01:40:07 PDT 2006


Revision: 20055
          http://trac.macosforge.org/projects/macports/changeset/20055
Author:   markd at macports.org
Date:     2006-10-14 01:40:06 -0700 (Sat, 14 Oct 2006)

Log Message:
-----------
Closes #5746.  Patchfiles-append for OS X 10.2.

Modified Paths:
--------------
    trunk/dports/net/libfetch/Portfile

Added Paths:
-----------
    trunk/dports/net/libfetch/files/patch-ftp.c

Modified: trunk/dports/net/libfetch/Portfile
===================================================================
--- trunk/dports/net/libfetch/Portfile	2006-10-14 08:03:21 UTC (rev 20054)
+++ trunk/dports/net/libfetch/Portfile	2006-10-14 08:40:06 UTC (rev 20055)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 name		libfetch
 version		4.6.2-RELEASE
-revision	1
+revision	2
 categories	net
 maintainers	eric at opendarwin.org
 description	FreeBSD file fetching library
@@ -24,3 +24,6 @@
 		xinstall -m 644 -c fetch.h ${destroot}${prefix}/include
 		xinstall -m 644 -c fetch.3 ${destroot}${prefix}/share/man/man3 }
 
+platform darwin 6 {
+	patchfiles-append patch-ftp.c
+}

Added: trunk/dports/net/libfetch/files/patch-ftp.c
===================================================================
--- trunk/dports/net/libfetch/files/patch-ftp.c	                        (rev 0)
+++ trunk/dports/net/libfetch/files/patch-ftp.c	2006-10-14 08:40:06 UTC (rev 20055)
@@ -0,0 +1,13 @@
+--- ftp.c.org	2006-10-14 01:29:19.000000000 -0700
++++ ftp.c	2006-10-14 01:34:28.000000000 -0700
+@@ -59,7 +59,9 @@
+ #include <sys/param.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+-
++/* define socklen_t for systems, aka Jaguar, that don't define it */
++#ifndef socklen_t +typedef int socklen_t;
++#endif
+ #include <ctype.h>
+ #include <err.h>
+ #include <errno.h>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061014/c0a0e22a/attachment.html


More information about the macports-changes mailing list