From: Mike Gilbert Date: Tue, 28 Apr 2020 00:04:39 +0000 (-0400) Subject: media-gfx/fontforge: fix docs build X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ef3571af4382749823339ddf49fdad1ae5b789b5;p=gentoo.git media-gfx/fontforge: fix docs build Closes: https://bugs.gentoo.org/716504 Signed-off-by: Mike Gilbert --- 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 index 000000000000..ed1526b62e25 --- /dev/null +++ b/media-gfx/fontforge/files/fontforge-doc-no-warn-error.patch @@ -0,0 +1,25 @@ +From e8164ed0fa747bfc8e7e80e6ff6b9a34b7c1a33f Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +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 + diff --git a/media-gfx/fontforge/fontforge-20200314.ebuild b/media-gfx/fontforge/fontforge-20200314.ebuild index bc30b97aa329..e3313e06dd2c 100644 --- a/media-gfx/fontforge/fontforge-20200314.ebuild +++ b/media-gfx/fontforge/fontforge-20200314.ebuild @@ -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() {