diff options
author | nia <nia@pkgsrc.org> | 2020-01-06 14:02:33 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-06 14:02:33 +0000 |
commit | 964a287c0f0d4ad34b318a023541f35edbf3815f (patch) | |
tree | 29f67bb81f1e66b257f755a5bc9ad84ae6cfe9c3 /games/wesnoth/patches | |
parent | 77104c4870bf2db300e62a0ef22a195d5b8e0732 (diff) | |
download | pkgsrc-964a287c0f0d4ad34b318a023541f35edbf3815f.tar.gz |
wesnoth: Update to 1.15.2
Release notes:
https://forums.wesnoth.org/viewtopic.php?t=51039
Diffstat (limited to 'games/wesnoth/patches')
-rw-r--r-- | games/wesnoth/patches/patch-src_CMakeLists.txt | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/games/wesnoth/patches/patch-src_CMakeLists.txt b/games/wesnoth/patches/patch-src_CMakeLists.txt index 8ace57eed4a..43567efcb57 100644 --- a/games/wesnoth/patches/patch-src_CMakeLists.txt +++ b/games/wesnoth/patches/patch-src_CMakeLists.txt @@ -1,19 +1,15 @@ -$NetBSD: patch-src_CMakeLists.txt,v 1.1 2018/06/24 16:02:50 adam Exp $ +$NetBSD: patch-src_CMakeLists.txt,v 1.2 2020/01/06 14:02:33 nia Exp $ On macOS, do not build SDLMain.mm; only needed for app bundle. ---- src/CMakeLists.txt.orig 2018-06-10 00:02:23.000000000 +0000 +--- src/CMakeLists.txt.orig 2019-10-20 01:38:25.000000000 +0000 +++ src/CMakeLists.txt -@@ -285,11 +285,7 @@ add_library(wesnoth-game ${LIBRARY_TYPE} - ########### Wesnoth ############### - - if(ENABLE_GAME) -- if(NOT APPLE) -- add_executable(wesnoth WIN32 wesnoth.cpp) -- else() +@@ -302,7 +302,7 @@ if(ENABLE_GAME) + wesnoth-client + -Wl,--end-group) + else() - add_executable(wesnoth WIN32 wesnoth.cpp macosx/SDLMain.mm) -- endif(NOT APPLE) -+ add_executable(wesnoth WIN32 wesnoth.cpp) ++ add_executable(wesnoth WIN32 wesnoth.cpp) - target_link_libraries(wesnoth - wesnoth-client + set(static-libs wesnoth-client + lua |