summaryrefslogtreecommitdiff
path: root/games/wesnoth/patches/patch-ah
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-02-24 13:36:56 +0000
committeradam <adam@pkgsrc.org>2011-02-24 13:36:56 +0000
commita390321e68b25a44a0fff542e259171d2a1e844b (patch)
tree1c747decd06777a4e5d1881c2492c1bfe6d97937 /games/wesnoth/patches/patch-ah
parente410c6e04069ee6bba3c95994ced9a460da8141b (diff)
downloadpkgsrc-a390321e68b25a44a0fff542e259171d2a1e844b.tar.gz
Changes 1.8.5:
* AI: * Fixed bug 16406: Fixed broken AI of SoF 1, and improved upgrade procedure for old-style AI config. * Fixed bug 16585: made AI move in targeting phase even if for some of the 'best' units moves to targets are impossible * Campaigns: * Descent into Darkness: * Made 'Alone at Last' easier. * Legend of Wesmere: * Added another keep in scenario 14. * Editor: * Added a standard click sound for brush bar buttons (bug 15635) * Graphics * Updated portraits for Drake Fighter and Burner * Language and i18n: * Updates fonts: DejaVu 2.32 * Updated translations: Chinese (Simplified), Chinese (Traditional), Czech, Dutch, Estonian, French, Galician, German, Hungarian, Indonesian, Japanese, Lithuanian, Polish, Russian, Serbian, Slovak, Vietnamese * User interface: * Fixed bug 16653: Avoid markup when calculating the text length for ellipse text (Debian bug 547476). * Fix bug 15960 "again", making "Cancel" a separate action and not just a duplicate of "OK." * Fix crash when doing teleport+attack to a fogged village
Diffstat (limited to 'games/wesnoth/patches/patch-ah')
-rw-r--r--games/wesnoth/patches/patch-ah31
1 files changed, 20 insertions, 11 deletions
diff --git a/games/wesnoth/patches/patch-ah b/games/wesnoth/patches/patch-ah
index 619594c4ffa..e9c1c061011 100644
--- a/games/wesnoth/patches/patch-ah
+++ b/games/wesnoth/patches/patch-ah
@@ -1,13 +1,22 @@
-$NetBSD: patch-ah,v 1.1 2010/08/28 20:08:40 adam Exp $
+$NetBSD: patch-ah,v 1.2 2011/02/24 13:36:57 adam Exp $
---- m4/boost.m4.orig 2010-05-27 07:42:52.000000000 +0000
-+++ m4/boost.m4
-@@ -463,7 +463,7 @@ AC_DEFUN([BOOST_GRAPH],
- AC_DEFUN([BOOST_IOSTREAMS],
- [BOOST_FIND_LIB([iostreams], [$1],
- [boost/iostreams/device/file_descriptor.hpp],
-- [boost::iostreams::file_descriptor fd(0); fd.close();])
-+ [boost::iostreams::file_descriptor fd("/dev/null"); fd.close();])
- ])# BOOST_IOSTREAMS
-
+Fix C++ error.
+
+--- src/controller_base.cpp.orig 2011-02-24 12:28:03.000000000 +0000
++++ src/controller_base.cpp
+@@ -54,6 +54,7 @@ void controller_base::handle_event(const
+ if(gui::in_dialog()) {
+ return;
+ }
++ SDL_Event new_event;
+ switch(event.type) {
+ case SDL_KEYDOWN:
+@@ -71,7 +72,6 @@ void controller_base::handle_event(const
+ break;
+ case SDL_MOUSEMOTION:
+ // Ignore old mouse motion events in the event queue
+- SDL_Event new_event;
+ if(SDL_PeepEvents(&new_event,1,SDL_GETEVENT,
+ SDL_EVENTMASK(SDL_MOUSEMOTION)) > 0) {
+ while(SDL_PeepEvents(&new_event,1,SDL_GETEVENT,