Package: fife / 0.4.2-5

0002-swig4.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Thomas Kowaliczek-Schmer <[email protected]>
Date: Wed, 22 May 2019 16:04:43  0200
Subject: swig4

removed flags that are not supported with swig 4.0

Origin: https://github.com/fifengine/fifengine/commit/d14f232f4cd9a00b05d6872957070e8c020f515d
Bug-Debian: https://bugs.debian.org/953016
---
 CMakeLists.txt | 2  -
 1 file changed, 1 insertion( ), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20fae33..983108f 100644
--- a/CMakeLists.txt
    b/CMakeLists.txt
@@ -897,7  897,7 @@ if(build-python)
   find_package(PythonLibs ${PYTHON_VERSION_STRING} EXACT)
   include_directories(${PYTHON_INCLUDE_PATH})
 
-  set(CMAKE_SWIG_FLAGS -modern -fastdispatch -dirvtable -nosafecstrings -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone -keyword -w511 -w473 -w404 -w314)
   set(CMAKE_SWIG_FLAGS -modern -fastdispatch -dirvtable -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -keyword -w511 -w473 -w404 -w314)
 
   set_source_files_properties("${PROJECT_BINARY_DIR}/fife.i" PROPERTIES CPLUSPLUS ON)
   set(FIFE_SOURCES ${FIFE_CORE_SRC})