nexuiz-2.5.2 fails to build with xf86vidmodeproto 2.3. In 2.3, xf86vmode.h was renamed to xf86vm.h.
see:
http://cgit.freedesktop.org/xorg/proto/ ... 38e0ba3ce1
- Code: Select all
[snip]
x86_64-pc-linux-gnu-gcc -MMD -DLINK_TO_LIBJPEG -DDP_FS_BASEDIR='"/usr/share/games/nexuiz"' -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -march=native -msse4 -msse4.1 -msse4.2 -mcx16 -msahf -O2 -pipe -fno-strict-aliasing -c cl_demo.c -o cl_demo.o
In file included from vid_glx.c:38:
/usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future."
/usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead."
vid_glx.c:40:38: warning: X11/extensions/xf86vmode.h: No such file or directory
vid_glx.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_vidmode'
vid_glx.c: In function 'HandleEvents':
vid_glx.c:507: warning: implicit declaration of function 'XF86VidModeSwitchToMode'
[snip]