View | Details | Raw Unified | Return to bug 225685
Collapse All | Expand All

(-)Makefile (-3 / +2 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	OpenTomb
4
PORTNAME=	OpenTomb
5
DISTVERSIONPREFIX=	win32-
5
DISTVERSIONPREFIX=	win32-
6
DISTVERSION=	2017-08-05_alpha
6
DISTVERSION=	2018-02-03_alpha
7
CATEGORIES=	games
7
CATEGORIES=	games
8
8
9
MAINTAINER=	pkubaj@anongoth.pl
9
MAINTAINER=	pkubaj@anongoth.pl
Lines 14-22 Link Here
14
14
15
LIB_DEPENDS=	libpng.so:graphics/png
15
LIB_DEPENDS=	libpng.so:graphics/png
16
16
17
USES=		cmake lua openal
17
USE_GITHUB=	yes
18
USE_GITHUB=	yes
18
19
USES=		cmake lua openal
20
USE_SDL=	sdl2
19
USE_SDL=	sdl2
21
LLD_UNSAFE=	yes
20
LLD_UNSAFE=	yes
22
SUB_FILES=	OpenTomb
21
SUB_FILES=	OpenTomb
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1502468625
1
TIMESTAMP = 1517840323
2
SHA256 (OpenTomb-OpenTomb-win32-2017-08-05_alpha_GH0.tar.gz) = 1bb6ded291d35eb0f15a98df9a466780f2ea6848e020156d5cc0062dc13aa656
2
SHA256 (OpenTomb-OpenTomb-win32-2018-02-03_alpha_GH0.tar.gz) = 3b8a81ef6d4cc66d9f41d7657aee8740603648f1c8fd36d0ce97231240b9c167
3
SIZE (OpenTomb-OpenTomb-win32-2017-08-05_alpha_GH0.tar.gz) = 9274258
3
SIZE (OpenTomb-OpenTomb-win32-2018-02-03_alpha_GH0.tar.gz) = 9131835
(-)files/patch-src_world.cpp (-18 lines)
Lines 1-18 Link Here
1
Fix compiling with libc++ and Clang
2
3
src/world.cpp:689:53: error: no viable conversion from '__map_iterator<__tree_iterator<__value_type<unsigned int, [...]>, class std::__1::__tree_node<union
4
      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
5
      *> *, [...]>>'
6
    std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
7
                                                    ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8
--- src/world.cpp.orig	2017-04-23 13:39:54 UTC
9
+++ src/world.cpp
10
@@ -686,7 +686,7 @@ int World_CreateItem(uint32_t item_id, u
11
 
12
 int World_DeleteItem(uint32_t item_id)
13
 {
14
-    std::map<const uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
15
+    std::map<uint32_t, base_item_p>::iterator it = global_world.items_tree.find(item_id);
16
 
17
     if(it != global_world.items_tree.end())
18
     {
(-)pkg-plist (+6 lines)
Lines 192-197 Link Here
192
%%DATADIR%%/scripts/strings/getstring.lua
192
%%DATADIR%%/scripts/strings/getstring.lua
193
%%DATADIR%%/scripts/strings/italian/generic.lua
193
%%DATADIR%%/scripts/strings/italian/generic.lua
194
%%DATADIR%%/scripts/strings/italian/global_items.lua
194
%%DATADIR%%/scripts/strings/italian/global_items.lua
195
%%DATADIR%%/scripts/strings/portuguese-ptbr/generic.lua
196
%%DATADIR%%/scripts/strings/portuguese-ptbr/global_items.lua
197
%%DATADIR%%/scripts/strings/portuguese-ptbr/sys_notify.lua
198
%%DATADIR%%/scripts/strings/portuguese-ptpt/generic.lua
199
%%DATADIR%%/scripts/strings/portuguese-ptpt/global_items.lua
200
%%DATADIR%%/scripts/strings/portuguese-ptpt/sys_notify.lua
195
%%DATADIR%%/scripts/strings/russian/generic.lua
201
%%DATADIR%%/scripts/strings/russian/generic.lua
196
%%DATADIR%%/scripts/strings/russian/global_items.lua
202
%%DATADIR%%/scripts/strings/russian/global_items.lua
197
%%DATADIR%%/scripts/strings/russian/sys_notify.lua
203
%%DATADIR%%/scripts/strings/russian/sys_notify.lua

Return to bug 225685