As discussed on IRC, I have just done a non-maintainer of
gst-plugins-base0.10 to fix bug#759532. Please find the diff attached.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                 http://www.aurel32.net
diff -Nru gst-plugins-base0.10-0.10.36/debian/changelog gst-plugins-base0.10-0.10.36/debian/changelog
--- gst-plugins-base0.10-0.10.36/debian/changelog	2012-12-04 12:08:57.000000000 +0100
+++ gst-plugins-base0.10-0.10.36/debian/changelog	2014-08-28 21:03:55.000000000 +0200
@@ -1,3 +1,14 @@
+gst-plugins-base0.10 (0.10.36-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload with maintainer permission.
+    + debian/rules: also run libtoolize as part of dh-autoreconf (Closes:
+    #759532).
+    + patches/99_ltmain_as-needed.patch: remove as dh-autreconf will
+    regenerate this file with -Wl,--as-needed which is now the default in
+    Debian.
+
+ -- Aurelien Jarno <aure...@debian.org>  Thu, 28 Aug 2014 21:03:53 +0200
+
 gst-plugins-base0.10 (0.10.36-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch
--- gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch	2012-12-04 12:08:57.000000000 +0100
+++ gst-plugins-base0.10-0.10.36/debian/patches/99_ltmain_as-needed.patch	1970-01-01 01:00:00.000000000 +0100
@@ -1,32 +0,0 @@
-Index: gst-plugins-base0.10-0.10.36/ltmain.sh
-===================================================================
---- gst-plugins-base0.10-0.10.36.orig/ltmain.sh	2012-12-04 11:22:23.710301877 +0100
-+++ gst-plugins-base0.10-0.10.36/ltmain.sh	2012-12-04 11:23:37.102314806 +0100
-@@ -5800,6 +5800,11 @@
- 	arg=$func_stripname_result
- 	;;
- 
-+      -Wl,--as-needed)
-+	deplibs="$deplibs $arg"
-+	continue
-+	;;
-+
-       -Wl,*)
- 	func_stripname '-Wl,' '' "$arg"
- 	args=$func_stripname_result
-@@ -6163,6 +6168,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|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
- 	  if test "$linkmode,$pass" = "prog,link"; then
diff -Nru gst-plugins-base0.10-0.10.36/debian/patches/series gst-plugins-base0.10-0.10.36/debian/patches/series
--- gst-plugins-base0.10-0.10.36/debian/patches/series	2012-12-04 12:08:57.000000000 +0100
+++ gst-plugins-base0.10-0.10.36/debian/patches/series	2014-08-28 20:40:34.000000000 +0200
@@ -1,3 +1,2 @@
 10_gnome-vfs-dav-url.patch
 98_fix-ogg-flac-transition.patch
-99_ltmain_as-needed.patch
diff -Nru gst-plugins-base0.10-0.10.36/debian/rules gst-plugins-base0.10-0.10.36/debian/rules
--- gst-plugins-base0.10-0.10.36/debian/rules	2012-05-02 17:48:18.000000000 +0200
+++ gst-plugins-base0.10-0.10.36/debian/rules	2014-08-28 20:40:34.000000000 +0200
@@ -3,13 +3,11 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
--include /usr/share/cdbs/1/rules/autoreconf.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
 
 export HOME=$(CURDIR)/fake-home
 
-# make autoreconf not call libtoolize since we ship a patch for ltmain.sh
-export LIBTOOLIZE=true
 # make autoreconf not call autopoint since we ship a patch for po/Makefile.in.in
 export AUTOPOINT=true
 

Reply via email to