mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
groff: Fix a simple compile error with GCC 4.1.x.
This commit is contained in:
@@ -71,6 +71,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
@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/$(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/' \
|
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
|
-e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto
|
||||||
cd $(DIR_APP) && PAGE=A4 ./configure --prefix=/usr --enable-multibyte --disable-nls
|
cd $(DIR_APP) && PAGE=A4 ./configure --prefix=/usr --enable-multibyte --disable-nls
|
||||||
|
|||||||
14
src/patches/groff-char_block.patch
Normal file
14
src/patches/groff-char_block.patch
Normal 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()
|
||||||
|
|
||||||
Reference in New Issue
Block a user