File n_hardcode_libdrm_cflags.patch of Package xf86-video-qxl

Author: Stefan Dirsch <sndirsch@suse.de>
Subject: Hardcode libdrm cflags in order to enable KMS support
Reference: bnc#870501

--- configure.ac.orig	2014-04-23 14:59:22.611599882 +0000
+++ configure.ac	2014-04-23 15:13:20.665715986 +0000
@@ -72,7 +72,7 @@
 CFLAGS="$save_CFLAGS"
 
 save_CFLAGS="$CFLAGS"
-CFLAGS="$XORG_CFLAGS"
+CFLAGS="-I/usr/include/libdrm"
 AC_CHECK_HEADER(qxl_drm.h,[QXL_DRM=yes],[QXL_DRM=no],[#include <stdint.h>])
 CFLAGS="$save_CFLAGS"