aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-27 21:02:56 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-27 21:02:56 +0000
commit30c859b20c99d0199a8e210ed4cb018bc2e026cd (patch)
treecd8a886c7394a696c2db8fa07f097719fde9f24d
parent3b33a867b10444cb6e2abb3e0946acc269c31c2a (diff)
downloadports-30c859b20c99d0199a8e210ed4cb018bc2e026cd.tar.gz
ports-30c859b20c99d0199a8e210ed4cb018bc2e026cd.zip
games/tome4: update to 1.7.4
While here, remove not necessary patch and enable -O3.
-rw-r--r--games/tome4/Makefile3
-rw-r--r--games/tome4/distinfo6
-rw-r--r--games/tome4/files/patch-build__te4core.lua8
-rw-r--r--games/tome4/files/patch-src__web.c11
4 files changed, 4 insertions, 24 deletions
diff --git a/games/tome4/Makefile b/games/tome4/Makefile
index de3f7a3c1ef2..47d98a3e3c47 100644
--- a/games/tome4/Makefile
+++ b/games/tome4/Makefile
@@ -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
diff --git a/games/tome4/distinfo b/games/tome4/distinfo
index 4550bc37508d..6bf14bf5e7a8 100644
--- a/games/tome4/distinfo
+++ b/games/tome4/distinfo
@@ -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
diff --git a/games/tome4/files/patch-build__te4core.lua b/games/tome4/files/patch-build__te4core.lua
index 81a9914c4dcb..5fbb44101076 100644
--- a/games/tome4/files/patch-build__te4core.lua
+++ b/games/tome4/files/patch-build__te4core.lua
@@ -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)
diff --git a/games/tome4/files/patch-src__web.c b/games/tome4/files/patch-src__web.c
deleted file mode 100644
index b5e22b5b426a..000000000000
--- a/games/tome4/files/patch-src__web.c
+++ /dev/null
@@ -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);