Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132389

Summary: games-fps/avp fails - gcc-4.1
Product: Gentoo Linux Reporter: Tupone Alfredo <tupone>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: msylwester
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: avp-cvs-20031110-gcc41.patch
Extended version of previous patch
avp-gentoo.patch

Description Tupone Alfredo gentoo-dev 2006-05-05 14:38:53 UTC
emerging avp-cvs fails compiling with gcc-4.1
I'm attaching my tentative fix ebuild/patch file
Comment 1 Tupone Alfredo gentoo-dev 2006-05-05 14:39:49 UTC
Created attachment 86229 [details, diff]
avp-cvs-20031110-gcc41.patch
Comment 2 SpanKY gentoo-dev 2006-05-05 16:57:16 UTC
go bug zakk on #gentoo-games to fix this upstream
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-10 20:51:55 UTC
Looks fine to me.
Comment 4 Tupone Alfredo gentoo-dev 2006-06-06 02:58:36 UTC
Patch is not complete, need more patching. Sorry if I mis-explained
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-06-06 07:16:31 UTC
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 Michal Sylwester 2006-09-12 10:17:23 UTC
Created attachment 96807 [details, diff]
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 Tristan Heaven (RETIRED) gentoo-dev 2006-09-18 11:14:43 UTC
would this work?

$(shell openal-config --libdir)/libopenal.a
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-18 13:43:14 UTC
That might work... can someone try it?
Comment 9 Tristan Heaven (RETIRED) gentoo-dev 2006-09-18 15:55:55 UTC
Created attachment 97369 [details, diff]
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 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-06 09:30:04 UTC
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 Tristan Heaven (RETIRED) gentoo-dev 2006-10-06 11:28:00 UTC
Works for me with those two patches. They remove the need for the sed stuff in the ebuild.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-13 10:01:17 UTC
Fixed and patches submitted upstream