summaryrefslogtreecommitdiff
path: root/games/py-fife/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'games/py-fife/files/patch-CMakeLists.txt')
-rw-r--r--games/py-fife/files/patch-CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/py-fife/files/patch-CMakeLists.txt b/games/py-fife/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..41fa8522dda2
--- /dev/null
+++ b/games/py-fife/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2019-01-11 17:24:38 UTC
++++ 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 -fastdispatch -dirvtable -fastproxy -keyword -w511 -w473 -w404 -w314)
+
+ set_source_files_properties("${PROJECT_BINARY_DIR}/fife.i" PROPERTIES CPLUSPLUS ON)
+ set(FIFE_SOURCES ${FIFE_CORE_SRC})