Bug 132389 - games-fps/avp fails - gcc-4.1
Bug#: 132389 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: tupone@gentoo.org
Component: Games
URL: 
Summary: games-fps/avp fails - gcc-4.1
Keywords:  
Status Whiteboard: 
Opened: 2006-05-05 14:38 0000
Description:   Opened: 2006-05-05 14:38 0000
emerging avp-cvs fails compiling with gcc-4.1
I'm attaching my tentative fix ebuild/patch file

------- Comment #1 From Tupone Alfredo 2006-05-05 14:39:49 0000 -------
Created an attachment (id=86229) [details]
avp-cvs-20031110-gcc41.patch

------- Comment #2 From SpanKY 2006-05-05 16:57:16 0000 -------
go bug zakk on #gentoo-games to fix this upstream

------- Comment #3 From Mark Loeser 2006-05-10 20:51:55 0000 -------
Looks fine to me.

------- Comment #4 From Tupone Alfredo 2006-06-06 02:58:36 0000 -------
Patch is not complete, need more patching. Sorry if I mis-explained

------- Comment #5 From Chris Gianelloni (RETIRED) 2006-06-06 07:16:31 0000 -------
Once we get a good and working upstream patch, I'll roll up a new snapshot. 
The last patch that was applied upstream is the GCC 3.4 patch from us, so
upstream really is pretty dead.

------- Comment #6 From Michal Sylwester 2006-09-12 10:17:23 0000 -------
Created an attachment (id=96807) [details]
Extended version of previous patch

I was able to compile with this patch.

I just noticed, that the change I made to Makefile may be already fixed by bug
#132389 (with a better fix)

------- Comment #7 From Tristan Heaven 2006-09-18 11:14:43 0000 -------
would this work?

$(shell openal-config --libdir)/libopenal.a

------- Comment #8 From Chris Gianelloni (RETIRED) 2006-09-18 13:43:14 0000 -------
That might work... can someone try it?

------- Comment #9 From Tristan Heaven 2006-09-18 15:55:55 0000 -------
Created an attachment (id=97369) [details]
avp-gentoo.patch

Patch works for me, thanks. Can this go upstream then?

Maybe this one as well
http://dev.gentoo.org/~vapier/patches/avp-cleanup.patch

------- Comment #10 From Chris Gianelloni (RETIRED) 2006-10-06 09:30:04 0000 -------
Tristan, you have this game?  If so, please work this bug.  Also, if these need
to be pushed upstream, I can do so, just let me know.

------- Comment #11 From Tristan Heaven 2006-10-06 11:28:00 0000 -------
Works for me with those two patches. They remove the need for the sed stuff in
the ebuild.

------- Comment #12 From Chris Gianelloni (RETIRED) 2006-10-13 10:01:17 0000 -------
Fixed and patches submitted upstream