diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 21:54:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-16 21:54:47 +0000 |
commit | 9929824e849fd4a1a77e0a760b5b6b315af28b90 (patch) | |
tree | c06c9a2da5e4e251b0c3ae52b3a74e4d099aeda2 /games-strategy/lgeneral/files | |
parent | Changed ebuild ... config to emerge --config for bug #109482. (diff) | |
download | historical-9929824e849fd4a1a77e0a760b5b6b315af28b90.tar.gz historical-9929824e849fd4a1a77e0a760b5b6b315af28b90.tar.bz2 historical-9929824e849fd4a1a77e0a760b5b6b315af28b90.zip |
Fix by ph for build error with gcc-3.x #109476 by Mike Bonar.
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'games-strategy/lgeneral/files')
-rw-r--r-- | games-strategy/lgeneral/files/lgeneral-1.2_beta6-gcc3.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta6-gcc3.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta6-gcc3.patch new file mode 100644 index 000000000000..8106249dce51 --- /dev/null +++ b/games-strategy/lgeneral/files/lgeneral-1.2_beta6-gcc3.patch @@ -0,0 +1,14 @@ +Patch by Mike Bonar to fix building with newer gcc versions + +http://bugs.gentoo.org/109476 + +--- src/main.c ++++ src/main.c +@@ -136,7 +136,6 @@ + case 'h': + if (ctlspec[1] == 0 || strcasecmp(ctlspec, "human") == 0) ctl = PLAYER_CTRL_HUMAN; + break; +- default: + } + if (ctl != PLAYER_CTRL_CPU && ctl != PLAYER_CTRL_HUMAN) + abortf("Invalid player control: %s\n", ctlspec); |