summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-04-27 20:04:39 -0400
committerMike Gilbert <floppym@gentoo.org>2020-04-27 20:04:39 -0400
commitef3571af4382749823339ddf49fdad1ae5b789b5 (patch)
treed937326f26822ac4aa8bbc70db0588ae6683985a /media-gfx/fontforge
parentmedia-gfx/fontforge: fix python extension on big-endian (diff)
downloadgentoo-ef3571af4382749823339ddf49fdad1ae5b789b5.tar.gz
gentoo-ef3571af4382749823339ddf49fdad1ae5b789b5.tar.bz2
gentoo-ef3571af4382749823339ddf49fdad1ae5b789b5.zip
media-gfx/fontforge: fix docs build
Closes: https://bugs.gentoo.org/716504 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r--media-gfx/fontforge/files/fontforge-doc-no-warn-error.patch25
-rw-r--r--media-gfx/fontforge/fontforge-20200314.ebuild1
2 files changed, 26 insertions, 0 deletions
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 <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
+
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() {