summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-10-21 22:59:50 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-10-21 22:59:50 +0000
commit3024bb7374ee7de1ada5fcbd55ee42d61e5a5261 (patch)
tree617987c9775ada10d41a44f3460a1e39fd7a1180 /media-video/dvgrab/files
parentarm/s390/sh stable (diff)
downloadhistorical-3024bb7374ee7de1ada5fcbd55ee42d61e5a5261.tar.gz
historical-3024bb7374ee7de1ada5fcbd55ee42d61e5a5261.tar.bz2
historical-3024bb7374ee7de1ada5fcbd55ee42d61e5a5261.zip
Fixing libquicktime compatibility issue, bug #142107
Package-Manager: portage-2.1.2_pre3-r6
Diffstat (limited to 'media-video/dvgrab/files')
-rw-r--r--media-video/dvgrab/files/digest-dvgrab-1.72
-rw-r--r--media-video/dvgrab/files/dvgrab-libquicktime-compat.patch31
2 files changed, 33 insertions, 0 deletions
diff --git a/media-video/dvgrab/files/digest-dvgrab-1.7 b/media-video/dvgrab/files/digest-dvgrab-1.7
index aad63fd83707..b1b8eaf784af 100644
--- a/media-video/dvgrab/files/digest-dvgrab-1.7
+++ b/media-video/dvgrab/files/digest-dvgrab-1.7
@@ -1 +1,3 @@
MD5 42d14bcc6375774c2623c05530c5a5dd dvgrab-1.7.tar.gz 163596
+RMD160 e3a7ba40ed878f8e79cb6e337295d943eb691497 dvgrab-1.7.tar.gz 163596
+SHA256 68ef6319cbd8bfcb4d148fdffc40e515fe2f9111f70126eafc944da25e6cfcd0 dvgrab-1.7.tar.gz 163596
diff --git a/media-video/dvgrab/files/dvgrab-libquicktime-compat.patch b/media-video/dvgrab/files/dvgrab-libquicktime-compat.patch
new file mode 100644
index 000000000000..3f5c56b2d1e0
--- /dev/null
+++ b/media-video/dvgrab/files/dvgrab-libquicktime-compat.patch
@@ -0,0 +1,31 @@
+--- filehandler.cc 2005/04/18 16:36:07 1.13
++++ filehandler.cc 2006/03/04 05:29:38 1.14
+@@ -788,10 +788,9 @@
+ bool QtHandler::Create( const string& filename )
+ {
+ Init();
+-
+ fd = quicktime_open( const_cast<char*>( filename.c_str() ), 0, 1 );
++ this->filename = filename;
+
+- //if (fd != NULL) FileTracker::GetInstance().Add(filename.c_str());
+ return ( fd != NULL );
+ }
+
+@@ -907,7 +906,7 @@
+ if ( fd )
+ {
+ struct stat file_status;
+- fstat( fileno( fd->stream ), &file_status );
++ stat( filename.c_str(), &file_status );
+ return file_status.st_size;
+ }
+ else
+@@ -945,6 +944,7 @@
+ Close();
+ return false;
+ }
++ filename = s;
+
+ return true;
+ }