libX11: add a patch from ubuntu that lets libX11 build a postscript file using newer...
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Wed, 6 Apr 2011 19:40:19 +0000 (19:40 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Wed, 6 Apr 2011 19:40:19 +0000 (19:40 +0000)
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

Xorg/xorg/lib/libX11/patches/010-ignore-groff-warnings.patch [new file with mode: 0644]

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 (file)
index 0000000..a83e761
--- /dev/null
@@ -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: