Control: tags 853548 + pending Dear maintainer,
I've prepared an NMU for mgetty (versioned as 1.1.36-3.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should cancel it. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
diff -u mgetty-1.1.36/debian/changelog mgetty-1.1.36/debian/changelog --- mgetty-1.1.36/debian/changelog +++ mgetty-1.1.36/debian/changelog @@ -1,3 +1,11 @@ +mgetty (1.1.36-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add patch from Hilko Bengen to fix FTBFS with gcc 7. + (Closes: #853548) + + -- Adrian Bunk <b...@debian.org> Sun, 17 Sep 2017 15:06:51 +0300 + mgetty (1.1.36-3) unstable; urgency=medium * Add build-arch and build-indep targets in debian/rules. Closes: #822056 diff -u mgetty-1.1.36/debian/patches/00list mgetty-1.1.36/debian/patches/00list --- mgetty-1.1.36/debian/patches/00list +++ mgetty-1.1.36/debian/patches/00list @@ -31,0 +32,2 @@ + +81-gcc7 only in patch2: unchanged: --- mgetty-1.1.36.orig/debian/patches/81-gcc7 +++ mgetty-1.1.36/debian/patches/81-gcc7 @@ -0,0 +1,79 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## by Hilko Bengen <ben...@debian.org> +## see #853548 +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: make some functions static + +@DPATCH@ +index 8a4b708..4205d33 100644 +--- a/g3/g3cat.c ++++ b/g3/g3cat.c +@@ -67,6 +67,7 @@ void putcode _P2( (code, len), int code, int len ) + } + + #ifdef __GNUC__ ++static + inline + #endif + void putwhitespan _P1( (l), int l ) +@@ -98,6 +99,7 @@ void putwhitespan _P1( (l), int l ) + } + + #ifdef __GNUC__ ++static + inline + #endif + void putblackspan _P1( (l), int l ) +@@ -129,6 +131,7 @@ void putblackspan _P1( (l), int l ) + } + + #ifdef __GNUC__ ++static + inline + #endif + void puteol _P0( void ) /* write byte-aligned EOL */ +diff --git a/g3/pbm2g3.c b/g3/pbm2g3.c +index 283a728..1641782 100644 +--- a/g3/pbm2g3.c ++++ b/g3/pbm2g3.c +@@ -40,6 +40,7 @@ static unsigned int out_hibit = 0; + static int out_byte_tab[ 256 ]; /* for g3 byte reversal */ + + #ifdef __GNUC__ ++static + inline + #endif + void putcode _P2( (code, len), int code, int len ) +@@ -60,6 +61,7 @@ void putcode _P2( (code, len), int code, int len ) + } + + #ifdef __GNUC__ ++static + inline + #endif + void puteol _P0( void ) /* write byte-aligned EOL */ +@@ -69,6 +71,7 @@ void puteol _P0( void ) /* write byte-aligned EOL */ + } + + #ifdef __GNUC__ ++static + inline + #endif + void putwhitespan _P1( (l), int l ) +@@ -99,9 +102,10 @@ void putwhitespan _P1( (l), int l ) + putcode( t_white[l].bit_code, t_white[l].bit_length ); + } + + #ifdef __GNUC__ ++static + inline + #endif + void putblackspan _P1( (l), int l ) + { + if ( l >= 64 ) +-- +2.14.1 + + +--=-=-=--