ports/multimedia/transcode/files/patch-dvdread:dvd_reader.c
Tilman Keskinoz 74d2a1519a Update to 0.6.4
Changes:
- update MASTER_SITES since the maintainer changed
- add %%WITH_NASM%% knob to Makefile and pkg-plist to honor WITH_NASM
  option correctly. Attention: WITH_NASM gets set if bin/nasm is
  found but this may not be enough for transcode as nasm >= 0.98.34
  is needed. Checking for bin/nasm-0.98.35 might be a way of achieving
  this but leads to more work when updating nasm itself.
- add WITH_SUBRIP knob suggested by Michael Nottebrock in
  ports/47923 and implemented in ports/48649.
- incorporate dvd_reader.c patch by Atte Peltomaeki which has already
  been added in ports/48649
- remove the transcode.c patch from ports/48649 since it made its way
  into the main distribution
- add threading patch by Andriy Gapon in ports/48126
- pkg-plist update

PR:		50377
Submitted by:	maintainer
2003-04-05 22:53:51 +00:00

19 lines
1 KiB
C

--- dvdread/dvd_reader.c.orig Wed Feb 19 10:27:09 2003
+++ dvdread/dvd_reader.c Wed Feb 19 10:27:36 2003
@@ -140,15 +140,7 @@
dvdcss_error = (char* (*)(dvdcss_handle))
dlsym( dvdcss_library, U_S "dvdcss_error" );
- 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 = 0;
- } else if( !dvdcss_open || !dvdcss_close || !dvdcss_seek ||
+ if( !dvdcss_open || !dvdcss_close || !dvdcss_seek ||
!dvdcss_title || !dvdcss_read || !dvdcss_error ) {
fprintf( stderr, "libdvdread: Unknown incompatible version "