r11328 - in /desktop/unstable/metacity/debian: changelog patches/99_ltmain_as-needed.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Wed Jun 6 21:41:19 UTC 2007


Author: joss
Date: Wed Jun  6 21:41:18 2007
New Revision: 11328

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=11328
Log:
* 99_ltmain_as-needed.patch: make --as-needed work for the library
  too.

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

Modified: desktop/unstable/metacity/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/metacity/debian/changelog?rev=11328&op=diff
==============================================================================
--- desktop/unstable/metacity/debian/changelog (original)
+++ desktop/unstable/metacity/debian/changelog Wed Jun  6 21:41:18 2007
@@ -1,3 +1,10 @@
+metacity (1:2.18.3-2) unstable; urgency=low
+
+  * 99_ltmain_as-needed.patch: make --as-needed work for the library
+    too.
+
+ -- Josselin Mouette <joss at debian.org>  Wed, 06 Jun 2007 23:40:52 +0200
+
 metacity (1:2.18.3-1) unstable; urgency=low
 
   * Drop metacity-common postinst as it was scheduled to be dropped post-etch.

Added: desktop/unstable/metacity/debian/patches/99_ltmain_as-needed.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/metacity/debian/patches/99_ltmain_as-needed.patch?rev=11328&op=file
==============================================================================
--- desktop/unstable/metacity/debian/patches/99_ltmain_as-needed.patch (added)
+++ desktop/unstable/metacity/debian/patches/99_ltmain_as-needed.patch Wed Jun  6 21:41:18 2007
@@ -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
+@@ -1784,6 +1784,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=
+@@ -2124,6 +2129,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)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"




More information about the pkg-gnome-commits mailing list