commit:     be1b18ebfa5b0355faa799cc8ce7eeb7a90d2da3
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun May  8 12:59:37 2016 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun May  8 16:26:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be1b18eb

media-video/makemkv: Patch implicit inclusion of sysmacros.h, #580342

Package-Manager: portage-2.2.28

 media-video/makemkv/files/makemkv-sysmacros.patch | 10 ++++++++++
 media-video/makemkv/makemkv-1.9.10.ebuild         |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-video/makemkv/files/makemkv-sysmacros.patch 
b/media-video/makemkv/files/makemkv-sysmacros.patch
new file mode 100644
index 0000000..9f4edeb
--- /dev/null
+++ b/media-video/makemkv/files/makemkv-sysmacros.patch
@@ -0,0 +1,10 @@
+--- makemkv-oss-1.9.10/libabi/src/sys_linux.c.orig     2016-04-15 
21:35:36.000000000 +0100
++++ makemkv-oss-1.9.10/libabi/src/sys_linux.c  2016-05-08 10:34:07.988650837 
+0100
+@@ -20,6 +20,7 @@
+ */
+ #include <lgpl/sysabi.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
+ #include <string.h>

diff --git a/media-video/makemkv/makemkv-1.9.10.ebuild 
b/media-video/makemkv/makemkv-1.9.10.ebuild
index d1daf39..bafbae6 100644
--- a/media-video/makemkv/makemkv-1.9.10.ebuild
+++ b/media-video/makemkv/makemkv-1.9.10.ebuild
@@ -68,7 +68,7 @@ inherit l10n
 S="${WORKDIR}/makemkv-oss-${PV}"
 
 src_prepare() {
-       PATCHES+=( "${FILESDIR}"/${PN}-{makefile,path}.patch )
+       PATCHES+=( "${FILESDIR}"/${PN}-{makefile,path,sysmacros}.patch )
 
        # Qt5 always trumps Qt4 if it is available. There are no configure
        # options or variables to control this and there is no publicly

Reply via email to