diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 13:27:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-10 13:27:35 +0000 |
commit | 49b922f2e74086625e20b1f9ada48f77b6aae8c6 (patch) | |
tree | 647f4a0f41b4fd7fce77ae70bce9b70404d87b1d /main/xf86-video-intel | |
parent | 62479acc7df0a427303c28f9a2dae529a0f918ee (diff) | |
download | aports-49b922f2e74086625e20b1f9ada48f77b6aae8c6.tar.bz2 aports-49b922f2e74086625e20b1f9ada48f77b6aae8c6.tar.xz |
main/xf86-video-intel: upgrade to 2.20.7
Diffstat (limited to 'main/xf86-video-intel')
-rw-r--r-- | main/xf86-video-intel/APKBUILD | 18 | ||||
-rw-r--r-- | main/xf86-video-intel/O_CLOEXEC.patch | 10 |
2 files changed, 25 insertions, 3 deletions
diff --git a/main/xf86-video-intel/APKBUILD b/main/xf86-video-intel/APKBUILD index 4a0d3bea63..c37a1b685f 100644 --- a/main/xf86-video-intel/APKBUILD +++ b/main/xf86-video-intel/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-intel -pkgver=2.20.6 +pkgver=2.20.7 pkgrel=0 pkgdesc="X.Org driver for Intel cards" url="http://xorg.freedesktop.org/" @@ -12,7 +12,18 @@ makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto videoproto renderproto glproto xineramaproto libdrm-dev xf86driproto mesa-dev libxvmc-dev xcb-util-dev udev-dev" -source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 + O_CLOEXEC.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -29,4 +40,5 @@ package() { find "$pkgdir" -name '*.la' -delete install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="7aed0905b9fd05956561e01ffd3f5a93 xf86-video-intel-2.20.6.tar.bz2" +md5sums="583cbe1c8461182ee727b20151601247 xf86-video-intel-2.20.7.tar.bz2 +d5c410d504c58aa641658a19e4950ea5 O_CLOEXEC.patch" diff --git a/main/xf86-video-intel/O_CLOEXEC.patch b/main/xf86-video-intel/O_CLOEXEC.patch new file mode 100644 index 0000000000..9dbe933588 --- /dev/null +++ b/main/xf86-video-intel/O_CLOEXEC.patch @@ -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> |