[65094] trunk/dports/games/xmoto

raimue at macports.org raimue at macports.org
Sun Mar 21 12:16:41 PDT 2010


Revision: 65094
          http://trac.macports.org/changeset/65094
Author:   raimue at macports.org
Date:     2010-03-21 12:16:38 -0700 (Sun, 21 Mar 2010)
Log Message:
-----------
games/xmoto:
Update to version 0.5.2 with patches

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

Added Paths:
-----------
    trunk/dports/games/xmoto/files/
    trunk/dports/games/xmoto/files/patch-src-replay.cpp.diff

Modified: trunk/dports/games/xmoto/Portfile
===================================================================
--- trunk/dports/games/xmoto/Portfile	2010-03-21 19:09:37 UTC (rev 65093)
+++ trunk/dports/games/xmoto/Portfile	2010-03-21 19:16:38 UTC (rev 65094)
@@ -3,8 +3,7 @@
 PortSystem 1.0
 
 name            xmoto
-version         0.5.1
-revision        2
+version         0.5.2
 categories      games
 platforms       macosx
 maintainers     raimue
@@ -19,9 +18,9 @@
 homepage        http://xmoto.tuxfamily.org/
 master_sites    http://download.tuxfamily.org/xmoto/xmoto/${version}/xmoto-${version}-src.tar.gz
 
-checksums       md5     10cb822ec8c2c7e9466806633e69be1f \
-                sha1    36bac38d9f87ffbba337a0589de87b5408d734e8 \
-                rmd160  648a6395f7fe979480c2df50f136352de5c13773
+checksums       md5     1e3678ebceca21d61844efb53c140227 \
+                sha1    aa819872f06beb114025c490cea8e229cd85135d \
+                rmd160  a8323336814261b0c2bb0acf13d5e65ac92e921d
 
 depends_build   bin:grep:grep
 
@@ -37,7 +36,14 @@
                 port:bzip2 \
                 port:curl
 
+patchfiles      patch-src-replay.cpp.diff
+
 configure.args-append --with-apple-opengl-framework
 
+# xmoto does not pick up flags for ode correctly, so we do this manually
+# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521013
+configure.cflags-append  -DdDOUBLE
+configure.cxxflags-append -DdDOUBLE
+
 livecheck.type  regex
 livecheck.regex {XMoto ([\d.]+) released}

Added: trunk/dports/games/xmoto/files/patch-src-replay.cpp.diff
===================================================================
--- trunk/dports/games/xmoto/files/patch-src-replay.cpp.diff	                        (rev 0)
+++ trunk/dports/games/xmoto/files/patch-src-replay.cpp.diff	2010-03-21 19:16:38 UTC (rev 65094)
@@ -0,0 +1,11 @@
+--- src/Replay.cpp
++++ src/Replay.cpp
+@@ -156,7 +156,7 @@
+     v_replay.writeBuf(pcData, nDataSize);
+     
+     /* Chunks */
+-    v_replay << m_Chunks.size();
++    v_replay << (unsigned int)m_Chunks.size();
+     for(unsigned int i=0;i<m_Chunks.size();i++) {
+       v_replay << m_Chunks[i]->nNumStates;
+       v_replay.writeBuf(m_Chunks[i]->pcChunkData, m_nStateSize * m_Chunks[i]->nNumStates);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100321/2fa400ad/attachment-0001.html>


More information about the macports-changes mailing list