summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch13
-rw-r--r--media-libs/libmtp/libmtp-1.1.19-r2.ebuild (renamed from media-libs/libmtp/libmtp-1.1.19-r1.ebuild)4
2 files changed, 17 insertions, 0 deletions
diff --git a/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
new file mode 100644
index 000000000000..25450079d203
--- /dev/null
+++ b/media-libs/libmtp/files/libmtp-1.1.19-fix-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index fede3e0..d801a47 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -256,7 +256,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ EXTRA_DIST = Doxyfile.in examples.h mainpage.h
+-@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
+ @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
+ all: all-am
+
diff --git a/media-libs/libmtp/libmtp-1.1.19-r1.ebuild b/media-libs/libmtp/libmtp-1.1.19-r2.ebuild
index bf1575d7a256..fd347a6888d2 100644
--- a/media-libs/libmtp/libmtp-1.1.19-r1.ebuild
+++ b/media-libs/libmtp/libmtp-1.1.19-r2.ebuild
@@ -33,6 +33,10 @@ BDEPEND="
DOCS=( AUTHORS README TODO )
+PATCHES=(
+ "${FILESDIR}/${P}-fix-docdir.patch"
+)
+
src_prepare() {
default