summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2017-07-22 12:46:30 -0600
committerSteve Dibb <beandog@gentoo.org>2017-07-22 12:46:30 -0600
commitd5b761aba683b18f4c8360fc18d82ab9ebc66c80 (patch)
tree17acb47e7c077934746cf13814594bb124b22bfe /media-video/mkvtoolnix
parentmedia-video/bluray_info: new ebuild (diff)
downloadgentoo-d5b761aba683b18f4c8360fc18d82ab9ebc66c80.tar.gz
gentoo-d5b761aba683b18f4c8360fc18d82ab9ebc66c80.tar.bz2
gentoo-d5b761aba683b18f4c8360fc18d82ab9ebc66c80.zip
media-video/mkvtoolnix:
bug 625936 - fix docbook configure on dash Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'media-video/mkvtoolnix')
-rw-r--r--media-video/mkvtoolnix/files/mkvtoolnix-13.0.0-ac-docbook.patch11
-rw-r--r--media-video/mkvtoolnix/mkvtoolnix-13.0.0-r1.ebuild (renamed from media-video/mkvtoolnix/mkvtoolnix-13.0.0.ebuild)4
2 files changed, 15 insertions, 0 deletions
diff --git a/media-video/mkvtoolnix/files/mkvtoolnix-13.0.0-ac-docbook.patch b/media-video/mkvtoolnix/files/mkvtoolnix-13.0.0-ac-docbook.patch
new file mode 100644
index 000000000000..506c77ceb0f4
--- /dev/null
+++ b/media-video/mkvtoolnix/files/mkvtoolnix-13.0.0-ac-docbook.patch
@@ -0,0 +1,11 @@
+--- mkvtoolnix-13.0.0/ac/ax_docbook.m4.orig 2017-07-22 12:35:22.680493773 -0600
++++ mkvtoolnix-13.0.0/ac/ax_docbook.m4 2017-07-22 12:36:03.293495236 -0600
+@@ -8,7 +8,7 @@
+
+ else
+ AC_MSG_CHECKING([for DocBook XSL root directory])
+- for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh `ls -d /usr/share/{sg,x}ml/docbook/xsl-stylesheets* 2> /dev/null`; do
++ for i in /usr/share/xml/docbook/stylesheet/xsl/nwalsh /usr/share/xml/docbook/stylesheet/nwalsh `ls -d /usr/share/sgml/docbook/xsl-stylesheets* /usr/share/xml/docbook/xsl-stylesheets* 2> /dev/null`; do
+ if test -f "$i/manpages/docbook.xsl"; then
+ DOCBOOK_ROOT="$i"
+ break
diff --git a/media-video/mkvtoolnix/mkvtoolnix-13.0.0.ebuild b/media-video/mkvtoolnix/mkvtoolnix-13.0.0-r1.ebuild
index 210330dc6f2a..d7ce7ee0c8c8 100644
--- a/media-video/mkvtoolnix/mkvtoolnix-13.0.0.ebuild
+++ b/media-video/mkvtoolnix/mkvtoolnix-13.0.0-r1.ebuild
@@ -43,6 +43,10 @@ DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )
"
+PATCHES=(
+ "${FILESDIR}/${P}-ac-docbook.patch"
+)
+
pkg_pretend() {
# https://bugs.gentoo.org/419257
local ver=4.6