summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-03-20 19:43:11 -0400
committerMike Gilbert <floppym@gentoo.org>2020-03-20 19:43:24 -0400
commit073803ef5f2f587ae607ba0d02d505c95b975059 (patch)
tree39666b99080a9e9382d7b0a4b6f519fabe355ed1 /dev-util/ninja
parentmedia-tv/v4l-utils: patch for -fno-common bug (diff)
downloadgentoo-073803ef5f2f587ae607ba0d02d505c95b975059.tar.gz
gentoo-073803ef5f2f587ae607ba0d02d505c95b975059.tar.bz2
gentoo-073803ef5f2f587ae607ba0d02d505c95b975059.zip
dev-util/ninja: fix doxygen build
Closes: https://bugs.gentoo.org/713720 Package-Manager: Portage-2.3.92_p3, Repoman-2.3.20_p118 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-util/ninja')
-rw-r--r--dev-util/ninja/files/ninja-1.10.0-readme.patch38
-rw-r--r--dev-util/ninja/ninja-1.10.0.ebuild1
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-util/ninja/files/ninja-1.10.0-readme.patch b/dev-util/ninja/files/ninja-1.10.0-readme.patch
new file mode 100644
index 00000000000..1d84f123daf
--- /dev/null
+++ b/dev-util/ninja/files/ninja-1.10.0-readme.patch
@@ -0,0 +1,38 @@
+From b748d085618bf5e802de6a13b07d632d20ab04bf Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Fri, 20 Mar 2020 19:36:01 -0400
+Subject: [PATCH] Replace references to README with README.md
+
+The README file was renamed to README.md in commit
+a37da20ae74c81703b1c811182fc154d95ed46fe.
+---
+ configure.py | 2 +-
+ misc/packaging/ninja.spec | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.py b/configure.py
+index 7d8ce9045..8eef7e6eb 100755
+--- a/configure.py
++++ b/configure.py
+@@ -649,7 +649,7 @@ def has_re2c():
+ command='$doxygen_mainpage_generator $in > $out',
+ description='DOXYGEN_MAINPAGE $out')
+ mainpage = n.build(built('doxygen_mainpage'), 'doxygen_mainpage',
+- ['README', 'COPYING'],
++ ['README.md', 'COPYING'],
+ implicit=['$doxygen_mainpage_generator'])
+ n.build('doxygen', 'doxygen', doc('doxygen.config'),
+ implicit=mainpage)
+diff --git a/misc/packaging/ninja.spec b/misc/packaging/ninja.spec
+index 05f5a079a..36e518186 100644
+--- a/misc/packaging/ninja.spec
++++ b/misc/packaging/ninja.spec
+@@ -32,7 +32,7 @@ cp -p ninja %{buildroot}%{_bindir}/
+
+ %files
+ %defattr(-, root, root)
+-%doc COPYING README doc/manual.html
++%doc COPYING README.md doc/manual.html
+ %{_bindir}/*
+
+ %clean
diff --git a/dev-util/ninja/ninja-1.10.0.ebuild b/dev-util/ninja/ninja-1.10.0.ebuild
index 5e63fdd14f4..1f57d9e412c 100644
--- a/dev-util/ninja/ninja-1.10.0.ebuild
+++ b/dev-util/ninja/ninja-1.10.0.ebuild
@@ -46,6 +46,7 @@ RDEPEND="
PATCHES=(
"${FILESDIR}"/ninja-cflags.patch
+ "${FILESDIR}"/ninja-1.10.0-readme.patch
)
run_for_build() {