Update of /cvsroot/fink/fink/10.4
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv9142

Modified Files:
        unzip.info 
Added Files:
        unzip.patch 
Log Message:
fix direntry issue in leper

Index: unzip.info
===================================================================
RCS file: /cvsroot/fink/fink/10.4/unzip.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- unzip.info  20 Jan 2006 20:59:55 -0000      1.1
+++ unzip.info  8 Feb 2007 14:22:00 -0000       1.2
@@ -32,3 +32,5 @@
 InstallScript: make -f unix/Makefile install BINDIR=%i/bin 
MANDIR=%i/share/man/man1
 Suggests: zip
 
+# Fix for 10.5 (stop 'struct direntry' name conflict)
+Patch: %n.patch

--- NEW FILE: unzip.patch ---
--- unzip-5.52/unix/unix.c      2005-02-26 14:43:42.000000000 -0500
+++ unzip-5.52/new      2007-02-08 08:05:58.000000000 -0500
@@ -53,7 +53,13 @@
 #endif
 
 #ifdef DIRENT
+#  ifdef __APPLE__
+#    define direntry apple_direntry
+#  endif
 #  include <dirent.h>
+#  ifdef __APPLE__
+#    undef direntry
+#  endif
 #else
 #  ifdef SYSV
 #    ifdef SYSNDIR


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to