aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdrm
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-02-24 10:14:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-24 10:15:51 +0000
commit77696081b24054a74abaedb11b20b6ff44f39985 (patch)
treeda28fc66ac0cf8a28707d4ba1f2a4e84abea984b /main/libdrm
parent082f5c100b5b6a43dd8bf5db6334421bcbc5b887 (diff)
downloadaports-77696081b24054a74abaedb11b20b6ff44f39985.tar.bz2
aports-77696081b24054a74abaedb11b20b6ff44f39985.tar.xz
main/libdrm: upgrade to 2.4.66
Diffstat (limited to 'main/libdrm')
-rw-r--r--main/libdrm/APKBUILD19
-rw-r--r--main/libdrm/musl-fix-headers.patch12
2 files changed, 21 insertions, 10 deletions
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD
index eb412176ad..d4e7b3c8f4 100644
--- a/main/libdrm/APKBUILD
+++ b/main/libdrm/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdrm
-pkgver=2.4.65
+pkgver=2.4.66
pkgrel=0
pkgdesc="Userspace interface to kernel DRM services"
url="http://dri.freedesktop.org/"
@@ -10,7 +10,8 @@ depends=""
depends_dev="linux-headers"
makedepends="$depends_dev libpthread-stubs eudev-dev libpciaccess-dev"
subpackages="$pkgname-dev"
-source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2
+ musl-fix-headers.patch"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -31,11 +32,6 @@ build() {
--disable-manpages \
--disable-valgrind \
|| 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
}
@@ -44,6 +40,9 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="de49916e5f8aef4eba55223c79709b05 libdrm-2.4.65.tar.bz2"
-sha256sums="71960ac8bde7d710992b1bc8879935e8300a870c36bd06f22412d0447e3d96c4 libdrm-2.4.65.tar.bz2"
-sha512sums="fabbb3ba163aa1307288472c11c6ce8f1e412cbd67ba3135a614f0e05bf4f881bf6ccc581e9cf05a7e2e965817bb71c0b5335263b5c0b0cb85829a0f29a6029d libdrm-2.4.65.tar.bz2"
+md5sums="c6809c48538d6e5999588832045ff014 libdrm-2.4.66.tar.bz2
+23fdf22a9593e329cd621f18014784f0 musl-fix-headers.patch"
+sha256sums="79cb8e988749794edfb2d777b298d5292eff353bbbb71ed813589e61d2bc2d76 libdrm-2.4.66.tar.bz2
+663bcedcdf9b01be512f09b5ca2393f33ebdc3e5a46325f2fd14271aa70d2e03 musl-fix-headers.patch"
+sha512sums="e0e3cea490389271690a79b5be8acd5e7c892a0646285617bd00d85f7c56ac163580c8c62d9fa79ed99e89468e35eaed6ac8be6ea870ce5ab09589f3e2d7f506 libdrm-2.4.66.tar.bz2
+d5edad480b77232055f0cd3ff5f38bfeae397d08d06b3d5ed1a53d5f466778e07407716618420cab73d5aa8ab204da58514b2570c3c5809a56c1ba1c2b817639 musl-fix-headers.patch"
diff --git a/main/libdrm/musl-fix-headers.patch b/main/libdrm/musl-fix-headers.patch
new file mode 100644
index 0000000000..5ecd114ecf
--- /dev/null
+++ b/main/libdrm/musl-fix-headers.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c
+index 2f7f327..24d70ab 100644
+--- a/tests/kms/kms-steal-crtc.c
++++ b/tests/kms/kms-steal-crtc.c
+@@ -31,6 +31,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/select.h>
+
+ #include <drm_fourcc.h>
+