summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-06-13 09:09:10 -0400
committerIonen Wolkens <ionen@gentoo.org>2021-06-13 09:12:56 -0400
commit273be50ad54501ff636bee6cff45852c25855594 (patch)
tree648c11fd7931be11f54c063d094c988868ee970c /games-strategy
parentgames-emulation/desmume: remove unused patches (diff)
downloadgentoo-273be50ad54501ff636bee6cff45852c25855594.tar.gz
gentoo-273be50ad54501ff636bee6cff45852c25855594.tar.bz2
gentoo-273be50ad54501ff636bee6cff45852c25855594.zip
games-strategy/widelands: remove unused patches
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/widelands/files/widelands-0.20-boost-1.73.patch22
-rw-r--r--games-strategy/widelands/files/widelands-0.20-glvnd.patch25
2 files changed, 0 insertions, 47 deletions
diff --git a/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch b/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch
deleted file mode 100644
index 99a8c51190b2..000000000000
--- a/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/src/editor/ui_menus/categorized_item_selection_menu.h
-+++ b/src/editor/ui_menus/categorized_item_selection_menu.h
-@@ -124,7 +124,7 @@
-
- UI::Checkbox* cb = create_checkbox(horizontal, descriptions_.get(i));
- cb->set_state(tool_->is_enabled(i));
-- cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, _1));
-+ cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, boost::placeholders::_1));
- checkboxes_[i] = cb;
- horizontal->add(cb);
- horizontal->add_space(kSpacing);
---- a/src/ui_basic/box.cc
-+++ b/src/ui_basic/box.cc
-@@ -104,7 +104,7 @@
- int maxbreadth = mindesiredbreadth_;
-
- for (uint32_t idx = 0; idx < items_.size(); ++idx) {
-- int depth, breadth = 0;
-+ int depth = 0, breadth = 0;
- get_item_desired_size(idx, &depth, &breadth);
-
- totaldepth += depth;
diff --git a/games-strategy/widelands/files/widelands-0.20-glvnd.patch b/games-strategy/widelands/files/widelands-0.20-glvnd.patch
deleted file mode 100644
index 94d1aa3850c7..000000000000
--- a/games-strategy/widelands/files/widelands-0.20-glvnd.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 4661768699c4651df1668fbfe0e24bb02bf10db1 Mon Sep 17 00:00:00 2001
-From: franku <somal@arcor.de>
-Date: Thu, 18 Jul 2019 19:30:34 +0200
-Subject: [PATCH] use link_libraries instead of set(CMAKE_EXE_LINKER_FLAGS...
-
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 5c5ca8a60b..bcff2db2ff 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -181,7 +181,7 @@ endif(OPTION_ASAN)
-
- # This is set to avoid linker errors when using GLVND-libs on Linux
- if("${OpenGL_GL_PREFERENCE}" STREQUAL "GLVND")
-- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGL")
-+ link_libraries("GL")
- add_compile_definitions(WL_USE_GLVND)
- message(STATUS "Adding linker flags for GLVND.")
- endif()
---
-2.25.1
-