aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdrm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-13 22:31:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-13 22:31:04 +0000
commit0d90355ba61f309e901aa2c096b8a561593e9ab0 (patch)
tree6d31d3814d71fa3f8ccbaf96aa7010c9de4210f6 /main/libdrm/APKBUILD
parentafdd2a4f0cc4f83a798b2bc843b2abb68e68e80d (diff)
downloadaports-0d90355ba61f309e901aa2c096b8a561593e9ab0.tar.bz2
aports-0d90355ba61f309e901aa2c096b8a561593e9ab0.tar.xz
main/libdrm: upgrade to 2.4.30
Diffstat (limited to 'main/libdrm/APKBUILD')
-rw-r--r--main/libdrm/APKBUILD18
1 files changed, 16 insertions, 2 deletions
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD
index 6b53b1a4bf..568efad4ff 100644
--- a/main/libdrm/APKBUILD
+++ b/main/libdrm/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdrm
-pkgver=2.4.29
+pkgver=2.4.30
pkgrel=0
pkgdesc="Userspace interface to kernel DRM services"
url="http://dri.freedesktop.org/"
@@ -11,11 +11,25 @@ makedepends="pkgconfig libpthread-stubs udev-dev libpciaccess-dev"
subpackages="$pkgname-dev"
source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver
+ 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
./configure --prefix=/usr \
--enable-udev \
--enable-nouveau-experimental-api || return 1
+
+ # temp workaround. problem appears to be with
+ # uclibc open_memstream() and stdio.h
+ sed -i -e 's/-Werror-implicit-function-declaration//' intel/Makefile
+
make || return 1
}
@@ -25,4 +39,4 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="96d5e3e9edd55f4b016fe3b5dd0a1953 libdrm-2.4.29.tar.bz2"
+md5sums="9f57a68b2c0836b55ebcbc241f6ca175 libdrm-2.4.30.tar.bz2"