From cc415305a049ca523f2a8cf674009fa77c54fee6 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Sat, 14 Nov 2009 12:33:33 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_8_0_0'. --- .../k9copy-kde4/files/patch-libk9copy_k9dvd.cpp | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 multimedia/k9copy-kde4/files/patch-libk9copy_k9dvd.cpp (limited to 'multimedia/k9copy-kde4/files/patch-libk9copy_k9dvd.cpp') diff --git a/multimedia/k9copy-kde4/files/patch-libk9copy_k9dvd.cpp b/multimedia/k9copy-kde4/files/patch-libk9copy_k9dvd.cpp deleted file mode 100644 index 76558a7e5623..000000000000 --- a/multimedia/k9copy-kde4/files/patch-libk9copy_k9dvd.cpp +++ /dev/null @@ -1,32 +0,0 @@ ---- libk9copy/k9dvd.cpp.orig Mon Jan 16 10:40:01 2006 -+++ libk9copy/k9dvd.cpp Mon Jan 16 10:40:33 2006 -@@ -199,7 +199,7 @@ - return -1; - } - -- if ( fseek(filehandle, 32808, SEEK_SET )) { -+ if ( fseek(filehandle, 32768, SEEK_SET )) { - fclose(filehandle); - c=i18n("Couldn't seek in %1 for title\n").arg( dvd_device); - setError(c); -@@ -207,12 +207,19 @@ - return -1; - } - -- if ( 32 != (i = fread(title, 1, 32, filehandle)) ) { -+ { -+ #define DVD_SEC_SIZ 2048 -+ char tempBuf[ DVD_SEC_SIZ ]; -+ if ( DVD_SEC_SIZ != fread(tempBuf, 1, DVD_SEC_SIZ, filehandle) ) { - fclose(filehandle); - // c=tr2i18n("Couldn't read enough bytes for title.\n"); - // setError(c); - strcpy(title, "unknown"); - return 0; -+ } -+ snprintf( title, 32, "%s", tempBuf + 40 ); -+ i=32; -+ - } - - fclose (filehandle); -- cgit v1.2.3