summaryrefslogtreecommitdiff
path: root/multimedia/ldvd/files
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ldvd/files')
-rw-r--r--multimedia/ldvd/files/patch-ldvd11
-rw-r--r--multimedia/ldvd/files/patch-ldvd-ls.c34
2 files changed, 0 insertions, 45 deletions
diff --git a/multimedia/ldvd/files/patch-ldvd b/multimedia/ldvd/files/patch-ldvd
deleted file mode 100644
index 038d776b469a..000000000000
--- a/multimedia/ldvd/files/patch-ldvd
+++ /dev/null
@@ -1,11 +0,0 @@
---- ldvd.orig Fri Jan 20 00:47:51 2006
-+++ ldvd Fri Jan 20 00:49:53 2006
-@@ -1325,7 +1325,7 @@
- elsif ($SETTINGS{'BURN_MODE'} == 2) ## DVD brennen
- { my $dvd_device = $brenner_entry->get_text ();
- if ($dvd_device ne "" && -d $SETTINGS{'PATH'} . "/" . $DVD_INFO{'DISC_TITLE'} . "/dvd")
-- { my $extra_opts = " -V \'" . $entry_title->get_text () . "\' -dvd-video -udf";
-+ { my $extra_opts = " -V \'" . $entry_title->get_text () . "\' -dvd-video -use-the-force-luke=dao -udf";
- if ($SETTINGS{'DVD_COMPAT'} == 1)
- { $extra_opts .= " -dvd-compat";
- }
diff --git a/multimedia/ldvd/files/patch-ldvd-ls.c b/multimedia/ldvd/files/patch-ldvd-ls.c
deleted file mode 100644
index 002ca12bc748..000000000000
--- a/multimedia/ldvd/files/patch-ldvd-ls.c
+++ /dev/null
@@ -1,34 +0,0 @@
---- ldvd-ls.c.orig Thu Dec 8 22:09:02 2005
-+++ ldvd-ls.c Thu Dec 8 22:51:43 2005
-@@ -155,18 +155,25 @@
- return -1;
- }
-
-- if ( fseek(filehandle, 32808, SEEK_SET )) {
-+ if ( fseek(filehandle, 32768, SEEK_SET )) {
- fclose(filehandle);
- fprintf(stderr, "Couldn't seek in %s for title\n", dvd_device);
- strcpy(title, "unknown");
- return -1;
- }
-
-- if ( 32 != (i = fread(title, 1, 32, filehandle)) ) {
-- fclose(filehandle);
-- fprintf(stderr, "Couldn't read enough bytes for title.\n");
-- strcpy(title, "unknown");
-- return -1;
-+ {
-+ #define DVD_SEC_SIZ 2048
-+ char tempBuf[ DVD_SEC_SIZ ];
-+
-+ if ( DVD_SEC_SIZ != fread(tempBuf, 1, DVD_SEC_SIZ, filehandle) ) {
-+ fclose(filehandle);
-+ fprintf(stderr, "Couldn't read enough bytes for title.\n");
-+ strcpy(title, "unknown");
-+ return -1;
-+ }
-+ snprintf( title, 32, "%s", tempBuf + 40 );
-+ i=32;
- }
-
- fclose (filehandle);