summaryrefslogtreecommitdiff
path: root/multimedia/vlc/patch-dvdnav-503.diff
blob: 422fc53d03a9562e6cebac2946e56a631e42eade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- modules/access/dvdnav.c.orig	2020-04-07 23:35:05.000000000 +1000
+++ modules/access/dvdnav.c	2020-04-16 22:32:34.175000000 +1000
@@ -59,6 +59,10 @@
 
 
 #include <dvdnav/dvdnav.h>
+/* libdvdnav-5.0.3 doesn't define DVDNAV_VERSION */
+#ifndef DVDNAV_VERSION
+#define DVDNAV_VERSION (50003)
+#endif
 /* Expose without patching headers */
 dvdnav_status_t dvdnav_jump_to_sector_by_time(dvdnav_t *, uint64_t, int32_t);