Package: avifile
Version: 1:0.7.44.20051021-1
Tags: patch
I get a compilation error because bar, foo, ma and mi are not defined.
Turns out that they're used both in the context of HAVE_LIBXXF86VM and
HAVE_LIBXXF86DGA, but they're only defined in HAVE_LIBXXF86VM.
--- samples/qtvidcap/kv4lsetup.cpp~ 2006-03-15 02:56:58.000000000 +0000
+++ samples/qtvidcap/kv4lsetup.cpp 2006-03-15 02:57:01.000000000 +0000
@@ -119,8 +119,11 @@
XVisualInfo* info, xvtemplate;
XWindowAttributes wts;
XPixmapFormatValues* pf;
+#if HAVE_LIBXXF86DGA || HAVE_LIBXXF86VM
+ int bar,foo,ma,mi;
+#endif
#ifdef HAVE_LIBXXF86DGA
- int width,bar,foo,flags,ma,mi;
+ int width,flags;
void* base = 0;
#endif
#ifdef HAVE_LIBXXF86VM
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]