summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-10 12:34:23 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-10 12:42:34 +0200
commit50641c44982386c6d670a52ea6d5cbac87381f3a (patch)
treef011ed18e94d4dbae356bc3cea28cfe3c47cefff /media-sound/vorbis-tools
parentmedia-sound/vorbis-tools: EAPI-6 bump (diff)
downloadgentoo-50641c44982386c6d670a52ea6d5cbac87381f3a.tar.gz
gentoo-50641c44982386c6d670a52ea6d5cbac87381f3a.tar.bz2
gentoo-50641c44982386c6d670a52ea6d5cbac87381f3a.zip
media-sound/vorbis-tools: Fix examples install dir
Thanks-to: Chris Mayo <aklhfex@gmail.com> Closes: https://bugs.gentoo.org/533774 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-sound/vorbis-tools')
-rw-r--r--media-sound/vorbis-tools/files/vorbis-tools-1.4.0-docdir.patch14
-rw-r--r--media-sound/vorbis-tools/vorbis-tools-1.4.0-r5.ebuild (renamed from media-sound/vorbis-tools/vorbis-tools-1.4.0-r4.ebuild)1
2 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/vorbis-tools/files/vorbis-tools-1.4.0-docdir.patch b/media-sound/vorbis-tools/files/vorbis-tools-1.4.0-docdir.patch
new file mode 100644
index 000000000000..d3fdde0e11d7
--- /dev/null
+++ b/media-sound/vorbis-tools/files/vorbis-tools-1.4.0-docdir.patch
@@ -0,0 +1,14 @@
+Thanks-to: Chris Mayo
+https://bugs.gentoo.org/533774
+
+--- a/ogg123/Makefile.am
++++ b/ogg123/Makefile.am
+@@ -19,7 +19,7 @@
+ localedir = $(datadir)/locale
+ DEFS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
+
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = @docdir@
+ mandir = @MANDIR@
+
+ bin_PROGRAMS = ogg123
diff --git a/media-sound/vorbis-tools/vorbis-tools-1.4.0-r4.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.4.0-r5.ebuild
index 54d3541a0b80..d6b6fef03c71 100644
--- a/media-sound/vorbis-tools/vorbis-tools-1.4.0-r4.ebuild
+++ b/media-sound/vorbis-tools/vorbis-tools-1.4.0-r5.ebuild
@@ -34,6 +34,7 @@ PATCHES=(
"${FILESDIR}"/${P}-format-security.patch
"${FILESDIR}"/${P}-CVE-2014-9640.patch
"${FILESDIR}"/${P}-CVE-2014-9638.patch
+ "${FILESDIR}"/${P}-docdir.patch
)
src_prepare() {