[SCM] lv2proc/master: Fix build failure with GCC 4.7

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed May 30 15:14:43 UTC 2012


The following commit has been merged in the master branch:
commit a20315192645da9f3f195d0ecf89cada77c39768
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed May 30 17:10:53 2012 +0200

    Fix build failure with GCC 4.7
    
    Closes: #674352
    Thanks: Matthias Klose

diff --git a/debian/rules b/debian/rules
index 17da52d..e5d6436 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ export LDFLAGS+=-Wl,--as-needed
 %:
 	dh $@ --parallel --with autoreconf
 
+override_dh_auto_configure:
+	CFLAGS="$(shell dpkg-buildflags --get CFLAGS) -std=gnu99" dh_auto_configure
+
 override_dh_auto_clean:
 	rm -rf m4
 	dh_auto_clean

-- 
lv2proc packaging



More information about the pkg-multimedia-commits mailing list