xf86-video-intel: portability patch from Alpine.

Disable some options that are irrelevant and enabled by default.
This commit is contained in:
Juan RP 2015-05-27 10:47:39 +02:00
parent 45a117f215
commit 58bb99e214
2 changed files with 11 additions and 2 deletions

View File

@ -0,0 +1,10 @@
--- src/sna/kgem.c.orig
+++ src/sna/kgem.c
@@ -37,6 +37,7 @@
#include <sys/mman.h>
#include <time.h>
#include <errno.h>
+#define __USE_GNU
#include <fcntl.h>
#include <xf86drm.h>

View File

@ -1,10 +1,9 @@
# Template build file for 'xf86-video-intel'.
pkgname=xf86-video-intel
version=2.99.917
revision=4
revision=5
lib32disabled=yes
build_style=gnu-configure
configure_args="--with-default-accel=sna --enable-kms-only --enable-sna"
hostmakedepends="pkg-config dri2proto"
makedepends="libudev-devel libdrm-devel libpciaccess-devel libXext-devel
libXfixes-devel libXv-devel libXvMC-devel xcb-util-devel MesaLib-devel