1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

games/tome4: update to 1.7.4

While here, remove not necessary patch and enable -O3.
This commit is contained in:
Piotr Kubaj 2021-06-27 21:02:56 +00:00
parent 3b33a867b1
commit 30c859b20c
4 changed files with 4 additions and 24 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= tome4
DISTVERSION?= 1.7.3
PORTREVISION?= 1
DISTVERSION?= 1.7.4
CATEGORIES= games
MASTER_SITES= https://te4.org/dl/t-engine/ \
SF/lifanov-ports-distfiles/${PORTNAME}/:icons

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1621597802
SHA256 (t-engine4-src-1.7.3.tar.bz2) = df45376225956a2160e6c49429277ef776e0643760354d481a98be00f20933e6
SIZE (t-engine4-src-1.7.3.tar.bz2) = 476031824
TIMESTAMP = 1624824084
SHA256 (t-engine4-src-1.7.4.tar.bz2) = c3534f33f48c9cf027025eb3f44e97b23de612a66d5f315ed4830f9a52abf2a4
SIZE (t-engine4-src-1.7.4.tar.bz2) = 486263402
SHA256 (tome4.png) = b5223208ca6f0a51f8bbe3b96055f38f94336dbeca6704db6684fec00fad1a36
SIZE (tome4.png) = 37143

View File

@ -1,13 +1,5 @@
--- ./build/te4core.lua.orig 2014-05-19 04:42:12.000000000 -0400
+++ ./build/te4core.lua 2014-06-04 12:45:57.973283399 -0400
@@ -40,7 +40,6 @@
links { "physfs", "lua".._OPTIONS.lua, "fov", "luasocket", "luaprofiler", "lpeg", "tcodimport", "lxp", "expatstatic", "luamd5", "luazlib", "luabitop", "te4-bzip" }
defines { "_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF'" }
defines { [[TENGINE_HOME_PATH='".t-engine"']], "TE4CORE_VERSION="..TE4CORE_VERSION }
- buildoptions { "-O3" }
if _OPTIONS.relpath=="32" then linkoptions{"-Wl,-rpath -Wl,\\\$\$ORIGIN/lib "} end
if _OPTIONS.relpath=="64" then linkoptions{"-Wl,-rpath -Wl,\\\$\$ORIGIN/lib64 "} end
@@ -194,7 +193,7 @@
if _OPTIONS.wincross then
arch_test = os.capture("i686-pc-mingw32-gcc -E ../src/luajit2/src/lj_arch.h -dM", true)

View File

@ -1,11 +0,0 @@
--- ./src/web.c.orig 2014-05-19 04:42:14.000000000 -0400
+++ ./src/web.c 2014-06-04 12:40:26.927305671 -0400
@@ -517,7 +517,7 @@
char *spawnname = NULL;
char *libname = NULL;
const char *self = get_self_executable(g_argc, g_argv);
-#if defined(SELFEXE_LINUX) || defined(SELFEXE_BSD)
+#if defined(SELFEXE_LINUX)
#if defined(TE4_RELPATH64)
const char *spawnbname = "cef3spawn64";
spawnname = malloc(strlen(self) + strlen(spawnbname) + 1);