summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libdvdread/P00-darwin-css-vlc-dylib.patch')
-rw-r--r--contrib/libdvdread/P00-darwin-css-vlc-dylib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch b/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
new file mode 100644
index 000000000..cb0181517
--- /dev/null
+++ b/contrib/libdvdread/P00-darwin-css-vlc-dylib.patch
@@ -0,0 +1,12 @@
+diff -Naur libdvdread.orig/dvdread/dvd_input.c libdvdread/dvdread/dvd_input.c
+--- libdvdread.orig/dvdread/dvd_input.c 2005-09-19 09:43:08.000000000 -0400
++++ libdvdread/dvdread/dvd_input.c 2009-02-21 10:22:42.000000000 -0500
+@@ -332,7 +332,7 @@
+
+ #else
+
+- dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
++ dvdcss_library = dlopen("/Applications/VLC.app/Contents/MacOS/lib/libdvdcss.2.dylib", RTLD_LAZY);
+
+ if(dvdcss_library != NULL) {
+ #if defined(__OpenBSD__) && !defined(__ELF__)