Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131837 - media-libs/glut should link with libGLU (for --as-needed)
Summary: media-libs/glut should link with libGLU (for --as-needed)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed 122638
  Show dependency tree
 
Reported: 2006-04-30 16:18 UTC by TGL
Modified: 2006-05-16 09:07 UTC (History)
2 users (show)

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


Attachments
files/glut-3.7.1-fix-GLU-linking.patch (glut-3.7.1-fix-GLU-linking.patch,607 bytes, patch)
2006-04-30 16:19 UTC, TGL
Details | Diff
glut-3.7.1-ebuild.patch (glut-3.7.1-ebuild.patch,597 bytes, patch)
2006-04-30 16:19 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2006-04-30 16:18:06 UTC
Here is a patch which makes libglut explicitly linking to libGLU. 
It is needed for compilation of the following packages with -Wl,--as-needed (and binutils-2.16.92, not sure for previous versions since they complain less about unresolved symbols in the linked-to libs):

games-action/glaxium-0.5
games-arcade/crack-attack-1.1.14-r1
games-arcade/asteroid-1.1
media-libs/gle-3.0.1-r2

Note that for media-libs/gle, it should avoid the need for the changes proposed in bug #122638.
Comment 1 TGL 2006-04-30 16:19:04 UTC
Created attachment 85868 [details, diff]
files/glut-3.7.1-fix-GLU-linking.patch
Comment 2 TGL 2006-04-30 16:19:29 UTC
Created attachment 85869 [details, diff]
glut-3.7.1-ebuild.patch

patch for the ebuild
Comment 3 TGL 2006-05-01 03:11:50 UTC
CCing games@ since this helps compilation of several games.
Comment 4 TGL 2006-05-01 03:26:57 UTC
I've just checked webcvs.freedesktop.org, and have found they already have this fix:
http://webcvs.freedesktop.org/mesa/Mesa-oldtree/src-glut/Makefile.am?r1=1.19&r2=1.20
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-16 09:07:01 UTC
thanks, I have fixed this in cvs!