diff -Nru sdl-sound1.2-1.0.3/debian/changelog sdl-sound1.2-1.0.3/debian/changelog --- sdl-sound1.2-1.0.3/debian/changelog 2012-05-08 14:33:11.000000000 -0700 +++ sdl-sound1.2-1.0.3/debian/changelog 2013-03-13 09:18:21.000000000 -0700 @@ -1,3 +1,10 @@ +sdl-sound1.2 (1.0.3-6+libtool) unreleased; urgency=low + + * Update libtool at build time using dh-autoreconf, in order to fix a + build failure on x32. + + -- Daniel Schepler Wed, 13 Mar 2013 09:18:13 -0700 + sdl-sound1.2 (1.0.3-6) unstable; urgency=low [ Felix Geyer ] diff -Nru sdl-sound1.2-1.0.3/debian/control sdl-sound1.2-1.0.3/debian/control --- sdl-sound1.2-1.0.3/debian/control 2012-05-08 12:48:27.000000000 -0700 +++ sdl-sound1.2-1.0.3/debian/control 2013-03-13 09:17:14.000000000 -0700 @@ -13,7 +13,8 @@ libmikmod-dev, libvorbis-dev, libogg-dev, - libspeex-dev + libspeex-dev, + dh-autoreconf Homepage: http://icculus.org/SDL_sound/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-sdl/packages/sdl-sound1.2.git Vcs-Git: git://anonscm.debian.org/pkg-sdl/packages/sdl-sound1.2.git diff -Nru sdl-sound1.2-1.0.3/debian/patches/fix-FTBFS-libm-672012.patch sdl-sound1.2-1.0.3/debian/patches/fix-FTBFS-libm-672012.patch --- sdl-sound1.2-1.0.3/debian/patches/fix-FTBFS-libm-672012.patch 2012-05-08 12:54:09.000000000 -0700 +++ sdl-sound1.2-1.0.3/debian/patches/fix-FTBFS-libm-672012.patch 2013-03-13 09:30:20.000000000 -0700 @@ -4,14 +4,16 @@ Author: Manuel A. Fernandez Montecelo Last-Update: 2012-05-08 Bug-Debian: http://bugs.debian.org/672012 ---- a/Makefile.in -+++ b/Makefile.in -@@ -143,7 +143,7 @@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - INTERFACE_AGE = @INTERFACE_AGE@ --LDFLAGS = @LDFLAGS@ -+LDFLAGS = @LDFLAGS@ -lm - LIBOBJS = @LIBOBJS@ - LIBS = @LIBS@ - LIBTOOL = @LIBTOOL@ +Index: sdl-sound1.2-1.0.3/Makefile.am +=================================================================== +--- sdl-sound1.2-1.0.3.orig/Makefile.am 2008-04-17 11:02:22.000000000 -0700 ++++ sdl-sound1.2-1.0.3/Makefile.am 2013-03-13 09:30:17.000000000 -0700 +@@ -32,7 +32,7 @@ + -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) + libSDL_sound_la_LIBADD = \ + decoders/libdecoders.la \ +- $(TIMIDITY_LIB) $(MPGLIB_LIB) ++ $(TIMIDITY_LIB) $(MPGLIB_LIB) -lm + + EXTRA_DIST = \ + CREDITS \ diff -Nru sdl-sound1.2-1.0.3/debian/rules sdl-sound1.2-1.0.3/debian/rules --- sdl-sound1.2-1.0.3/debian/rules 2012-05-08 12:48:37.000000000 -0700 +++ sdl-sound1.2-1.0.3/debian/rules 2013-03-13 09:23:29.000000000 -0700 @@ -28,7 +28,9 @@ %: - dh $@ --parallel + dh $@ --parallel --with autoreconf + +export AUTOMAKE = automake --foreign override_dh_auto_configure: dh_auto_configure -- $(confflags)