media-sound/vorbis-tools: Fix examples install dir
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Jun 2018 10:34:23 +0000 (12:34 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Jun 2018 10:42:34 +0000 (12:42 +0200)
Thanks-to: Chris Mayo <aklhfex@gmail.com>
Closes: https://bugs.gentoo.org/533774
Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-sound/vorbis-tools/files/vorbis-tools-1.4.0-docdir.patch [new file with mode: 0644]
media-sound/vorbis-tools/vorbis-tools-1.4.0-r5.ebuild [moved from media-sound/vorbis-tools/vorbis-tools-1.4.0-r4.ebuild with 97% similarity]

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 (file)
index 0000000..d3fdde0
--- /dev/null
@@ -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
similarity index 97%
rename from media-sound/vorbis-tools/vorbis-tools-1.4.0-r4.ebuild
rename to media-sound/vorbis-tools/vorbis-tools-1.4.0-r5.ebuild
index 54d3541a0b8093431c54f43c71a98783c15ad18a..d6b6fef03c7112d0ce48d21f7bd04c5cbf8a38d6 100644 (file)
@@ -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() {