summaryrefslogtreecommitdiff
path: root/debian/patches/0005-Disable-xmllint-for-release-notes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0005-Disable-xmllint-for-release-notes.patch')
-rw-r--r--debian/patches/0005-Disable-xmllint-for-release-notes.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/debian/patches/0005-Disable-xmllint-for-release-notes.patch b/debian/patches/0005-Disable-xmllint-for-release-notes.patch
new file mode 100644
index 0000000000..df874aab67
--- /dev/null
+++ b/debian/patches/0005-Disable-xmllint-for-release-notes.patch
@@ -0,0 +1,40 @@
+From a687b01c0796f9b8a883626a654f31a45a3137ab Mon Sep 17 00:00:00 2001
+From: Balint Reczey <balint@balintreczey.hu>
+Date: Thu, 29 May 2014 23:22:12 +0700
+Subject: [PATCH] Disable xmllint for release-notes
+
+Change-Id: I1148341710f064e1d92e2b0eb60708c4af528f1b
+---
+ cmake/modules/FindASCIIDOC.cmake | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/cmake/modules/FindASCIIDOC.cmake b/cmake/modules/FindASCIIDOC.cmake
+index f414c54..175f2dd 100644
+--- a/cmake/modules/FindASCIIDOC.cmake
++++ b/cmake/modules/FindASCIIDOC.cmake
+@@ -38,6 +38,7 @@ MACRO( ASCIIDOC2HTML _output _asciidocsource _conffile )
+ --destination-dir=${CMAKE_CURRENT_BINARY_DIR}
+ --asciidoc-opts="--conf-file=${CMAKE_CURRENT_SOURCE_DIR}/${_conffile}"
+ --fop
++ --no-xmllint
+ ${A2X_HTML_OPTS}
+ ${_asciidocsource}
+ # Replacing file with itself will fail
+@@ -66,6 +67,7 @@ MACRO( ASCIIDOC2TXT _output _asciidocsource _conffile )
+ --destination-dir=${CMAKE_CURRENT_BINARY_DIR}
+ --asciidoc-opts="--conf-file=${CMAKE_CURRENT_SOURCE_DIR}/${_conffile}"
+ --fop
++ --no-xmllint
+ ${A2X_TEXT_OPTS}
+ --xsltproc-opts '--stringparam generate.toc "article nop"'
+ ${_asciidocsource}
+@@ -93,6 +95,7 @@ MACRO( ASCIIDOC2PDF _output _asciidocsource _conffile _paper )
+ --destination-dir=${CMAKE_CURRENT_BINARY_DIR}
+ --asciidoc-opts="--conf-file=${CMAKE_CURRENT_SOURCE_DIR}/${_conffile}"
+ --fop
++ --no-xmllint
+ ${A2X_HTML_OPTS}
+ --xsltproc-opts "--stringparam paper.type ${_paper} --nonet"
+ --xsl-file=custom_layer_pdf.xsl
+--
+1.9.1