diff --git a/games/fifengine/Makefile b/games/fifengine/Makefile index 860989188a8..b47c10886be 100644 --- a/games/fifengine/Makefile +++ b/games/fifengine/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2020/09/11 06:00:15 kirby Exp $ +# $OpenBSD: Makefile,v 1.13 2020/12/31 14:44:35 sthen Exp $ BROKEN-powerpc =out of memory when compiling fifePYTHON_wrap.cxx BROKEN-sparc64 =out of memory when compiling fifePYTHON_wrap.cxx @@ -8,6 +8,7 @@ COMMENT = 2D game engine GH_ACCOUNT = fifengine GH_PROJECT = fifengine GH_TAGNAME = 0.4.2 +REVISION = 0 CATEGORIES = games diff --git a/games/fifengine/patches/patch-CMakeLists_txt b/games/fifengine/patches/patch-CMakeLists_txt new file mode 100644 index 00000000000..4aa97879024 --- /dev/null +++ b/games/fifengine/patches/patch-CMakeLists_txt @@ -0,0 +1,19 @@ +$OpenBSD: patch-CMakeLists_txt,v 1.1 2020/12/31 14:44:35 sthen Exp $ + +From d14f232f4cd9a00b05d6872957070e8c020f515d Mon Sep 17 00:00:00 2001 +From: Thomas Kowaliczek-Schmer +Date: Wed, 22 May 2019 16:04:43 +0200 +Subject: [PATCH] removed flags that are not supported with swig 4.0 + +Index: CMakeLists.txt +--- CMakeLists.txt.orig ++++ 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})