Hi,

The following diff updates games/teeworlds to the 0.6.4 version,
which fixes a possible remote code execution on the client, among
other things (well, if you look at the code, that's not really
surprising).

While here, Python isn't needed at runtime, and -fsigned-char might
help ppc.

The client has been tested on amd64, and the server looks OK on ppc.
(If you have a macppc with acceleration, knowing that the client still
works there would be good news!)

Thanks.

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/teeworlds/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    27 Dec 2015 17:56:22 -0000      1.18
+++ Makefile    19 Nov 2016 14:27:39 -0000
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc
 
 COMMENT=       platform game featuring buggers equipped with weapons
 
-V=             0.6.3
+V=             0.6.4
 DISTNAME=      teeworlds-${V}-src
 PKGNAME=       teeworlds-${V}
 CATEGORIES=    games
@@ -29,10 +29,14 @@ LIB_DEPENDS=        audio/wavpack \
                devel/sdl
 
 MODULES=       lang/python
+MODPY_RUNDEP=  No
 
 SUBST_VARS=    CC CXX CFLAGS CXXFLAGS X11BASE
 
 NO_TEST=       Yes
+
+# Give it a chance on ppc
+CXXFLAGS+=     -fsigned-char
 
 post-extract:
        @mv ${WRKDIR}/bam-${BAM_VERSION} ${BAM_WRKSRC}
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/teeworlds/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    27 Dec 2015 17:56:22 -0000      1.5
+++ distinfo    19 Nov 2016 14:27:39 -0000
@@ -1,4 +1,4 @@
 SHA256 (bam-0.4.0.tar.gz) = Xk5JILTSZdpYL2Z3TpseyN37513cAo+6hsEvaG6hjbM=
-SHA256 (teeworlds-0.6.3-src.tar.gz) = 
SQ7nw3KJh2HGCa+Newxr1VlCxsb81/Nh7voAq/xwB3s=
+SHA256 (teeworlds-0.6.4-src.tar.gz) = 
wmHRnrsAtUUfqizrSnypRcrSrdSLBgRutDtAzMn9mOI=
 SIZE (bam-0.4.0.tar.gz) = 206780
-SIZE (teeworlds-0.6.3-src.tar.gz) = 13101446
+SIZE (teeworlds-0.6.4-src.tar.gz) = 8771622
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/teeworlds/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   27 Dec 2015 17:56:22 -0000      1.2
+++ pkg/PLIST   19 Nov 2016 14:27:39 -0000
@@ -410,6 +410,7 @@ share/teeworlds/data/languages/belarusia
 share/teeworlds/data/languages/bosnian.txt
 share/teeworlds/data/languages/brazilian_portuguese.txt
 share/teeworlds/data/languages/bulgarian.txt
+share/teeworlds/data/languages/chuvash.txt
 share/teeworlds/data/languages/czech.txt
 share/teeworlds/data/languages/danish.txt
 share/teeworlds/data/languages/dutch.txt
@@ -425,6 +426,7 @@ share/teeworlds/data/languages/polish.tx
 share/teeworlds/data/languages/portuguese.txt
 share/teeworlds/data/languages/romanian.txt
 share/teeworlds/data/languages/russian.txt
+share/teeworlds/data/languages/sakha.txt
 share/teeworlds/data/languages/serbian.txt
 share/teeworlds/data/languages/slovak.txt
 share/teeworlds/data/languages/spanish.txt

Reply via email to