[SCM] crtmpserver/master: drop -Werror from CFLAGS (Closes: #625316)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Tue May 3 11:55:38 UTC 2011


The following commit has been merged in the master branch:
commit 3d3cad8f82fe9105d6ab596397ae57e50523374a
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Tue May 3 13:33:44 2011 +0200

    drop -Werror from CFLAGS (Closes: #625316)

diff --git a/debian/patches/05_dont_Werror.diff b/debian/patches/05_dont_Werror.diff
new file mode 100644
index 0000000..3c3634b
--- /dev/null
+++ b/debian/patches/05_dont_Werror.diff
@@ -0,0 +1,24 @@
+From: Reinhard Tartler <siretart at tauware.de>
+Subject: Don't set -Werror
+Bug-Debian: http://bugs.debian.org/625316
+
+This package builds with -Werror, and GCC 4.6 triggers new warnings
+which will make the package fail to build.  Currently a Debian patch
+just passes
+    -Wno-error=unused-but-set-variable and
+    -Wno-error=unused-but-set-parameter
+to avoid build failures, but this patch will be reverted with the
+GCC 4.6.1 release, and the severity of the report will be raised.
+
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -83,7 +83,7 @@ ADD_DEFINITIONS(-DHAS_MEDIA_NSV)
+ #ADD_DEFINITIONS(-DUSE_MEM_POOL)
+ #ADD_DEFINITIONS(-DDEBUG_MEM_POOL)
+ 
+-SET(GENERIC_FLAGS "-Wall -Werror")
++SET(GENERIC_FLAGS "-Wall")
+ 
+ MESSAGE(STATUS "We have a ${CMAKE_SYSTEM} system")
+ IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
diff --git a/debian/patches/series b/debian/patches/series
index 4f88da6..895772c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+05_dont_Werror.diff
 10_disable_vm_tests_vmtests.diff
 11_change_log_location.diff
 13_disable_lua_config_install.diff

-- 
crtmpserver packaging



More information about the pkg-multimedia-commits mailing list