summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/xf86-video-intel/Makefile5
-rw-r--r--x11/xf86-video-intel/distinfo10
-rw-r--r--x11/xf86-video-intel/patches/patch-src_backlight.c13
-rw-r--r--x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c12
4 files changed, 33 insertions, 7 deletions
diff --git a/x11/xf86-video-intel/Makefile b/x11/xf86-video-intel/Makefile
index be39b9018de..107ea66312a 100644
--- a/x11/xf86-video-intel/Makefile
+++ b/x11/xf86-video-intel/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2014/05/05 00:48:35 ryoon Exp $
+# $NetBSD: Makefile,v 1.32 2015/03/03 01:02:05 khorben Exp $
-DISTNAME= xf86-video-intel-2.19.0
-PKGREVISION= 1
+DISTNAME= xf86-video-intel-2.99.917
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xf86-video-intel/distinfo b/x11/xf86-video-intel/distinfo
index b28bd44857b..d253820a60a 100644
--- a/x11/xf86-video-intel/distinfo
+++ b/x11/xf86-video-intel/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.22 2013/05/16 06:16:50 richard Exp $
+$NetBSD: distinfo,v 1.23 2015/03/03 01:02:05 khorben Exp $
-SHA1 (xf86-video-intel-2.19.0.tar.bz2) = 131934cf5e90bd48c883804cc644c4cb8b1de100
-RMD160 (xf86-video-intel-2.19.0.tar.bz2) = df7a6797cc74af57c751905e3ce65be35de43e5c
-Size (xf86-video-intel-2.19.0.tar.bz2) = 1463260 bytes
+SHA1 (xf86-video-intel-2.99.917.tar.bz2) = 9af9ded7a29026c211e5eb50a547e3e33976301d
+RMD160 (xf86-video-intel-2.99.917.tar.bz2) = dd443e9e87286bbc454f4231a7a5d7c9bb2488a1
+Size (xf86-video-intel-2.99.917.tar.bz2) = 2259040 bytes
+SHA1 (patch-src_backlight.c) = 32e181a91a1947387d7221284f44f05d9ce433c7
+SHA1 (patch-src_sna_sna__dri2.c) = 4bcc7e5c502a340954073386dad88fd6cebcc7b1
diff --git a/x11/xf86-video-intel/patches/patch-src_backlight.c b/x11/xf86-video-intel/patches/patch-src_backlight.c
new file mode 100644
index 00000000000..b14c70a5e33
--- /dev/null
+++ b/x11/xf86-video-intel/patches/patch-src_backlight.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_backlight.c,v 1.1 2015/03/03 01:02:05 khorben Exp $
+
+--- src/backlight.c.orig 2014-11-18 21:50:39.000000000 +0000
++++ src/backlight.c
+@@ -84,7 +84,7 @@ void backlight_init(struct backlight *b)
+ b->has_power = 0;
+ }
+
+-#ifdef __OpenBSD__
++#if defined(__OpenBSD__) || defined(__NetBSD__)
+
+ #include <dev/wscons/wsconsio.h>
+ #include <xf86Priv.h>
diff --git a/x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c b/x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c
new file mode 100644
index 00000000000..e7ec9398e62
--- /dev/null
+++ b/x11/xf86-video-intel/patches/patch-src_sna_sna__dri2.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_sna_sna__dri2.c,v 1.1 2015/03/03 01:02:05 khorben Exp $
+
+--- src/sna/sna_dri2.c.orig 2014-12-20 12:46:23.000000000 +0000
++++ src/sna/sna_dri2.c
+@@ -247,6 +247,7 @@ inline static void *dri2_window_get_fron
+
+ #define xorg_can_triple_buffer() 0
+ #define swap_limit(d, l) false
++#define mark_stale(b)
+
+ #else
+