summaryrefslogtreecommitdiff
path: root/extra/xf86-video-intel
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xf86-video-intel')
-rw-r--r--extra/xf86-video-intel/PKGBUILD12
-rw-r--r--extra/xf86-video-intel/gmux_backlight.diff10
2 files changed, 18 insertions, 4 deletions
diff --git a/extra/xf86-video-intel/PKGBUILD b/extra/xf86-video-intel/PKGBUILD
index a79d5a162..f65d2a1c0 100644
--- a/extra/xf86-video-intel/PKGBUILD
+++ b/extra/xf86-video-intel/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 163995 2012-07-23 15:03:27Z andyrtr $
+# $Id: PKGBUILD 164028 2012-07-24 15:51:28Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xf86-video-intel
pkgver=2.20.1
-pkgrel=1
+pkgrel=2
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
@@ -17,11 +17,15 @@ provides=('xf86-video-intel-uxa' 'xf86-video-intel-sna')
conflicts=('xf86-video-intel-sna' 'xf86-video-intel-uxa' 'xorg-server<1.12.0' 'xf86-video-i810' 'xf86-video-intel-legacy')
options=('!libtool')
groups=('xorg-drivers' 'xorg')
-source=(${url}/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('de340a527dfa26bba6f79b423c2fe2b1d70657e46fa3fb468613c047443ff424')
+source=(${url}/archive/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ gmux_backlight.diff)
+sha256sums=('de340a527dfa26bba6f79b423c2fe2b1d70657e46fa3fb468613c047443ff424'
+ '87383122dae69512f86039e9d72110bd6bf4cf717756a31b34862c200277b31b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # https://bugs.freedesktop.org/show_bug.cgi?id=52423
+ patch -Np1 -i ${srcdir}/gmux_backlight.diff
./configure --prefix=/usr \
--enable-dri
make
diff --git a/extra/xf86-video-intel/gmux_backlight.diff b/extra/xf86-video-intel/gmux_backlight.diff
new file mode 100644
index 000000000..a5522e82b
--- /dev/null
+++ b/extra/xf86-video-intel/gmux_backlight.diff
@@ -0,0 +1,10 @@
+--- xf86-video-intel-2.20.0.orig/src/intel_display.c 2012-07-15 21:02:49.000000000 +1000
++++ xf86-video-intel-2.20.0/src/intel_display.c 2012-07-24 11:53:42.762165514 +1000
+@@ -127,6 +127,7 @@
+ * List of available kernel interfaces in priority order
+ */
+ static const char *backlight_interfaces[] = {
++ "gmux_backlight",
+ "asus-laptop",
+ "asus-nb-wmi",
+ "eeepc",