Package: dvr
Version: 3.2-5
Severity: serious
Tags: patch

dvr fails to build because it cannot find
<X11/extensions/xf86vmode.h>:

g++ -c -Wall -O2 -I../lib -DQT_THREAD_SUPPORT -DVERSION=\"\" 
-I/usr/include/avifile-0.7 -I/usr/include/qt3 vidmode.cpp
vidmode.cpp:19:38: error: X11/extensions/xf86vmode.h: No such file or directory
vidmode.cpp: In function 'bool setVidMode(int, int, int, int)':
vidmode.cpp:30: error: 'XF86VidModeModeInfo' was not declared in this scope
vidmode.cpp:30: error: 'modes' was not declared in this scope
vidmode.cpp:31: error: 'XF86VidModeModeLine' was not declared in this scope
vidmode.cpp:31: error: expected `;' before 'current_mode'
vidmode.cpp:35: error: 'XF86VidModeGetAllModeLines' was not declared in this 
scope
vidmode.cpp:43: error: 'current_mode' was not declared in this scope
vidmode.cpp:43: error: 'XF86VidModeGetModeLine' was not declared in this scope
vidmode.cpp:47: error: 'XF86VidModeLockModeSwitch' was not declared in this 
scope
vidmode.cpp:48: error: 'XF86VidModeSwitchToMode' was not declared in this scope
vidmode.cpp:49: error: 'XF86VidModeSetViewPort' was not declared in this scope
vidmode.cpp: In function 'void restoreOriginalVidMode()':
vidmode.cpp:77: error: 'XF86VidModeModeInfo' was not declared in this scope
vidmode.cpp:77: error: 'modes' was not declared in this scope
vidmode.cpp:80: error: 'XF86VidModeGetAllModeLines' was not declared in this 
scope
vidmode.cpp:88: error: 'XF86VidModeLockModeSwitch' was not declared in this 
scope
vidmode.cpp:89: error: 'XF86VidModeSwitchToMode' was not declared in this scope

The attached patch makes it build-depend on libxxf86vm-dev, which
contains this header file.

-- 
Matt
diff -u dvr-3.2/debian/control dvr-3.2/debian/control
--- dvr-3.2/debian/control
+++ dvr-3.2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Mark Purcell <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev, libavifile-0.7-dev, 
-              sed, flex, libqt3-compat-headers
+              sed, flex, libqt3-compat-headers, libxxf86vm-dev
 Standards-Version: 3.5.2
 
 Package: dvr

Attachment: signature.asc
Description: Digital signature

Reply via email to