[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
This commit is contained in:
acinonyx 2011-04-06 19:40:19 +00:00
parent 0d47242575
commit a782db72fd

View File

@ -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: