media-video/makemkv: Patch implicit inclusion of sysmacros.h, #580342
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 8 May 2016 12:59:37 +0000 (13:59 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 8 May 2016 16:26:47 +0000 (17:26 +0100)
Package-Manager: portage-2.2.28

media-video/makemkv/files/makemkv-sysmacros.patch [new file with mode: 0644]
media-video/makemkv/makemkv-1.9.10.ebuild

diff --git a/media-video/makemkv/files/makemkv-sysmacros.patch b/media-video/makemkv/files/makemkv-sysmacros.patch
new file mode 100644 (file)
index 0000000..9f4edeb
--- /dev/null
@@ -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>
index d1daf39f1681ec7c4d6b0d0dc23b7cca2c6e018f..bafbae6b2c7278723028b0bc57a85e8ec85a8be2 100644 (file)
@@ -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