aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vlc/patch-dvdread-503.diff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2020-04-16 22:51:23 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:31 +0700
commit3a848dc660eee445082c64e712a9cacf99734f6a (patch)
treec27fb8b860d19267f3699f8623a62e659026d1a1 /multimedia/vlc/patch-dvdread-503.diff
parent7867092a0b726938e2fe47902e032908d3042508 (diff)
multimedia/vlc: Updated for version 3.0.9.2
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/vlc/patch-dvdread-503.diff')
-rw-r--r--multimedia/vlc/patch-dvdread-503.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/vlc/patch-dvdread-503.diff b/multimedia/vlc/patch-dvdread-503.diff
new file mode 100644
index 000000000000..81523e682980
--- /dev/null
+++ b/multimedia/vlc/patch-dvdread-503.diff
@@ -0,0 +1,15 @@
+--- modules/access/dvdread.c.orig 2020-03-28 23:39:33.000000000 +1000
++++ modules/access/dvdread.c 2020-04-16 22:10:43.065000000 +1000
+@@ -55,6 +55,12 @@
+ #include <unistd.h>
+
+ #include <dvdread/dvd_reader.h>
++#ifndef DVDREAD_VERSION_CODE
++#define DVDREAD_VERSION_CODE(major, minor, micro) \
++ (((major) * 10000) + \
++ ((minor) * 100) + \
++ ((micro) * 1))
++#endif
+ #include <dvdread/ifo_types.h>
+ #include <dvdread/ifo_read.h>
+ #include <dvdread/nav_read.h>