[94455] trunk/dports/games/pioneers

snc at macports.org snc at macports.org
Tue Jun 19 13:51:19 PDT 2012


Revision: 94455
          https://trac.macports.org/changeset/94455
Author:   snc at macports.org
Date:     2012-06-19 13:51:19 -0700 (Tue, 19 Jun 2012)
Log Message:
-----------
pioneers: update to 14.1

Modified Paths:
--------------
    trunk/dports/games/pioneers/Portfile

Added Paths:
-----------
    trunk/dports/games/pioneers/files/patch-common-notifying-string.c.diff

Modified: trunk/dports/games/pioneers/Portfile
===================================================================
--- trunk/dports/games/pioneers/Portfile	2012-06-19 20:28:52 UTC (rev 94454)
+++ trunk/dports/games/pioneers/Portfile	2012-06-19 20:51:19 UTC (rev 94455)
@@ -5,7 +5,7 @@
 PortGroup           app 1.0
 
 name                pioneers
-version             0.12.5
+version             14.1
 categories          games
 license             GPL
 maintainers         snc gmail.com:jweede
@@ -33,18 +33,27 @@
 
 master_sites        sourceforge:pio
 
-checksums           rmd160  34f8cad6cf70d55720932e7deadd9ebeded07bc7 \
-                    sha256  01e017a08b810be55ff72d96b23e6403190ce4e876a69b356b0f368f254f139b
+checksums           rmd160  fcf024d2cd0db78c7c06665c7c0135378b0be0d4 \
+                    sha256  5196ad2f7d4ba128f2ae138e4af9d03d62c366f0342b88d871af04294385f781
 
 post-extract {
     copy ${filespath}/launcher.sh ${worksrcpath}
 }
 
-patch {
+if {$configure.compiler} != "gcc4.2"} {
+    patchfiles          patch-common-notifying-string.c.diff
+}
+post-patch {
     reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/launcher.sh
 }
 
 configure.env-append    with_avahi=no
+post-configure {
+    if {${configure.compiler} != "gcc4.2"} {
+        reinplace {s| -Wl,-z,relro -Wl,-z,now||} ${worksrcpath}/Makefile
+        reinplace s|-Wl,--as-needed|| ${worksrcpath}/Makefile
+    }
+}
 
 app.name            Pioneers
 app.executable      ${worksrcpath}/launcher.sh

Added: trunk/dports/games/pioneers/files/patch-common-notifying-string.c.diff
===================================================================
--- trunk/dports/games/pioneers/files/patch-common-notifying-string.c.diff	                        (rev 0)
+++ trunk/dports/games/pioneers/files/patch-common-notifying-string.c.diff	2012-06-19 20:51:19 UTC (rev 94455)
@@ -0,0 +1,26 @@
+--- common/notifying-string.c.orig	2012-05-29 14:52:26.000000000 -0400
++++ common/notifying-string.c	2012-05-29 14:52:48.000000000 -0400
+@@ -35,10 +35,10 @@
+ typedef NotifyingStringClass SelfClass;
+ 
+ /* here are local prototypes */
+-#line 0 "common/notifying-string.gob"
++#line 1 "common/notifying-string.gob"
+ static void notifying_string_init (NotifyingString * o) G_GNUC_UNUSED;
+ #line 41 "notifying-string.c"
+-#line 0 "common/notifying-string.gob"
++#line 1 "common/notifying-string.gob"
+ static void notifying_string_class_init (NotifyingStringClass * c) G_GNUC_UNUSED;
+ #line 44 "notifying-string.c"
+ 
+--- common/gtk/scrollable-text-view.c.orig	2012-05-29 14:56:31.000000000 -0400
++++ common/gtk/scrollable-text-view.c	2012-05-29 14:56:47.000000000 -0400
+@@ -63,7 +63,7 @@
+ typedef ScrollableTextViewClass SelfClass;
+ 
+ /* here are local prototypes */
+-#line 0 "common/gtk/scrollable-text-view.gob"
++#line 1 "common/gtk/scrollable-text-view.gob"
+ static void scrollable_text_view_class_init (ScrollableTextViewClass * c) G_GNUC_UNUSED;
+ #line 69 "scrollable-text-view.c"
+ #line 40 "common/gtk/scrollable-text-view.gob"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120619/6c179189/attachment.html>


More information about the macports-changes mailing list