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)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: No maintainer - Look at if you want to take care of it
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: ---

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):


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]
Comment 2 TGL 2006-04-30 16:19:29 UTC
Created attachment 85869 [details, diff]

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, and have found they already have this fix:
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-16 09:07:01 UTC
thanks, I have fixed this in cvs!