media-gfx/fontforge: fix docs build
authorMike Gilbert <floppym@gentoo.org>
Tue, 28 Apr 2020 00:04:39 +0000 (20:04 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 28 Apr 2020 00:04:39 +0000 (20:04 -0400)
Closes: https://bugs.gentoo.org/716504
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
media-gfx/fontforge/files/fontforge-doc-no-warn-error.patch [new file with mode: 0644]
media-gfx/fontforge/fontforge-20200314.ebuild

diff --git a/media-gfx/fontforge/files/fontforge-doc-no-warn-error.patch b/media-gfx/fontforge/files/fontforge-doc-no-warn-error.patch
new file mode 100644 (file)
index 0000000..ed1526b
--- /dev/null
@@ -0,0 +1,25 @@
+From e8164ed0fa747bfc8e7e80e6ff6b9a34b7c1a33f Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Mon, 27 Apr 2020 20:00:54 -0400
+Subject: [PATCH] doc: do not treat warnings as errors
+
+---
+ doc/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
+index 6c4601a05..e5aeaed4f 100644
+--- a/doc/CMakeLists.txt
++++ b/doc/CMakeLists.txt
+@@ -21,7 +21,7 @@ file(STRINGS manifest.txt _manifest)
+ configure_file(manifest.txt manifest.txt COPYONLY)
+ add_custom_command(OUTPUT sphinx-docs
+-  COMMAND "${Sphinx_BUILD_BINARY}" -q -n -W -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs
++  COMMAND "${Sphinx_BUILD_BINARY}" -q -n -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs
+   DEPENDS ${_manifest}
+ )
+-- 
+2.26.2
+
index bc30b97aa32953b5e1dac79c9541b4850e619353..e3313e06dd2ceb8e9cae79bbd182b3c4f28258e3 100644 (file)
@@ -56,6 +56,7 @@ PATCHES=(
        "${FILESDIR}"/20200314-stylemap.patch
        "${FILESDIR}"/20200314-tilepath.patch
        "${FILESDIR}"/20200314-big-endian.patch
+       "${FILESDIR}"/fontforge-doc-no-warn-error.patch
 )
 
 pkg_setup() {