tags 672616 patch thanks The package builds fine here with gcc-4.7 on wheezy and sid with the attached patch.
Best regards, Tobias
diff -Nru gforth-0.7.0+ds1/debian/changelog gforth-0.7.0+ds1/debian/changelog --- gforth-0.7.0+ds1/debian/changelog 2011-07-18 16:51:23.000000000 +0200 +++ gforth-0.7.0+ds1/debian/changelog 2012-08-02 03:00:39.000000000 +0200 @@ -1,3 +1,12 @@ +gforth (0.7.0+ds1-6.1) unstable; urgency=low + + * Non-maintainer upload. + * Add patch 11-fix-ftbfs.patch to fix FTBFS with gcc-4.7 and + add Build-Depends: gforth to let it bootstrap itself. + Closes: #672616 + + -- Tobias Hansen <tobias....@gmx.de> Thu, 02 Aug 2012 02:57:48 +0200 + gforth (0.7.0+ds1-6) unstable; urgency=low * Fix the watch file syntax so the +ds1 part is properly stripped off. diff -Nru gforth-0.7.0+ds1/debian/control gforth-0.7.0+ds1/debian/control --- gforth-0.7.0+ds1/debian/control 2011-07-12 14:47:13.000000000 +0200 +++ gforth-0.7.0+ds1/debian/control 2012-08-02 02:57:40.000000000 +0200 @@ -4,7 +4,7 @@ Maintainer: Peter Pentchev <r...@ringlet.net> Build-Depends: debhelper (>= 8.1.3~), autoconf, automake, autotools-dev (>= 20100122.1), dpkg-dev (>= 1.15.7~), - libffcall1-dev, libtool, libltdl-dev + libffcall1-dev, libtool, libltdl-dev, gforth Standards-Version: 3.9.2 Homepage: http://www.complang.tuwien.ac.at/projects/forth.html Vcs-Git: git://gitorious.org/gforth/pkg-debian.git diff -Nru gforth-0.7.0+ds1/debian/patches/11-fix-ftbfs.patch gforth-0.7.0+ds1/debian/patches/11-fix-ftbfs.patch --- gforth-0.7.0+ds1/debian/patches/11-fix-ftbfs.patch 1970-01-01 01:00:00.000000000 +0100 +++ gforth-0.7.0+ds1/debian/patches/11-fix-ftbfs.patch 2012-08-02 03:02:53.000000000 +0200 @@ -0,0 +1,16 @@ +Description: Fix FTBFS with gcc-4.7 +Bug-Debian: http://bugs.debian.org/672616 +Origin: http://www.complang.tuwien.ac.at/viewcvs/cgi-bin/viewcvs.cgi/gforth/prim?sortby=date&r2=1.271&r1=1.270 +Last-Update: 2012-08-02 + +--- a/prim ++++ b/prim +@@ -1950,7 +1950,7 @@ + + newline ( -- c_addr u ) gforth + ""String containing the newline sequence of the host OS"" +-char newline[] = { ++static const char newline[] = { + #if DIRSEP=='/' + /* Unix */ + '\n' diff -Nru gforth-0.7.0+ds1/debian/patches/series gforth-0.7.0+ds1/debian/patches/series --- gforth-0.7.0+ds1/debian/patches/series 2011-07-11 15:49:38.000000000 +0200 +++ gforth-0.7.0+ds1/debian/patches/series 2012-08-02 02:41:48.000000000 +0200 @@ -8,3 +8,4 @@ 08-qrnnd-build.patch 09-elisp-auto-mode.patch 10-engine-subst.patch +11-fix-ftbfs.patch