aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2018-04-05 09:48:38 +0800
committerwen <wen@FreeBSD.org>2018-04-05 09:48:38 +0800
commit3461c558aff57f6f7de5609f2bf6dd522498c16b (patch)
tree2787834b083270dd641566c069c589e87d875b3d /games
parent76059b4f9063be2caf8bda5b87519435c087f67c (diff)
downloadfreebsd-ports-gnome-3461c558aff57f6f7de5609f2bf6dd522498c16b.tar.gz
freebsd-ports-gnome-3461c558aff57f6f7de5609f2bf6dd522498c16b.tar.zst
freebsd-ports-gnome-3461c558aff57f6f7de5609f2bf6dd522498c16b.zip
- Update to 2018-02-03_alpha
- Moves USES higher to please portlint PR: 225685 Submitted by: pkubaj@anongoth.pl(maintainer)
Diffstat (limited to 'games')
-rw-r--r--games/OpenTomb/Makefile5
-rw-r--r--games/OpenTomb/distinfo6
-rw-r--r--games/OpenTomb/files/patch-src_world.cpp18
-rw-r--r--games/OpenTomb/pkg-plist6
4 files changed, 11 insertions, 24 deletions
diff --git a/games/OpenTomb/Makefile b/games/OpenTomb/Makefile
index f0091a2b67b7..8e49ac8820fc 100644
--- a/games/OpenTomb/Makefile
+++ b/games/OpenTomb/Makefile
@@ -3,7 +3,7 @@
PORTNAME= OpenTomb
DISTVERSIONPREFIX= win32-
-DISTVERSION= 2017-08-05_alpha
+DISTVERSION= 2018-02-03_alpha
CATEGORIES= games
MAINTAINER= pkubaj@anongoth.pl
@@ -14,9 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpng.so:graphics/png
-USE_GITHUB= yes
-
USES= cmake lua openal
+USE_GITHUB= yes
USE_SDL= sdl2
LLD_UNSAFE= yes
SUB_FILES= OpenTomb
diff --git a/games/OpenTomb/distinfo b/games/OpenTomb/distinfo
index b0c3d995a43c..666300f64003 100644
--- a/games/OpenTomb/distinfo
+++ b/games/OpenTomb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1502468625
-SHA256 (OpenTomb-OpenTomb-win32-2017-08-05_alpha_GH0.tar.gz) = 1bb6ded291d35eb0f15a98df9a466780f2ea6848e020156d5cc0062dc13aa656
-SIZE (OpenTomb-OpenTomb-win32-2017-08-05_alpha_GH0.tar.gz) = 9274258
+TIMESTAMP = 1517840323
+SHA256 (OpenTomb-OpenTomb-win32-2018-02-03_alpha_GH0.tar.gz) = 3b8a81ef6d4cc66d9f41d7657aee8740603648f1c8fd36d0ce97231240b9c167
+SIZE (OpenTomb-OpenTomb-win32-2018-02-03_alpha_GH0.tar.gz) = 9131835
diff --git a/games/OpenTomb/files/patch-src_world.cpp b/games/OpenTomb/files/patch-src_world.cpp
deleted file mode 100644
index 6103e2989f8c..000000000000
--- a/games/OpenTomb/files/patch-src_world.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix compiling with libc++ and Clang
-
-src/world.cpp:689:53: error: no viable conversion from '__map_iterator<__tree_iterator<__value_type<unsigned int, [...]>, class std::__1::__tree_node<union
- std::__1::__value_type<unsigned int, struct base_item_s *>, void *> *, [...]>>' to '__map_iterator<__tree_iterator<__value_type<const unsigned int, [...]>, class std::__1::__tree_node<union std::__1::__value_type<const unsigned int, struct base_item_s *>, void
- *> *, [...]>>'
- std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---- src/world.cpp.orig 2017-04-23 13:39:54 UTC
-+++ src/world.cpp
-@@ -686,7 +686,7 @@ int World_CreateItem(uint32_t item_id, u
-
- int World_DeleteItem(uint32_t item_id)
- {
-- std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
-+ std::map<uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
-
- if(it != global_world.items_tree.end())
- {
diff --git a/games/OpenTomb/pkg-plist b/games/OpenTomb/pkg-plist
index b4c9e29b9a65..c7da17c8973a 100644
--- a/games/OpenTomb/pkg-plist
+++ b/games/OpenTomb/pkg-plist
@@ -192,6 +192,12 @@ bin/OpenTomb
%%DATADIR%%/scripts/strings/getstring.lua
%%DATADIR%%/scripts/strings/italian/generic.lua
%%DATADIR%%/scripts/strings/italian/global_items.lua
+%%DATADIR%%/scripts/strings/portuguese-ptbr/generic.lua
+%%DATADIR%%/scripts/strings/portuguese-ptbr/global_items.lua
+%%DATADIR%%/scripts/strings/portuguese-ptbr/sys_notify.lua
+%%DATADIR%%/scripts/strings/portuguese-ptpt/generic.lua
+%%DATADIR%%/scripts/strings/portuguese-ptpt/global_items.lua
+%%DATADIR%%/scripts/strings/portuguese-ptpt/sys_notify.lua
%%DATADIR%%/scripts/strings/russian/generic.lua
%%DATADIR%%/scripts/strings/russian/global_items.lua
%%DATADIR%%/scripts/strings/russian/sys_notify.lua