summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread/patches
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2008-07-20 23:38:17 +0000
committerdbj <dbj@pkgsrc.org>2008-07-20 23:38:17 +0000
commitb737335fcc0a9c4d9af6fb95c94573b6471f5d9d (patch)
treefa4e0cad1235f4694663502df62ea870de335e97 /multimedia/libdvdread/patches
parent7648dba7fbe0eb1c66dd2d5ee0b7e747f66536e2 (diff)
downloadpkgsrc-b737335fcc0a9c4d9af6fb95c94573b6471f5d9d.tar.gz
add UDFFindFile to exported symbol set
Diffstat (limited to 'multimedia/libdvdread/patches')
-rw-r--r--multimedia/libdvdread/patches/patch-aa13
-rw-r--r--multimedia/libdvdread/patches/patch-ab13
-rw-r--r--multimedia/libdvdread/patches/patch-ac15
3 files changed, 41 insertions, 0 deletions
diff --git a/multimedia/libdvdread/patches/patch-aa b/multimedia/libdvdread/patches/patch-aa
new file mode 100644
index 00000000000..d2c44ddc89f
--- /dev/null
+++ b/multimedia/libdvdread/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 2008/07/20 23:38:17 dbj Exp $
+
+--- dvdread/Makefile.am.orig 2006-10-06 01:12:31.000000000 -0700
++++ dvdread/Makefile.am 2007-05-09 09:53:33.000000000 -0700
+@@ -6,7 +6,7 @@
+ dvdread_internal.h cmd_print.c \
+ md5.c md5.h
+ libdvdread_la_LIBADD = @DL_LIBS@ @CSS_LIBS@
+-libdvdread_la_LDFLAGS = -version-info 5:1:2 -export-symbols-regex "(DVD.*|ifo.*|nav.*|cmd.*)"
++libdvdread_la_LDFLAGS = -version-info 5:1:2 -export-symbols-regex "(DVD.*|ifo.*|nav.*|cmd.*|UDFFindFile)"
+
+ pkgincludedir = $(includedir)/dvdread
+
diff --git a/multimedia/libdvdread/patches/patch-ab b/multimedia/libdvdread/patches/patch-ab
new file mode 100644
index 00000000000..c749607e0cb
--- /dev/null
+++ b/multimedia/libdvdread/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.7 2008/07/20 23:38:17 dbj Exp $
+
+--- dvdread/Makefile.in.orig 2006-10-06 01:14:22.000000000 -0700
++++ dvdread/Makefile.in 2007-05-09 09:53:51.000000000 -0700
+@@ -190,7 +190,7 @@
+ md5.c md5.h
+
+ libdvdread_la_LIBADD = @DL_LIBS@ @CSS_LIBS@
+-libdvdread_la_LDFLAGS = -version-info 5:1:2 -export-symbols-regex "(DVD.*|ifo.*|nav.*|cmd.*)"
++libdvdread_la_LDFLAGS = -version-info 5:1:2 -export-symbols-regex "(DVD.*|ifo.*|nav.*|cmd.*|UDFFindFile)"
+ pkginclude_HEADERS = dvd_reader.h ifo_types.h ifo_read.h \
+ ifo_print.h nav_types.h nav_read.h nav_print.h cmd_print.h
+
diff --git a/multimedia/libdvdread/patches/patch-ac b/multimedia/libdvdread/patches/patch-ac
new file mode 100644
index 00000000000..e200e317572
--- /dev/null
+++ b/multimedia/libdvdread/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.3 2008/07/20 23:38:17 dbj Exp $
+
+--- dvdread/dvd_input.c.orig 2005-09-19 06:43:08.000000000 -0700
++++ dvdread/dvd_input.c 2007-05-09 11:14:08.000000000 -0700
+@@ -333,6 +333,10 @@
+ #else
+
+ dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
++#ifdef __APPLE__
++ if (!dvdcss_library)
++ dvdcss_library = dlopen("libdvdcss.2.dylib", RTLD_LAZY);
++#endif
+
+ if(dvdcss_library != NULL) {
+ #if defined(__OpenBSD__) && !defined(__ELF__)