openbsd-ports/games/wesnoth/patches/patch-src_widgets_menu_hpp
jasper 3ebfa6e605 - update wesnoth to 1.8 series
- switch to new depends

looks ok to sthen,
tested by many on ports@
2010-10-12 20:33:17 +00:00

14 lines
449 B
Plaintext

$OpenBSD: patch-src_widgets_menu_hpp,v 1.2 2010/10/12 20:33:18 jasper Exp $
--- src/widgets/menu.hpp.orig Thu Apr 8 11:06:31 2010
+++ src/widgets/menu.hpp Thu Apr 8 11:06:51 2010
@@ -186,6 +186,9 @@ class menu : public scrollarea (public)
void set_max_height(const int new_max_height);
void set_max_width(const int new_max_width);
+ #ifdef nitems
+ #undef nitems
+ #endif
size_t nitems() const { return items_.size(); }
int process();