r15217 - in /desktop/unstable/bug-buddy/debian: changelog patches/99_ltmain_as-needed.patch

slomo at users.alioth.debian.org slomo at users.alioth.debian.org
Mon Mar 17 00:17:22 UTC 2008


Author: slomo
Date: Mon Mar 17 00:17:22 2008
New Revision: 15217

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=15217
Log:
* debian/patches/99_ltmain_as-needed.patch:
  + Make --as-needed actually do something on shared libraries.

Added:
    desktop/unstable/bug-buddy/debian/patches/99_ltmain_as-needed.patch
Modified:
    desktop/unstable/bug-buddy/debian/changelog

Modified: desktop/unstable/bug-buddy/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/bug-buddy/debian/changelog?rev=15217&op=diff
==============================================================================
--- desktop/unstable/bug-buddy/debian/changelog (original)
+++ desktop/unstable/bug-buddy/debian/changelog Mon Mar 17 00:17:22 2008
@@ -8,6 +8,8 @@
       - Regenerated for the new version.
   * debian/control.in:
     + Update Standards-Version to 3.7.3, no additional changes needed.
+  * debian/patches/99_ltmain_as-needed.patch:
+    + Make --as-needed actually do something on shared libraries.
 
  -- Sebastian Dröge <slomo at debian.org>  Mon, 17 Mar 2008 01:07:41 +0100
 

Added: desktop/unstable/bug-buddy/debian/patches/99_ltmain_as-needed.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/bug-buddy/debian/patches/99_ltmain_as-needed.patch?rev=15217&op=file
==============================================================================
--- desktop/unstable/bug-buddy/debian/patches/99_ltmain_as-needed.patch (added)
+++ desktop/unstable/bug-buddy/debian/patches/99_ltmain_as-needed.patch Mon Mar 17 00:17:22 2008
@@ -1,0 +1,32 @@
+Index: nautilus-2.18.1/ltmain.sh
+===================================================================
+--- nautilus-2.18.1.orig/ltmain.sh	2006-07-13 09:12:13.000000000 +0200
++++ nautilus-2.18.1/ltmain.sh	2007-06-06 23:36:38.899175453 +0200
+@@ -1794,6 +1794,11 @@
+ 	arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;      
++
+       -Wl,*)
+ 	args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
+ 	arg=
+@@ -2134,6 +2139,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"




More information about the pkg-gnome-commits mailing list