aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libdrm/APKBUILD14
-rw-r--r--main/libdrm/man-makefile.patch11
2 files changed, 20 insertions, 5 deletions
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD
index c3432ef7bb..d53dc1c745 100644
--- a/main/libdrm/APKBUILD
+++ b/main/libdrm/APKBUILD
@@ -1,15 +1,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libdrm
-pkgver=2.4.40
+pkgver=2.4.41
pkgrel=0
pkgdesc="Userspace interface to kernel DRM services"
url="http://dri.freedesktop.org/"
arch="all"
license="custom"
depends=
-makedepends="pkgconfig libpthread-stubs udev-dev libpciaccess-dev"
+makedepends="libpthread-stubs udev-dev libpciaccess-dev
+ autoconf automake libtool"
subpackages="$pkgname-dev"
-source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2"
+source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2
+ man-makefile.patch"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
@@ -18,13 +20,14 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ libtoolize --force && aclocal -I m4 && autoconf \
+ && automake --add-missing
}
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--enable-udev \
- --enable-vmwgfx-experimental-api \
|| return 1
# temp workaround. problem appears to be with
@@ -40,4 +43,5 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="626a3dc44a40ef37565b61732b688567 libdrm-2.4.40.tar.bz2"
+md5sums="04f40d6a647e5149fe442cf536ae0a37 libdrm-2.4.41.tar.bz2
+c92703a2dc9215fbf3b3684c931ac66f man-makefile.patch"
diff --git a/main/libdrm/man-makefile.patch b/main/libdrm/man-makefile.patch
new file mode 100644
index 0000000000..879fbf1b85
--- /dev/null
+++ b/main/libdrm/man-makefile.patch
@@ -0,0 +1,11 @@
+diff --git a/configure.ac b/configure.ac
+index 10cc9a4..1776610 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -348,7 +348,6 @@ AC_CONFIG_FILES([
+ tests/vbltest/Makefile
+ include/Makefile
+ include/drm/Makefile
+- man/Makefile
+ libdrm.pc])
+ AC_OUTPUT