Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 21:59:05 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423306 - in head/games/warzone2100: . files
Message-ID:  <201610042159.u94Lx5Hj076222@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct  4 21:59:05 2016
New Revision: 423306
URL: https://svnweb.freebsd.org/changeset/ports/423306

Log:
  - Update to 3.2.1

Added:
  head/games/warzone2100/files/
  head/games/warzone2100/files/patch-src_scripttabs.cpp   (contents, props changed)
Modified:
  head/games/warzone2100/Makefile
  head/games/warzone2100/distinfo

Modified: head/games/warzone2100/Makefile
==============================================================================
--- head/games/warzone2100/Makefile	Tue Oct  4 21:51:15 2016	(r423305)
+++ head/games/warzone2100/Makefile	Tue Oct  4 21:59:05 2016	(r423306)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	warzone2100
-PORTVERSION=	3.1.5
+PORTVERSION=	3.2.1
 CATEGORIES=	games
 MASTER_SITES=	SF/${PORTNAME}/releases/${PORTVERSION}/
 
@@ -15,23 +15,23 @@ BUILD_DEPENDS=	zip:archivers/zip
 LIB_DEPENDS=	libphysfs.so:devel/physfs \
 		libpng.so:graphics/png \
 		libvorbis.so:audio/libvorbis \
+		libogg.so:audio/libogg \
 		libtheora.so:multimedia/libtheora \
 		libfribidi.so:converters/fribidi \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig
 RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
 
-USES=		bison compiler:c++11-lang gmake localbase openal:al pkgconfig tar:xz # actually, old gcc fails on unknown -W flag
+USES=		bison compiler:c++11-lib gmake localbase openal:al pkgconfig ssl tar:xz
 GNU_CONFIGURE=	yes
-USE_GL=		glew glu
-USE_SDL=	sdl
-USE_QT4=	corelib network script gui moc_build
+USE_GL=		gl glu glew
+USE_SDL=	sdl2
+USE_XORG=	x11 xrandr
+USE_QT5=	core gui widgets script buildtools_build
 QT_NONSTANDARD=	yes
 CONFIGURE_ARGS=	--program-transform-name="" --with-distributor="FreeBSD ports"
-CONFIGURE_ENV=	PATH="${LOCALBASE}/bin:$$PATH" \
-		CCOMPILER="${CC}" \
-		CXXCOMPILER="${CXX}"
-REINPLACE_ARGS=	-i ''
+CONFIGURE_ENV=	LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \
+		LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
 
 PORTDOCS=	*
 PORTDATA=	*
@@ -48,5 +48,9 @@ MANPAGES_BUILD_DEPENDS=	a2x:textproc/asc
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Werror||g; s|-R$$found_dir||g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|./build_tools/autorevision|& -f|g' ${WRKSRC}/src/Makefile.in
+	@${REINPLACE_CMD} -e '/INSTALL_DATA.*warzone2100.appdata.xml/d' ${WRKSRC}/icons/Makefile.*
+
+post-install:
+	@${RMDIR} ${STAGEDIR}${PREFIX}/share/appdata
 
 .include <bsd.port.mk>

Modified: head/games/warzone2100/distinfo
==============================================================================
--- head/games/warzone2100/distinfo	Tue Oct  4 21:51:15 2016	(r423305)
+++ head/games/warzone2100/distinfo	Tue Oct  4 21:59:05 2016	(r423306)
@@ -1,2 +1,3 @@
-SHA256 (warzone2100-3.1.5.tar.xz) = 21aacc3e475d17338cf7a57aefe4517868822a8167fb6c291f6f6f3b454ca442
-SIZE (warzone2100-3.1.5.tar.xz) = 86236328
+TIMESTAMP = 1471086366
+SHA256 (warzone2100-3.2.1.tar.xz) = 0f66b76c50c598abcc895134bd49aab5dd46dcf8135645f2505e93077402a6d9
+SIZE (warzone2100-3.2.1.tar.xz) = 80759620

Added: head/games/warzone2100/files/patch-src_scripttabs.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/warzone2100/files/patch-src_scripttabs.cpp	Tue Oct  4 21:59:05 2016	(r423306)
@@ -0,0 +1,11 @@
+--- src/scripttabs.cpp.orig	2016-05-07 17:45:17 UTC
++++ src/scripttabs.cpp
+@@ -108,7 +108,7 @@ TYPE_SYMBOL asTypeTable[] =
+ 	{ "",	(INTERP_TYPE)ST_POINTER_STRUCTSTAT, AT_SIMPLE, NULL, NULL },	//for NULLSTRUCTURESTAT
+ 
+ 	/* This final entry marks the end of the type list */
+-	{ "END OF TYPE LIST", (INTERP_TYPE)NULL,		AT_SIMPLE,	NULL,	NULL },
++	{ "END OF TYPE LIST", (INTERP_TYPE)0,		AT_SIMPLE,	NULL,	NULL },
+ };
+ 
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610042159.u94Lx5Hj076222>