[SCM] libgroove/master: Fix FTBFS by disabling -Werror.

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Mon Jan 11 23:31:15 UTC 2016


The following commit has been merged in the master branch:
commit 9abb92ebf774c0153dd3f3cee2a325e31d45fdc6
Author: Andreas Cadhalpun <andreas.cadhalpun at googlemail.com>
Date:   Mon Jan 11 20:19:01 2016 -0300

    Fix FTBFS by disabling -Werror.
    
    It is a good practice for development builds, but just causes
    unnecessary build failures for release builds.
    
    Closes: #810564

diff --git a/debian/patches/no-Werror.patch b/debian/patches/no-Werror.patch
new file mode 100644
index 0000000..8acb413
--- /dev/null
+++ b/debian/patches/no-Werror.patch
@@ -0,0 +1,19 @@
+Description: remove Werror 
+ It is harmful in distributions as it causes unnecessary build failures.
+
+Author: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
+Last-Update: <2015-01-09>
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -136,8 +136,8 @@ configure_file (
+   "${PROJECT_BINARY_DIR}/config.h"
+   )
+ 
+-set(LIB_CFLAGS "${C99_C_FLAGS} -pedantic -Werror -Wall -Werror=strict-prototypes -Werror=old-style-definition -Werror=missing-prototypes -D_REENTRANT -D_POSIX_C_SOURCE=200809L")
+-set(EXAMPLE_CFLAGS "${C99_C_FLAGS} -pedantic -Werror -Wall -g")
++set(LIB_CFLAGS "${C99_C_FLAGS} -pedantic -Wall -Werror=strict-prototypes -Werror=old-style-definition -Werror=missing-prototypes -D_REENTRANT -D_POSIX_C_SOURCE=200809L")
++set(EXAMPLE_CFLAGS "${C99_C_FLAGS} -pedantic -Wall -g")
+ set(EXAMPLE_INCLUDES "${PROJECT_SOURCE_DIR}")
+ 
+ add_library(groove SHARED ${LIBGROOVE_SOURCES} ${LIBGROOVE_HEADERS})
diff --git a/debian/patches/series b/debian/patches/series
index 815548a..18ec44d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 gnu-install-dirs.patch
+no-Werror.patch

-- 
libgroove packaging



More information about the pkg-multimedia-commits mailing list