From 8c3b48a2993395147a16c640adce9b1cef7fa9c1 Mon Sep 17 00:00:00 2001
From: YAEGASHI Takeshi <yaegashi@debian.org>
Date: Sat, 15 Feb 2014 19:25:39 +0900
Subject: Add 0001-make-a2x-skip-xmllint.patch


diff --git a/debian/patches/0001-make-a2x-skip-xmllint.patch b/debian/patches/0001-make-a2x-skip-xmllint.patch
new file mode 100644
index 0000000..38f48d5
--- /dev/null
+++ b/debian/patches/0001-make-a2x-skip-xmllint.patch
@@ -0,0 +1,30 @@
+From: YAEGASHI Takeshi <yaegashi@debian.org>
+Date: Sat, 15 Feb 2014 19:15:53 +0900
+Subject: make a2x skip xmllint
+
+Simply avoiding a2x failure caused by xmllint exit code 4 (Validation error).
+---
+ Makefile | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 2dc92df..1dac1ef 100644
+--- a/Makefile
++++ b/Makefile
+@@ -126,13 +126,13 @@ doc-html: $(DOC_HTML)
+ doc-pdf: $(DOC_PDF)
+ 
+ %.5 : %.5.txt
+-	a2x -f manpage $<
++	a2x -L -f manpage $<
+ 
+ $(DOC_HTML): %.html : %.txt
+-	a2x -f xhtml --stylesheet=cgit-doc.css $<
++	a2x -L -f xhtml --stylesheet=cgit-doc.css $<
+ 
+ $(DOC_PDF): %.pdf : %.txt
+-	a2x -f pdf cgitrc.5.txt
++	a2x -L -f pdf cgitrc.5.txt
+ 
+ clean: clean-doc
+ 	$(RM) cgit VERSION CGIT-CFLAGS *.o tags
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0f6683d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-make-a2x-skip-xmllint.patch
-- 
cgit v0.10.1