[SCM] naspro-core/master: Get rid of -Werror to avoid build failure with GCC4.6. (Closes: #625399)

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun May 8 10:10:31 UTC 2011


The following commit has been merged in the master branch:
commit aa620a20532bb200e7dfc0da4e0414faab579cbc
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun May 8 12:10:06 2011 +0200

    Get rid of -Werror to avoid build failure with GCC4.6. (Closes: #625399)

diff --git a/debian/patches/0002-gcc46.patch b/debian/patches/0002-gcc46.patch
new file mode 100644
index 0000000..6f0e74b
--- /dev/null
+++ b/debian/patches/0002-gcc46.patch
@@ -0,0 +1,31 @@
+Author: Alessio Treglia <alessio at debian.org>
+Description: Get rid of -Werror to avoid build failure with GCC4.6.
+Bug-Debian: http://bugs.debian.org/625399
+Forwarded: Stefano D'Angelo <zanga.mail at gmail.com>
+---
+ src/Makefile.am   |    2 +-
+ tests/Makefile.am |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- naspro-core.orig/src/Makefile.am
++++ naspro-core/src/Makefile.am
+@@ -7,7 +7,7 @@
+ # See the COPYING file for license conditions.
+ #
+ 
+-AM_CFLAGS = -pedantic -Wall -Werror @THREAD_FLAGS@
++AM_CFLAGS = -pedantic -Wall @THREAD_FLAGS@
+ AM_LDFLAGS = -no-undefined -version-info @API_MAJOR@:@API_MINOR@:@API_MICRO@ \
+ 	     @THREAD_FLAGS@
+ INCLUDES = -I$(top_srcdir)/include
+--- naspro-core.orig/tests/Makefile.am
++++ naspro-core/tests/Makefile.am
+@@ -7,7 +7,7 @@
+ # See the COPYING file for license conditions.
+ #
+ 
+-AM_CFLAGS = -pedantic -Wall -Werror @THREAD_FLAGS@
++AM_CFLAGS = -pedantic -Wall @THREAD_FLAGS@
+ AM_LDFLAGS = -lnacore -L$(top_builddir)/src @THREAD_FLAGS@
+ INCLUDES = -I$(top_srcdir)/include
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5a89e6a..4667a9c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-float_rounding.patch
+0002-gcc46.patch

-- 
naspro-core packaging



More information about the pkg-multimedia-commits mailing list