Package: dvgrab
Version: 1.8-2
Severity: serious
Tags: patch

When building 'dvgrab' on amd64/unstable,
I get the following error:

In file included from dvgrab.h:31,
                 from main.cc:75:
filehandler.h:195:33: error: quicktime/quicktime.h: No such file or directory
filehandler.h:213: error: ISO C++ forbids declaration of 'quicktime_t' with no 
type
filehandler.h:213: error: expected ';' before '*' token
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/dvgrab-1.8'
make: *** [build-stamp] Error 2

With the attached patch 'dvgrab' can be compiled on amd64/unstable.

Regards
Andreas Jochens

diff -urN ../tmp-orig/dvgrab-1.8/configure ./configure
--- ../tmp-orig/dvgrab-1.8/configure    2005-04-09 20:56:18.000000000 +0000
+++ ./configure 2005-09-01 07:46:17.000000000 +0000
@@ -6303,7 +6303,7 @@
 
 
 
-for ac_header in quicktime/quicktime.h
+for ac_header in lqt/quicktime.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
diff -urN ../tmp-orig/dvgrab-1.8/configure.in ./configure.in
--- ../tmp-orig/dvgrab-1.8/configure.in 2005-04-09 20:54:32.000000000 +0000
+++ ./configure.in      2005-09-01 07:50:35.000000000 +0000
@@ -67,7 +67,7 @@
        AC_WARN(libdv missing; I make better dv2 AVI files with libdv 0.98 or 
newer installed.)
 ])
 
-AC_CHECK_HEADERS(quicktime/quicktime.h,,
+AC_CHECK_HEADERS(lqt/quicktime.h,,
 [
        AC_WARN(quicktime headers missing; install libquicktime or 
quicktime4linux to support Quicktime files.)
 ])
diff -urN ../tmp-orig/dvgrab-1.8/filehandler.h ./filehandler.h
--- ../tmp-orig/dvgrab-1.8/filehandler.h        2004-07-22 02:25:14.000000000 
+0000
+++ ./filehandler.h     2005-09-01 07:44:02.000000000 +0000
@@ -192,7 +192,7 @@
 };
 
 #ifdef HAVE_LIBQUICKTIME
-#include <quicktime/quicktime.h>
+#include <lqt/quicktime.h>
 
 class QtHandler: public FileHandler
 {


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to