openbsd-ports/devel/libdvdread/patches/patch-src_dvd_input_c
kmos c0c61baa8c Update libdvdread and libdvdnav to latest versions.
Update HOMEPAGE and MASTER_SITES of libdvdcss.

Tested to play a DVD on my laptop.

From Brad Smith, thanks.

sthen@ "Diff looks good to me but I have no optical drives to test with.."

OK espie@ (maintainer of libdvdread) "Go for it"
2019-05-01 03:51:17 +00:00

15 lines
377 B
Plaintext

$OpenBSD: patch-src_dvd_input_c,v 1.4 2019/05/01 03:51:17 kmos Exp $
Index: src/dvd_input.c
--- src/dvd_input.c.orig
+++ src/dvd_input.c
@@ -282,7 +282,7 @@ int dvdinput_setup(void)
#elif defined(__OS2__)
#define CSS_LIB "dvdcss2.dll"
#else
- #define CSS_LIB "libdvdcss.so.2"
+ #define CSS_LIB "libdvdcss.so.4"
#endif
dvdcss_library = dlopen(CSS_LIB, RTLD_LAZY);