Browse Source

NMU by Axel Beckert to disable pedantic errors

Héctor García 6 years ago
parent
commit
0c3aa6c230
3 changed files with 21 additions and 0 deletions
  1. 8 0
      debian/changelog
  2. 12 0
      debian/patches/disable-pedantic-errors.patch
  3. 1 0
      debian/patches/series

+ 8 - 0
debian/changelog

@@ -1,3 +1,11 @@
+mssh (2.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to disable pedantic errors. Works around FTBFS with GCC 6.
+    (Closes: #811684)
+
+ -- Axel Beckert <[email protected]>  Thu, 01 Sep 2016 00:11:23 +0200
+
 mssh (2.2-1) unstable; urgency=low
 
   * New upstream version

+ 12 - 0
debian/patches/disable-pedantic-errors.patch

@@ -0,0 +1,12 @@
+Description: Disable pedantic errors to fix FTBFS with GCC 6
+Author: Axel Beckert <[email protected]>
+Bug-Debian: https://bugs.debian.org/811684
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CFLAGS = -pedantic-errors -Werror -Wall -Wfatal-errors -Wwrite-strings
++AM_CFLAGS = -Werror -Wall -Wfatal-errors -Wwrite-strings
+ 
+ AM_CPPFLAGS = $(MSSH_CFLAGS)
+ 

+ 1 - 0
debian/patches/series

@@ -0,0 +1 @@
+disable-pedantic-errors.patch