From: Michael Tremer Date: Fri, 2 Sep 2011 17:37:40 +0000 (+0000) Subject: groff: Fix a simple compile error with GCC 4.1.x. X-Git-Tag: v2.9-core54~13^2~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf4b7f6d4a99dfa60693c972a4e10ee94219e277;p=people%2Fms%2Fipfire-2.x.git groff: Fix a simple compile error with GCC 4.1.x. --- diff --git a/lfs/groff b/lfs/groff index 194877e781..a3d13a1608 100644 --- a/lfs/groff +++ b/lfs/groff @@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/$(THISAPP)-debian_fixes-1.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/groff-char_block.patch cd $(DIR_APP) && sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto cd $(DIR_APP) && PAGE=A4 ./configure --prefix=/usr --enable-multibyte --disable-nls diff --git a/src/patches/groff-char_block.patch b/src/patches/groff-char_block.patch new file mode 100644 index 0000000000..9ee78ce910 --- /dev/null +++ b/src/patches/groff-char_block.patch @@ -0,0 +1,14 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=356248 + +--- ./src/devices/grohtml/post-html.cc~ 2006-03-10 16:11:34.000000000 +0000 ++++ ./src/devices/grohtml/post-html.cc 2006-03-10 16:12:11.000000000 +0000 +@@ -261,7 +261,7 @@ + char_block *next; + + char_block(); +- char_block::char_block(int length); ++ char_block(int length); + }; + + char_block::char_block() +