Control: tags 960371 + pending Dear maintainer,
I've prepared an NMU for fhist (versioned as 1.18-2.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru fhist-1.18/debian/changelog fhist-1.18/debian/changelog --- fhist-1.18/debian/changelog 2015-07-01 10:41:29.000000000 +0300 +++ fhist-1.18/debian/changelog 2020-06-09 09:39:23.000000000 +0300 @@ -1,3 +1,13 @@ +fhist (1.18-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Get rid of crude sed manipulation on bison output + (breaking with bison 3.6.1) and define api.prefix instead, + thanks to Akim Demaille and Andreas Beckmann. (Closes: #960371) + * Build with -g to fix empty fhist-dbgsym. + + -- Adrian Bunk <b...@debian.org> Tue, 09 Jun 2020 09:39:23 +0300 + fhist (1.18-2) unstable; urgency=medium * pass -fgnu89-inline to gcc to fix "FTBFS with GCC-5" (Closes: #777849) diff -Nru fhist-1.18/debian/patches/sanitize-bison.patch fhist-1.18/debian/patches/sanitize-bison.patch --- fhist-1.18/debian/patches/sanitize-bison.patch 1970-01-01 02:00:00.000000000 +0200 +++ fhist-1.18/debian/patches/sanitize-bison.patch 2020-06-09 09:39:21.000000000 +0300 @@ -0,0 +1,36 @@ +Author: Andreas Beckmann <a...@debian.org> +Description: sanitize bison usage + use + %define api.prefix {...} + instead of crude + sed -e 's/[yY][yY]/.../g' + + Thanks to Akim Demaille for the hint! (#960608) + +--- a/Makefile.in ++++ b/Makefile.in +@@ -567,11 +567,11 @@ common/sub/expr_gram.gen.c common/sub/ex + common/sub/expr_gram.y + @echo Expect no conflicts: + $(YACC) -d common/sub/expr_gram.y +- sed -e 's/[yY][yY]/sub_expr_gram_/g' -e '/#include.<stdio.h>/d' \ ++ sed -e '/#include.<stdio.h>/d' \ + -e '/#include.<stdlib.h>/d' -e '/#include.<stddef.h>/d' \ + -e '/#include.<libintl.h>/d' y.tab.c > \ + common/sub/expr_gram.gen.c +- sed -e 's/[yY][yY]/sub_expr_gram_/g' y.tab.h > \ ++ sed -e '' y.tab.h > \ + common/sub/expr_gram.gen.h + rm y.tab.c y.tab.h + +--- a/common/sub/expr_gram.y ++++ b/common/sub/expr_gram.y +@@ -17,6 +17,8 @@ + * <http://www.gnu.org/licenses/>. + */ + ++%define api.prefix {sub_expr_gram_} ++ + %{ + + #include <ac/stdarg.h> diff -Nru fhist-1.18/debian/patches/series fhist-1.18/debian/patches/series --- fhist-1.18/debian/patches/series 1970-01-01 02:00:00.000000000 +0200 +++ fhist-1.18/debian/patches/series 2020-06-09 09:39:21.000000000 +0300 @@ -0,0 +1 @@ +sanitize-bison.patch diff -Nru fhist-1.18/debian/rules fhist-1.18/debian/rules --- fhist-1.18/debian/rules 2015-07-01 10:30:31.000000000 +0300 +++ fhist-1.18/debian/rules 2020-06-09 09:39:23.000000000 +0300 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-fgnu89-inline" +DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-fgnu89-inline -g" include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk