Formatting warnings thrown by pod2man during the build of rrdtool-1.0.x cause 
the build to fail.

This patch adds '--stderr' to pod2man command in rrdtool-1.0.55/doc/Makefile.am 
which sends the warning to stderr and the build is able to continue.

Signed-off-by John Vogel <jvog...@stny.rr.com>

---diff --git a/libs/rrdtool-1.0.x/patches/030-pod2man-stderr.patch 
b/libs/rrdtool-1.0.x/patches/030-pod2man-stderr.patch
new file mode 100644
index 0000000..feadf3a
--- /dev/null
+++ b/libs/rrdtool-1.0.x/patches/030-pod2man-stderr.patch
@@ -0,0 +1,11 @@
+--- rrdtool-1.0.50/doc/Makefile.am.orig        2013-11-16 11:44:50.940231208 
-0500
++++ rrdtool-1.0.50/doc/Makefile.am     2013-11-16 11:45:09.802229483 -0500
+@@ -35,7 +35,7 @@
+ all-local: link txt man html
+ 
+ .pod.1 .pm.1 .pl.1:
+-      pod2man --release=$(VERSION) --center=RRDtool $<  > $@
++      pod2man --stderr --release=$(VERSION) --center=RRDtool $<  > $@
+ 
+ .1.txt:
+       @NROFF@ -man -Tlp $< > $@ || echo @NROFF@ failed > $@
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to