[70355] trunk/dports/games/openmortal
ryandesign at macports.org
ryandesign at macports.org
Sat Aug 7 00:12:37 PDT 2010
Revision: 70355
http://trac.macports.org/changeset/70355
Author: ryandesign at macports.org
Date: 2010-08-07 00:12:36 -0700 (Sat, 07 Aug 2010)
Log Message:
-----------
openmortal: fix compilation problem with gcc 4.1+ (i.e. on Snow Leopard); see #25978
Modified Paths:
--------------
trunk/dports/games/openmortal/Portfile
Added Paths:
-----------
trunk/dports/games/openmortal/files/openmortal-0.7-gcc41.patch
Modified: trunk/dports/games/openmortal/Portfile
===================================================================
--- trunk/dports/games/openmortal/Portfile 2010-08-07 07:09:43 UTC (rev 70354)
+++ trunk/dports/games/openmortal/Portfile 2010-08-07 07:12:36 UTC (rev 70355)
@@ -33,6 +33,8 @@
port:freetype \
bin:perl:perl5
+patchfiles openmortal-0.7-gcc41.patch
+
configure.args --enable-main \
--enable-characters \
--enable-additional \
@@ -45,7 +47,7 @@
reinplace "s/\r$//g" \
${worksrcpath}/src/gfx.cpp
}
- patchfiles patch-gfx.cpp.diff \
+ patchfiles-append patch-gfx.cpp.diff \
patch-sge_tt_text.cpp.diff
post-destroot {
xinstall -d -m 755 \
Added: trunk/dports/games/openmortal/files/openmortal-0.7-gcc41.patch
===================================================================
--- trunk/dports/games/openmortal/files/openmortal-0.7-gcc41.patch (rev 0)
+++ trunk/dports/games/openmortal/files/openmortal-0.7-gcc41.patch 2010-08-07 07:12:36 UTC (rev 70355)
@@ -0,0 +1,11 @@
+--- src/OnlineChat.cpp.old 2006-01-28 14:34:42.000000000 -0700
++++ src/OnlineChat.cpp 2006-01-28 14:34:53.000000000 -0700
+@@ -56,7 +56,7 @@
+ class CChallengeMenu: public Menu
+ {
+ public:
+- CChallengeMenu::CChallengeMenu( std::string a_sChallenger )
++ CChallengeMenu( std::string a_sChallenger )
+ : Menu( "You have been challenged!" ),
+ m_sChallenger( a_sChallenger )
+ {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/79187eb9/attachment.html>
More information about the macports-changes
mailing list