diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD deleted file mode 100644 index f85ea8d7d..000000000 --- a/main/libdrm/APKBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Copied from Alpine to increase $pkgver to 2.4.91 -# TODO: remove when alpine upgrades to libdrm to 2.4.90+ -pkgname=libdrm -pkgver=2.4.91 -pkgrel=1 -pkgdesc="Userspace interface to kernel DRM services" -url="https://dri.freedesktop.org/" -arch="all" -# Requires a computer with gfx, no X running, build user in 'video' group.. -options="!check" -license="MIT" -depends="" -depends_dev="linux-headers" -makedepends="$depends_dev libpthread-stubs eudev-dev libpciaccess-dev xmlto" -checkdepends="cunit-dev bash" -subpackages="$pkgname-dev $pkgname-doc" -source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 - ioctl.patch - " - -builddir="$srcdir/$pkgname-$pkgver" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --enable-freedreno \ - --enable-udev \ - --disable-valgrind - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install -} - -sha512sums="07578c00c121ba37033db7172590e26d1545f81c242bbce2cfb7fb904bde504822c275d6468e5c5d20360d0046ae73d9b058aa0459ba35eb11927141cc998772 libdrm-2.4.91.tar.bz2 -af52fef51aaa05a4dd17919371cb9d92a77480402730bf53ba223e54df52f3825be05a7f28e6aef8c904db5ee59fe38a6c15bc6aafa7f8d31a719e80399dd51f ioctl.patch" diff --git a/main/libdrm/fix-symbol-checks.patch b/main/libdrm/fix-symbol-checks.patch deleted file mode 100644 index 67e9868f0..000000000 --- a/main/libdrm/fix-symbol-checks.patch +++ /dev/null @@ -1,212 +0,0 @@ -diff --git a/amdgpu/amdgpu-symbol-check b/amdgpu/amdgpu-symbol-check -index c5b85b5..c943282 100755 ---- a/amdgpu/amdgpu-symbol-check -+++ b/amdgpu/amdgpu-symbol-check -@@ -1,13 +1,10 @@ --#!/bin/bash -+#!/bin/sh - --# The following symbols (past the first five) are taken from the public headers. -+# The following symbols (past the first two) are taken from the public headers. - # A list of the latter should be available Makefile.am/libdrm_amdgpuinclude_HEADERS - --FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '{print $3}' | while read func; do -+FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_amdgpu.so} | awk '$2 == "T" {print $3}' | while read func; do - ( grep -q "^$func$" || echo $func ) <@])], -+ [enable_glx_rts="$enableval"], -+ [enable_glx_rts=no]) -+if test "x$enable_glx_rts" = xyes; then -+ DEFINES="$DEFINES -DGLX_X86_READONLY_TEXT" -+else -+ enable_glx_rts=no -+fi -+ -+ - dnl - dnl libGL configuration per driver - dnl diff --git a/temp/mesa/musl-fix-includes.patch b/temp/mesa/musl-fix-includes.patch deleted file mode 100644 index 556aa9cd9..000000000 --- a/temp/mesa/musl-fix-includes.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/src/util/rand_xor.c -+++ b/src/util/rand_xor.c -@@ -24,6 +24,8 @@ - - #if defined(__linux__) - #include -+#include -+#include - #include - #include - #else ---- ./src/gallium/winsys/svga/drm/vmw_screen.h.orig -+++ ./src/gallium/winsys/svga/drm/vmw_screen.h -@@ -34,7 +34,7 @@ - #ifndef VMW_SCREEN_H_ - #define VMW_SCREEN_H_ - -- -+#include - #include "pipe/p_compiler.h" - #include "pipe/p_state.h" -