From 3967424f7e40f3423025ddd008b4aab8f3bfdf83 Mon Sep 17 00:00:00 2001 From: jakemsr Date: Thu, 24 Jul 2008 09:37:26 +0000 Subject: [PATCH] * export the UDFFindFile function, and so: - bump shared lib minor and - bump pkgname this will make future libdvdnav updates easier. ok espie --- devel/libdvdread/Makefile | 6 +++--- devel/libdvdread/patches/patch-dvdread_Makefile_in | 12 ++++++++++++ devel/libdvdread/patches/patch-dvdread_dvd_input_c | 12 ++++++------ 3 files changed, 21 insertions(+), 9 deletions(-) create mode 100644 devel/libdvdread/patches/patch-dvdread_Makefile_in diff --git a/devel/libdvdread/Makefile b/devel/libdvdread/Makefile index 8d3fddbef0d..681d1b446f9 100644 --- a/devel/libdvdread/Makefile +++ b/devel/libdvdread/Makefile @@ -1,9 +1,9 @@ -#$OpenBSD: Makefile,v 1.17 2007/09/16 02:53:00 merdely Exp $ +#$OpenBSD: Makefile,v 1.18 2008/07/24 09:37:26 jakemsr Exp $ CATEGORIES= devel COMMENT= accessing DVD files DISTNAME= libdvdread-0.9.7 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 HOMEPAGE= http://www.dtek.chalmers.se/groups/dvd/ MASTER_SITES= ${HOMEPAGE}dist/ @@ -21,7 +21,7 @@ RUN_DEPENDS= ::converters/libdvdcss RUN_DEPENDS= ::converters/libdvd .endif -SHARED_LIBS += dvdread 4.2 # .5.1 +SHARED_LIBS += dvdread 4.3 # .5.1 # GPL PERMIT_DISTFILES_CDROM= Yes diff --git a/devel/libdvdread/patches/patch-dvdread_Makefile_in b/devel/libdvdread/patches/patch-dvdread_Makefile_in new file mode 100644 index 00000000000..6b443db487d --- /dev/null +++ b/devel/libdvdread/patches/patch-dvdread_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-dvdread_Makefile_in,v 1.1 2008/07/24 09:37:26 jakemsr Exp $ +--- dvdread/Makefile.in.orig Thu Jul 17 23:53:21 2008 ++++ dvdread/Makefile.in Fri Jul 18 00:05:22 2008 +@@ -190,7 +190,7 @@ libdvdread_la_SOURCES = dvd_input.c dvd_reader.c dvd_u + 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/devel/libdvdread/patches/patch-dvdread_dvd_input_c b/devel/libdvdread/patches/patch-dvdread_dvd_input_c index 31ccbceefd1..c8968f03593 100644 --- a/devel/libdvdread/patches/patch-dvdread_dvd_input_c +++ b/devel/libdvdread/patches/patch-dvdread_dvd_input_c @@ -1,7 +1,7 @@ -$OpenBSD: patch-dvdread_dvd_input_c,v 1.7 2007/02/03 17:07:07 espie Exp $ ---- dvdread/dvd_input.c.orig Mon Sep 19 15:43:08 2005 -+++ dvdread/dvd_input.c Tue Dec 26 14:54:04 2006 -@@ -45,30 +45,30 @@ int (*dvdinput_read) (dvd_input +$OpenBSD: patch-dvdread_dvd_input_c,v 1.8 2008/07/24 09:37:26 jakemsr Exp $ +--- dvdread/dvd_input.c.orig Mon Sep 19 06:43:08 2005 ++++ dvdread/dvd_input.c Thu Jul 17 23:43:16 2008 +@@ -45,30 +45,30 @@ int (*dvdinput_read) (dvd_input_t, void *, in char * (*dvdinput_error) (dvd_input_t); #ifdef HAVE_DVDCSS_DVDCSS_H @@ -59,7 +59,7 @@ $OpenBSD: patch-dvdread_dvd_input_c,v 1.7 2007/02/03 17:07:07 espie Exp $ { dvd_input_t dev; -@@ -89,9 +89,9 @@ static dvd_input_t css_open(const char * +@@ -89,9 +89,9 @@ static dvd_input_t css_open(const char *target) return NULL; } @@ -72,7 +72,7 @@ $OpenBSD: patch-dvdread_dvd_input_c,v 1.7 2007/02/03 17:07:07 espie Exp $ free(dev); dev = NULL; } -@@ -102,44 +102,44 @@ static dvd_input_t css_open(const char * +@@ -102,44 +102,44 @@ static dvd_input_t css_open(const char *target) /** * return the last error message */