Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106258 - new version of lgeneral
Summary: new version of lgeneral
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 03:27 UTC by gunix
Modified: 2005-10-10 23:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lgeneral-1.2_beta3.patch (lgeneral-1.2_beta3.patch,656 bytes, patch)
2005-09-19 13:15 UTC, Paweł Hajdan, Jr. (RETIRED)
Details | Diff
alternative patch for the compile error (lgeneral-1.2_beta5-gcc-3.4.patch,841 bytes, patch)
2005-10-07 08:09 UTC, Marien Zwart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gunix 2005-09-17 03:27:23 UTC
new version of the best game ever, lgeneral, is out now:

http://lgames.sourceforge.net/index.php?project=LGeneral

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-09-19 13:15:28 UTC
Created attachment 68826 [details, diff]
lgeneral-1.2_beta3.patch

There's a compile problem with the new version, see
http://www.mail-archive.com/linux-gcc@vger.kernel.org/msg00024.html

Attached patch fixes the problem.
Comment 2 Congtat Cia 2005-09-24 23:25:17 UTC
lgeneral-1.2_beta4 is released.
Comment 3 gunix 2005-10-06 22:12:23 UTC
lgeneral-1.2_beta5 is released.
Comment 4 Marien Zwart (RETIRED) gentoo-dev 2005-10-07 08:09:47 UTC
Created attachment 70090 [details, diff]
alternative patch for the compile error

Problem seems to be that lgeneral assumes __FUNCTION__ is treated as a string
literal. According to "info gcc" this is no longer the case for gcc 3.4 and up,
which treat them as variables. The attached patch seems to work, but I've only
tested it on gcc 3.4. Someone should check if it also works on 3.3.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-10-10 23:56:22 UTC
beta5 has been in portage for a while but I added the patch for current gcc. 
Thanks all.