[88924] trunk/dports/sysutils/gtime

ryandesign at macports.org ryandesign at macports.org
Sat Jan 14 20:36:26 PST 2012


Revision: 88924
          http://trac.macports.org/changeset/88924
Author:   ryandesign at macports.org
Date:     2012-01-14 20:36:23 -0800 (Sat, 14 Jan 2012)
Log Message:
-----------
gtime: add patch to fix return type of main() to fix build with stricter clang compiler; see #32860

Modified Paths:
--------------
    trunk/dports/sysutils/gtime/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/gtime/files/
    trunk/dports/sysutils/gtime/files/patch-time.c.diff

Modified: trunk/dports/sysutils/gtime/Portfile
===================================================================
--- trunk/dports/sysutils/gtime/Portfile	2012-01-15 04:27:45 UTC (rev 88923)
+++ trunk/dports/sysutils/gtime/Portfile	2012-01-15 04:36:23 UTC (rev 88924)
@@ -26,6 +26,8 @@
 
 checksums           md5     e38d2b8b34b1ca259cf7b053caac32b3
 
+patchfiles          patch-time.c.diff
+
 configure.args      --program-prefix=g
 
 destroot.destdir    prefix=${destroot}${prefix} \

Added: trunk/dports/sysutils/gtime/files/patch-time.c.diff
===================================================================
--- trunk/dports/sysutils/gtime/files/patch-time.c.diff	                        (rev 0)
+++ trunk/dports/sysutils/gtime/files/patch-time.c.diff	2012-01-15 04:36:23 UTC (rev 88924)
@@ -0,0 +1,11 @@
+--- time.c.orig	1996-06-13 14:38:21.000000000 -0500
++++ time.c	2012-01-14 22:35:01.000000000 -0600
+@@ -628,7 +628,7 @@
+   signal (SIGQUIT, quit_signal);
+ }
+ 
+-void
++int
+ main (argc, argv)
+      int argc;
+      char **argv;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120114/dc09bc94/attachment.html>


More information about the macports-changes mailing list