diff options
author | William Breathitt Gray <vilhelm.gray@gmail.com> | 2020-08-25 15:16:52 -0400 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-08-25 22:54:49 +0100 |
commit | f72fe819a1fddbed90353ec2d95658b1bc98a17b (patch) | |
tree | 19ca2b1d344ddd8a41e8ffdbce28f4f226abe0a2 /games-engines/odamex/files | |
parent | media-video/pipewire: 0.3.10 bump (diff) | |
download | gentoo-f72fe819a1fddbed90353ec2d95658b1bc98a17b.tar.gz gentoo-f72fe819a1fddbed90353ec2d95658b1bc98a17b.tar.bz2 gentoo-f72fe819a1fddbed90353ec2d95658b1bc98a17b.zip |
game-engines/odamex: Version bump to 0.8.3
Closes: https://bugs.gentoo.org/722494
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17258
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-engines/odamex/files')
-rw-r--r-- | games-engines/odamex/files/odamex-0.8.3-Use-C-11-on-odalaunch-target-for-wx-3.0.4-and-up.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games-engines/odamex/files/odamex-0.8.3-Use-C-11-on-odalaunch-target-for-wx-3.0.4-and-up.patch b/games-engines/odamex/files/odamex-0.8.3-Use-C-11-on-odalaunch-target-for-wx-3.0.4-and-up.patch new file mode 100644 index 000000000000..95cdfce51836 --- /dev/null +++ b/games-engines/odamex/files/odamex-0.8.3-Use-C-11-on-odalaunch-target-for-wx-3.0.4-and-up.patch @@ -0,0 +1,29 @@ +From 8b82b887fd1fb17162ad831bbe7a83076187499d Mon Sep 17 00:00:00 2001 +From: Michael Wood <mwoodj@huntsvegas.org> +Date: Tue, 25 Aug 2020 02:34:37 -0500 +Subject: [PATCH] Use C++11 on odalaunch target for wx 3.0.4 and up + +This addresses bug #1311. wxWidgets 3.0.4 requires C++11 support. +--- + odalaunch/CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/odalaunch/CMakeLists.txt b/odalaunch/CMakeLists.txt +index f68a4d4d..4abbe0d8 100644 +--- a/odalaunch/CMakeLists.txt ++++ b/odalaunch/CMakeLists.txt +@@ -32,6 +32,11 @@ endif() + + # Odalaunch target + if(wxWidgets_FOUND) ++ # wxWidgets 3.0.4 requires C++11 ++ if(wxWidgets_VERSION_STRING VERSION_GREATER 3.0.3) ++ set(CMAKE_CXX_STANDARD 11) ++ endif() ++ + add_custom_command( + OUTPUT ${XRCRES_HEADER} + COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/res +-- +2.28.0 + |