Modified: trunk/dports/x11/sunclock/Portfile (93867 => 93868)
--- trunk/dports/x11/sunclock/Portfile 2012-06-01 17:54:13 UTC (rev 93867)
+++ trunk/dports/x11/sunclock/Portfile 2012-06-01 18:09:43 UTC (rev 93868)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+
name sunclock
version 3.50pre1
revision 3
@@ -21,6 +22,8 @@
checksums md5 6e07964a99848018432825c5b3297cc6
depends_lib port:jpeg port:xpm port:zlib
+patchfiles gzFile.patch
+
pre-configure {
reinplace "s|DESTDIR=/usr|DESTDIR=${prefix}|" "${worksrcpath}/Imakefile"
reinplace "s|MANDIR=/X11R6|MANDIR=/share|" "${worksrcpath}/Imakefile"
Added: trunk/dports/x11/sunclock/files/gzFile.patch (0 => 93868)
--- trunk/dports/x11/sunclock/files/gzFile.patch (rev 0)
+++ trunk/dports/x11/sunclock/files/gzFile.patch 2012-06-01 18:09:43 UTC (rev 93868)
@@ -0,0 +1,20 @@
+--- readvmf.c.orig 2001-08-12 00:03:18.000000000 +1000
++++ readvmf.c 2012-06-02 04:04:18.000000000 +1000
+@@ -334,7 +334,7 @@ pixmap_image()
+ char *
+ getdata(fd)
+ #ifdef ZLIB
+-gzFile * fd;
++gzFile fd;
+ #else
+ FILE *fd;
+ #endif
+@@ -426,7 +426,7 @@ struct Sundata * Context;
+ double theta, phi;
+ char *str;
+ #ifdef ZLIB
+- gzFile * fd;
++ gzFile fd;
+ #else
+ FILE *fd;
+ #endif