From ee5fa870f34a2d815e0572d06f62d97a4fb88c89 Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Wed, 6 Apr 2011 19:40:19 +0000 Subject: [PATCH] [packages] libX11: add a patch from ubuntu that lets libX11 build a postscript file using newer groff (thanks Russell Senior) This applies to the packages feed. It fixes a case with newer groff returning different warming messages than expected by the libX11 build infrastructure expects. This patch was shamelessly swiped from Ubuntu's package. SVN-Revision: 26501 --- .../libX11/patches/010-ignore-groff-warnings.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Xorg/xorg/lib/libX11/patches/010-ignore-groff-warnings.patch diff --git a/Xorg/xorg/lib/libX11/patches/010-ignore-groff-warnings.patch b/Xorg/xorg/lib/libX11/patches/010-ignore-groff-warnings.patch new file mode 100644 index 0000000000..a83e76150f --- /dev/null +++ b/Xorg/xorg/lib/libX11/patches/010-ignore-groff-warnings.patch @@ -0,0 +1,13 @@ +--- a/specs/troffrules.in 2010-01-15 01:11:36.000000000 +0000 ++++ b/specs/troffrules.in 2011-01-24 21:37:01.000000000 +0000 +@@ -49,7 +49,9 @@ + + .ms.ps: + -$(AM_V_GEN) $(GROFF) -Tps $(GROFF_FLAGS) $< 2> index.$@.raw > $@ +- @if grep '^[^1-9.]' index.$@.raw | grep -v warning; then exit 1; \ ++ @if grep '^[^1-9.]' index.$@.raw | grep -v warning | \ ++ grep -v 'table wider than line width'; \ ++ then exit 1; \ + else test $$? -le 1; fi + + .ms.txt: -- 2.30.2