[SCM] audacious/master: Applied patch given in bug #659820 (fix ftbfs on sparc)

davromaniak-guest at users.alioth.debian.org davromaniak-guest at users.alioth.debian.org
Fri Feb 17 08:59:39 UTC 2012


The following commit has been merged in the master branch:
commit 868429eecc8e4e3bcc4240c9c50319e1c8c6b4e8
Author: Cyril Lavier <cyril.lavier at davromaniak.eu>
Date:   Fri Feb 17 09:56:07 2012 +0100

    Applied patch given in bug #659820 (fix ftbfs on sparc)

diff --git a/debian/rules b/debian/rules
index aa40db2..cd8944e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,10 @@ endif
 # Do not link against unused libraries (make dpkg-shlibdeps happy).
 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
 
+ifeq ($(DEB_BUILD_ARCH),sparc)
+export CFLAGS += -O1
+endif
+
 %:
 	dh $@ --with autotools_dev --parallel
 
@@ -24,3 +28,7 @@ override_dh_installdirs:
 	mkdir -p debian/tmp/usr/share/pixmaps
 	convert pixmaps/audacious.png -resize 16x16 debian/tmp/usr/share/pixmaps/audacious-16.xpm
 	convert pixmaps/audacious.png -resize 32x32 debian/tmp/usr/share/pixmaps/audacious-32.xpm
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f src/libaudcore/audio.h

-- 
Small and fast audio player which supports lots of formats



More information about the pkg-multimedia-commits mailing list