Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131848 - media-gfx/pstoedit: fix build with --as-needed
Summary: media-gfx/pstoedit: fix build with --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: TeX project
Depends on: 139024
Blocks: as-needed
  Show dependency tree
Reported: 2006-04-30 17:31 UTC by TGL
Modified: 2007-04-07 01:03 UTC (History)
4 users (show)

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

pstoedit-3.42-as-needed.patch (pstoedit-3.42-as-needed.patch,577 bytes, patch)
2006-04-30 17:31 UTC, TGL
Details | Diff
pstoedit-3.42-ebuild.patch (pstoedit-3.42-ebuild.patch,902 bytes, patch)
2006-04-30 17:32 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 17:31:27 UTC
libpstoedit has some unresolved symbols (from libdl), preventing final linking of the pstoedit binary when using -Wl,--as-needed. This patch fixes that.
Comment 1 TGL 2006-04-30 17:31:45 UTC
Created attachment 85885 [details, diff]
Comment 2 TGL 2006-04-30 17:32:14 UTC
Created attachment 85886 [details, diff]

the ebuild changes
Comment 3 TGL 2006-05-14 05:19:57 UTC
Sent upstream (by email).
Comment 4 Robert Marmorstein 2006-07-14 21:33:00 UTC
Actually, I found that I had to do the sed stuff (for pedantic) AFTER the eautoreconf or the emerge bailed on:

/usr/include/GraphicsMagick/magick/magick_types.h:58: error: ISO C++ does not support 'long long'

Comment 5 François Bissey 2006-12-27 19:43:23 UTC
The patch works for me on ppc but I had to patch the ebuild file by hands as
it has changed since this patch has been made.
Comment 6 brad walker 2007-01-06 09:13:57 UTC
upstream fixed --as-needed w/pstoedit-3.44 (bug #139024).
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-04-06 23:27:48 UTC
(In reply to comment #6)
> upstream fixed --as-needed w/pstoedit-3.44 (bug #139024).

Still fails here vanilla 3.44.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:03:39 UTC
Patch added to pstoedit-3.44 I just committed. Thanks for the fix.