[med-svn] [libcereal] 01/04: Do not set -Werror which makes build fail when using gcc-7

Andreas Tille tille at debian.org
Thu Aug 31 21:35:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to tag debian/1.2.1-3
in repository libcereal.

commit 12a9e307b73549d6d714e7addc04f61e8ef580ee
Author: Andreas Tille <tille at debian.org>
Date:   Thu Aug 31 23:26:38 2017 +0200

    Do not set -Werror which makes build fail when using gcc-7
---
 debian/changelog                |  8 ++++++++
 debian/patches/no_-Werror.patch | 16 ++++++++++++++++
 debian/patches/series           |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9a80a9c..be62de1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libcereal (1.2.1-3) UNRELEASED; urgency=medium
+
+  * Team upload
+  * Do not set -Werror which makes build fail when using gcc-7
+    Closes: #853486
+
+ -- Andreas Tille <tille at debian.org>  Thu, 31 Aug 2017 23:24:39 +0200
+
 libcereal (1.2.1-2) unstable; urgency=medium
 
   * Make Doxygen docs reproducible.
diff --git a/debian/patches/no_-Werror.patch b/debian/patches/no_-Werror.patch
new file mode 100644
index 0000000..c6fb47d
--- /dev/null
+++ b/debian/patches/no_-Werror.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+last-Update: Thu, 31 Aug 2017 23:24:39 +0200
+Bug-Debian: https://bugs.debian.org/853486
+Description: Do not set -Werror which makes build fail when using gcc-7
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -17,7 +17,7 @@ endif()
+ option(ONLY_TESTS "Don't build docs, or sandbox" OFF)
+ 
+ if(NOT MSVC)
+-    set(CMAKE_CXX_FLAGS "-Wall -Werror -g -Wextra -Wshadow -pedantic ${CMAKE_CXX_FLAGS}")
++    set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic ${CMAKE_CXX_FLAGS}")
+     if(CMAKE_VERSION VERSION_LESS 3.1)
+         set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
+     else()
diff --git a/debian/patches/series b/debian/patches/series
index 9b39e8f..92ff309 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 reproducible-doxygen
 drop-google-analytics
 add-only-tests-target
+no_-Werror.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libcereal.git



More information about the debian-med-commit mailing list