diff options
author | vs <vs@FreeBSD.org> | 2004-07-20 15:05:25 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-20 15:05:25 +0000 |
commit | 1931e3912b062f7482a1ba94747fd0f6054a0f1f (patch) | |
tree | b8222882f39a821431fadfd6bfe54f73df1a95f9 /multimedia | |
parent | cc4c3bed4b2c8b1c281727535e6129c88a01613e (diff) | |
download | FreeBSD-ports-1931e3912b062f7482a1ba94747fd0f6054a0f1f.zip FreeBSD-ports-1931e3912b062f7482a1ba94747fd0f6054a0f1f.tar.gz |
Fix dvdcss_crack-detection with dvix[45] or xvid encoding.
PR: ports/54435
Submitted by: Melvyn Sopacua
Approved by: maintainer timeout
Reviewed by: pav
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libdvdread/Makefile | 1 | ||||
-rw-r--r-- | multimedia/libdvdread/files/patch-dvdread::dvd_input.c | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile index 1d0661d..9fba19e 100644 --- a/multimedia/libdvdread/Makefile +++ b/multimedia/libdvdread/Makefile @@ -7,6 +7,7 @@ PORTNAME= libdvdread PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ diff --git a/multimedia/libdvdread/files/patch-dvdread::dvd_input.c b/multimedia/libdvdread/files/patch-dvdread::dvd_input.c new file mode 100644 index 0000000..c45e78f --- /dev/null +++ b/multimedia/libdvdread/files/patch-dvdread::dvd_input.c @@ -0,0 +1,18 @@ +--- dvdread/dvd_input.c.orig Sun Jul 13 14:42:27 2003 ++++ dvdread/dvd_input.c Sun Jul 13 14:42:41 2003 +@@ -297,14 +297,7 @@ + + dvdcss_version = (char **)dlsym(dvdcss_library, U_S "dvdcss_interface_2"); + +- if(dlsym(dvdcss_library, U_S "dvdcss_crack")) { +- fprintf(stderr, +- "libdvdread: Old (pre-0.0.2) version of libdvdcss found.\n" +- "libdvdread: You should get the latest version from " +- "http://www.videolan.org/\n" ); +- dlclose(dvdcss_library); +- dvdcss_library = NULL; +- } else if(!DVDcss_open || !DVDcss_close || !DVDcss_title || !DVDcss_seek ++ if(!DVDcss_open || !DVDcss_close || !DVDcss_title || !DVDcss_seek + || !DVDcss_read || !DVDcss_error || !dvdcss_version) { + fprintf(stderr, "libdvdread: Missing symbols in libdvdcss.so.2, " + "this shouldn't happen !\n"); |