From a782db72fd444ee006cb7b81c4b3ca5bef8490bd Mon Sep 17 00:00:00 2001 From: acinonyx 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. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26501 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../xorg/lib/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 000000000..a83e76150 --- /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.11.0