Package: liboggplay
Version: 0.2.1~git20091227-1.2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu trusty ubuntu-patch

Dear Maintainer,

For the ppc64el architecture in Ubuntu, since this package uses libtool, a full
autoreconf is necessary instead of just config.{sub,guess} updates with
autotools-dev. This is because we need new libtool macros for ppc64el.

In Ubuntu, the attached patch was applied to achieve the following:

  * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by
    getting new libtool macros (still updates config.{sub,guess}).
  * Add AC_CONFIG_MACRO_DIR([m4]) to configure.ac to fix FTBFS while
    autoreconfing.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers trusty-updates
  APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 
'trusty'), (100, 'trusty-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-1-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u liboggplay-0.2.1~git20091227/debian/rules liboggplay-0.2.1~git20091227/debian/rules
--- liboggplay-0.2.1~git20091227/debian/rules
+++ liboggplay-0.2.1~git20091227/debian/rules
@@ -4,17 +4,4 @@
-	dh --with quilt $@
+	dh --with quilt,autoreconf $@
 
 override_dh_strip:
 	dh_strip --dbg-package=liboggplay1-dbg
-
-
-# Untill debhelper supports it
-
-override_dh_auto_configure:
-	ln -sf /usr/share/misc/config.sub .
-	ln -sf /usr/share/misc/config.guess .
-	dh_auto_configure
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -f config.sub config.guess
-
diff -u liboggplay-0.2.1~git20091227/debian/control liboggplay-0.2.1~git20091227/debian/control
--- liboggplay-0.2.1~git20091227/debian/control
+++ liboggplay-0.2.1~git20091227/debian/control
@@ -1,7 +1,7 @@
 Source: liboggplay
 Priority: extra
 Maintainer: John Francesco Ferlito <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), autotools-dev, pkg-config, liboggz-dev, libfishsound-dev, libtheora-dev, libkate-dev, libsndfile-dev
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), dh-autoreconf, pkg-config, liboggz-dev, libfishsound-dev, libtheora-dev, libkate-dev, libsndfile-dev
 Standards-Version: 3.8.3
 Section: libs
 
diff -u liboggplay-0.2.1~git20091227/debian/patches/series liboggplay-0.2.1~git20091227/debian/patches/series
--- liboggplay-0.2.1~git20091227/debian/patches/series
+++ liboggplay-0.2.1~git20091227/debian/patches/series
@@ -1,2 +1,3 @@
+macro-directory
 CVE-2009-3388
 CVE-2009-3378
only in patch2:
unchanged:
--- liboggplay-0.2.1~git20091227.orig/debian/patches/macro-directory
+++ liboggplay-0.2.1~git20091227/debian/patches/macro-directory
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -12,6 +12,8 @@
+ SHARED_VERSION_INFO="2:0:1"
+ SHLIB_VERSION_ARG=""
+ 
++AC_CONFIG_MACRO_DIR([m4])
++
+ # Checks for programs
+ AC_PROG_CC
+ AC_PROG_LIBTOOL

Reply via email to