summaryrefslogtreecommitdiffstats
path: root/debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch')
-rw-r--r--debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch b/debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch
new file mode 100644
index 0000000..3bf68b8
--- /dev/null
+++ b/debian/patches/0004-Disable-treat-warnings-as-errors-in-sphinx-build.patch
@@ -0,0 +1,36 @@
+From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@debian.org>
+Date: Wed, 18 May 2022 17:17:57 +0200
+Subject: Disable treat-warnings-as-errors in sphinx-build
+
+---
+ doc/arm/Makefile.in | 1 -
+ doc/man/Makefile.in | 2 --
+ 2 files changed, 3 deletions(-)
+
+diff --git a/doc/arm/Makefile.in b/doc/arm/Makefile.in
+index ce365e3..806f577 100644
+--- a/doc/arm/Makefile.in
++++ b/doc/arm/Makefile.in
+@@ -29,7 +29,6 @@ SPHINXBUILD = @SPHINX_BUILD@
+ SPHINXBUILDDIR = ${builddir}/_build
+
+ common_SPHINXOPTS = \
+- -W \
+ -a \
+ -v \
+ -c "${abs_srcdir}"
+diff --git a/doc/man/Makefile.in b/doc/man/Makefile.in
+index 75794f7..7148293 100644
+--- a/doc/man/Makefile.in
++++ b/doc/man/Makefile.in
+@@ -158,10 +158,8 @@ BIND9_VERSIONSTRING=@BIND9_VERSIONSTRING@
+ # You can set these variables from the command line.
+ SPHINXBUILD = @SPHINX_BUILD@
+ SPHINXBUILDDIR = ${builddir}/_build
+-SPHINX_W = -W
+
+ common_SPHINXOPTS = \
+- $(SPHINX_W) \
+ -a \
+ -v \
+ -c "${abs_srcdir}"