]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
groff: Fix a simple compile error with GCC 4.1.x.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Sep 2011 17:37:40 +0000 (17:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Sep 2011 17:37:40 +0000 (17:37 +0000)
lfs/groff
src/patches/groff-char_block.patch [new file with mode: 0644]

index 194877e7818d419fc9592276f07711fd73733a17..a3d13a1608183d2b3bd8ecd92d3c40ada6b492e5 100644 (file)
--- 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 (file)
index 0000000..9ee78ce
--- /dev/null
@@ -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()
+