ports/graphics/libdrm/files/extra-tests_modetest_modetest.c
Niclas Zeising 47be7a61c9 Switch FreeBSD CURRENT to use the new xorg stack (WITH_NEW_XORG=) [0]
If the old xorg stack is still needed, it is possible to add WITHOUT_NEW_XORG=
to /etc/make.conf to get the old version.

Update several xorg related ports, including:
x11/libxcb 1.9.1 -> 1.9.3
graphics/libdrm 2.4.46 -> 2.4.50
x11/pixman 0.30.2 -> 0.32.4
x11/xkeyboard-config 2.9 -> 2.10.1
x11-drivers/xf86-input-keyboard 1.7.0 -> 1.8.0

Fix dissapearing cursor in xf86-video-vmware [2]

Stagify all x11@-owned ports

Bump portrevisions for xf86-* ports due to xserver version change.

Fix fallout from updates where needed.

Thanks to:	all testersi, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/184684 [1], ports/181385 [2]
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [2]
Approved by:	portmgr (bdrewery), core (jhb) [0]
2013-12-16 11:11:09 +00:00

13 lines
323 B
C

--- tests/modetest/modetest.c.orig 2013-09-16 22:56:20.000000000 +0200
+++ tests/modetest/modetest.c 2013-11-07 11:32:10.534114644 +0100
@@ -59,6 +59,10 @@
#include "buffers.h"
+#ifndef HAVE_STRCHRNUL
+char *strchrnul(const char *, int);
+#endif
+
struct crtc {
drmModeCrtc *crtc;
drmModeObjectProperties *props;