GNOME Bugzilla – Bug 341486
patch to compile -Wl,--as-needed
Last modified: 2006-05-17 21:25:23 UTC
attached is a patch from Josh Nichols <nichoj@gentoo.org> to compile with LDFLAGS="-Wl,--as-needed". see: http://bugs.gentoo.org/show_bug.cgi?id=128466 http://www.gentoo.org/proj/en/qa/asneeded.xml for more information. Thanks!
Created attachment 65275 [details] [review] totem-1.4.0-as-needed.patch
This patch doesn't apply to recent versions. Could you update this patch to the current CVS HEAD?
looks like almost the entire patch was applied to cvs minus what i'm going to attach.
Created attachment 65682 [details] [review] totem-cvs-makefile.patch for src/Makefile.am
Fixed in gnome-2-14 and HEAD, thanks for the patch. 2006-05-17 Bastien Nocera <hadess@hadess.net> * src/Makefile.am: patch from Josh Nichols <nichoj@gentoo.org> to allow building with LDFLAGS="-Wl,--as-needed" (Closes: #341486)
JhAutobuild just reported a regression from this change; lots of undefined references. See http://jhbuild.bxlug.be/builds/2006-05-17-0011/logs/totem/#build or http://jhbuild.bxlug.be/builds/2006-05-17-0011/logs/totem/build.log for the raw log. (Build host running Debian Sarge)
the patch misses the '\' behind 'backend/libbaconvideowidget.la'