groff: Fix a simple compile error with GCC 4.1.x.

This commit is contained in:
Michael Tremer
2011-09-02 17:37:40 +00:00
parent b48b7254d8
commit bf4b7f6d4a
2 changed files with 15 additions and 0 deletions

View File

@@ -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

View File

@@ -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()