Bug 106258 - new version of lgeneral
Bug#: 106258 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: gunix@comhem.se
Component: Games
URL: 
Summary: new version of lgeneral
Keywords:  
Status Whiteboard: 
Opened: 2005-09-17 03:27 0000
Description:   Opened: 2005-09-17 03:27 0000
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 From Paweł Hajdan jr (ph) 2005-09-19 13:15:28 0000 -------
Created an attachment (id=68826) [details]
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 From Congtat Cia 2005-09-24 23:25:17 0000 -------
lgeneral-1.2_beta4 is released.

------- Comment #3 From gunix@comhem.se 2005-10-06 22:12:23 0000 -------
lgeneral-1.2_beta5 is released.

------- Comment #4 From Marien Zwart (RETIRED) 2005-10-07 08:09:47 0000 -------
Created an attachment (id=70090) [details]
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 From Mr. Bones. 2005-10-10 23:56:22 0000 -------
beta5 has been in portage for a while but I added the patch for current gcc. 
Thanks all.