Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2016 20:23:42 +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: r407176 - in head/games/minetest: . files
Message-ID:  <201601242023.u0OKNgho096773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan 24 20:23:42 2016
New Revision: 407176
URL: https://svnweb.freebsd.org/changeset/ports/407176

Log:
  - Update to 0.4.13
  
  PR:		205856
  Submitted by:	kevinz5000@gmail.com

Added:
  head/games/minetest/files/patch-src_unittest_test__serialization.cpp   (contents, props changed)
Deleted:
  head/games/minetest/files/patch-src_CMakeLists.txt
Modified:
  head/games/minetest/Makefile
  head/games/minetest/distinfo

Modified: head/games/minetest/Makefile
==============================================================================
--- head/games/minetest/Makefile	Sun Jan 24 20:02:46 2016	(r407175)
+++ head/games/minetest/Makefile	Sun Jan 24 20:23:42 2016	(r407176)
@@ -2,29 +2,30 @@
 # $FreeBSD$
 
 PORTNAME=	minetest
-PORTVERSION=	0.4.12
+PORTVERSION=	0.4.13
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
-COMMENT=	Infiniminer/Minecraft inspired game
+COMMENT=	Near-infinite-world block sandbox game
 
 LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/doc/lgpl-2.1.txt
 
-LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS=	libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
+		libgmp.so:${PORTSDIR}/math/gmp
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	minetest
 
-USES=		cmake
+USES=		cmake iconv:wchar_t
 CMAKE_ARGS=	-DCUSTOM_MANDIR="${PREFIX}/man" \
 		-DCUSTOM_EXAMPLE_CONF_DIR="${PREFIX}/etc"
 
 PORTDATA=	*
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	CLIENT SERVER CURL NLS SOUND DOCS EXAMPLES FREETYPE LEVELDB REDIS LUAJIT
-OPTIONS_DEFAULT=CLIENT SERVER CURL SOUND
+OPTIONS_DEFINE=	CLIENT SERVER CURL NLS SOUND DOCS EXAMPLES FREETYPE LEVELDB REDIS LUAJIT SPATIAL
+OPTIONS_DEFAULT=CLIENT SERVER CURL SOUND FREETYPE LUAJIT
 OPTIONS_SUB=	yes
 
 CLIENT_DESC=	Build client
@@ -35,6 +36,7 @@ LEVELDB_DESC=	Enable LevelDB backend
 REDIS_DESC=	Enable Redis backend
 FREETYPE_DESC=	Support for TrueType fonts with unicode
 LUAJIT_DESC=	LuaJIT support
+SPATIAL_DESC=	Enable SpatialIndex AreaStore backend
 
 CLIENT_CMAKE_ON=	-DBUILD_CLIENT=1
 CLIENT_CMAKE_OFF=	-DBUILD_CLIENT=0
@@ -62,7 +64,12 @@ REDIS_LIB_DEPENDS=	libhiredis.so:${PORTS
 FREETYPE_CMAKE_ON=	-DENABLE_FREETYPE=1
 FREETYPE_CMAKE_OFF=	-DENABLE_FREETYPE=0
 FREETYPE_LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
+LUAJIT_CMAKE_ON=	-DENABLE_LUAJIT=1
+LUAJIT_CMAKE_OFF=	-DENABLE_LUAJIT=0
 LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:${PORTSDIR}/lang/luajit
+SPATIAL_LIB_DEPENDS=	libspatialindex.so:${PORTSDIR}/devel/spatialindex
+SPATIAL_CMAKE_ON=	-DENABLE_SPATIAL=1
+SPATIAL_CMAKE_OFF=	-DENABLE_SPATIAL=0
 
 .include <bsd.port.options.mk>
 
@@ -88,9 +95,5 @@ EXTRA_PATCHES+=	${FILESDIR}/extra-patch-
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/cmake/Modules/*.cmake
-.if ! ${PORT_OPTIONS:MLUAJIT}
-	@${REINPLACE_CMD} -e '/find_/ s|LUA_|NO&|g' \
-		${WRKSRC}/src/CMakeLists.txt
-.endif
 
 .include <bsd.port.mk>

Modified: head/games/minetest/distinfo
==============================================================================
--- head/games/minetest/distinfo	Sun Jan 24 20:02:46 2016	(r407175)
+++ head/games/minetest/distinfo	Sun Jan 24 20:23:42 2016	(r407176)
@@ -1,2 +1,2 @@
-SHA256 (minetest-minetest-0.4.12_GH0.tar.gz) = b37d663785a1ef9e75ec8513913bbd4fcaf761ccb248f4628d9397c71d4417df
-SIZE (minetest-minetest-0.4.12_GH0.tar.gz) = 8184232
+SHA256 (minetest-minetest-0.4.13_GH0.tar.gz) = d77ee70c00a923c3ed2355536997f064a95143d0949a7fc92d725d079edef9f7
+SIZE (minetest-minetest-0.4.13_GH0.tar.gz) = 8367119

Added: head/games/minetest/files/patch-src_unittest_test__serialization.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/minetest/files/patch-src_unittest_test__serialization.cpp	Sun Jan 24 20:23:42 2016	(r407176)
@@ -0,0 +1,20 @@
+--- src/unittest/test_serialization.cpp.orig	2015-08-20 02:02:00 UTC
++++ src/unittest/test_serialization.cpp
+@@ -289,7 +289,7 @@ void TestSerialization::testStreamRead()
+ 	UASSERT(readU8(is) == 0x11);
+ 	UASSERT(readU16(is) == 0x2233);
+ 	UASSERT(readU32(is) == 0x44556677);
+-	UASSERT(readU64(is) == 0x8899AABBCCDDEEFF);
++	UASSERT(readU64(is) == 0x8899AABBCCDDEEFFULL);
+ 
+ 	UASSERT(readS8(is) == -128);
+ 	UASSERT(readS16(is) == 30000);
+@@ -330,7 +330,7 @@ void TestSerialization::testStreamWrite(
+ 	writeU8(os, 0x11);
+ 	writeU16(os, 0x2233);
+ 	writeU32(os, 0x44556677);
+-	writeU64(os, 0x8899AABBCCDDEEFF);
++	writeU64(os, 0x8899AABBCCDDEEFFULL);
+ 
+ 	writeS8(os, -128);
+ 	writeS16(os, 30000);



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