summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2016-05-08 13:59:37 +0100
committerJames Le Cuirot <chewi@gentoo.org>2016-05-08 17:26:47 +0100
commitbe1b18ebfa5b0355faa799cc8ce7eeb7a90d2da3 (patch)
tree9410846b042146f6fd816fb1196cdc24116ebbea /media-video
parentmedia-video/makemkv: Use the l10n eclass to select locales (diff)
downloadgentoo-be1b18ebfa5b0355faa799cc8ce7eeb7a90d2da3.tar.gz
gentoo-be1b18ebfa5b0355faa799cc8ce7eeb7a90d2da3.tar.bz2
gentoo-be1b18ebfa5b0355faa799cc8ce7eeb7a90d2da3.zip
media-video/makemkv: Patch implicit inclusion of sysmacros.h, #580342
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-video')
-rw-r--r--media-video/makemkv/files/makemkv-sysmacros.patch10
-rw-r--r--media-video/makemkv/makemkv-1.9.10.ebuild2
2 files changed, 11 insertions, 1 deletions
diff --git a/media-video/makemkv/files/makemkv-sysmacros.patch b/media-video/makemkv/files/makemkv-sysmacros.patch
new file mode 100644
index 000000000000..9f4edebeda11
--- /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 d1daf39f1681..bafbae6b2c72 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