diff options
author | kristerw <kristerw@pkgsrc.org> | 2004-02-18 23:09:03 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2004-02-18 23:09:03 +0000 |
commit | d55a9531235cd7042c064027b6454eff0c4c31b9 (patch) | |
tree | 2b78c97fc95fb502d712d90049a29f595939ef89 /games/wormz/patches/patch-aq | |
parent | fe9817c106f804a131a74c157e90913b5bb31494 (diff) | |
download | pkgsrc-d55a9531235cd7042c064027b6454eff0c4c31b9.tar.gz |
Make this package compile when using gcc 3.3.
Diffstat (limited to 'games/wormz/patches/patch-aq')
-rw-r--r-- | games/wormz/patches/patch-aq | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games/wormz/patches/patch-aq b/games/wormz/patches/patch-aq new file mode 100644 index 00000000000..6a61b12c7cc --- /dev/null +++ b/games/wormz/patches/patch-aq @@ -0,0 +1,32 @@ +$NetBSD: patch-aq,v 1.1 2004/02/18 23:09:03 kristerw Exp $ + +--- XVision/Menu.cc.orig Wed Feb 18 23:18:47 2004 ++++ XVision/Menu.cc Wed Feb 18 23:20:32 2004 +@@ -1,7 +1,7 @@ + #include "Menu.hh" + +-Submenu::Submenu(const char * _text, Group * _submenu=0, +- TextDirection _direction=tdNorth, FontShape _fontshape=fsOblique) ++Submenu::Submenu(const char * _text, Group * _submenu, ++ TextDirection _direction, FontShape _fontshape) + : Label(_text, cmInvalid, TRUE, _direction, _fontshape), submenu(_submenu) + { + if (submenu) +@@ -23,7 +23,7 @@ + } + } + +-Menu::Menu(const Align _align=VAVertical) ++Menu::Menu(const Align _align) + : Group(_align), upmenu(0) + { + AutoCenter = TRUE; +@@ -76,7 +76,7 @@ + } + + MenuItem::MenuItem(const char * _text, const CommandType _cc2 /* = cmInvalid */, +- FontShape _fontshape = fsOblique) ++ FontShape _fontshape) + : Label(_text, _cc2, TRUE, tdNorth, _fontshape) + { + } |