aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-08-10 12:52:01 -0400
committerWilliam Pitcock <nenolod@dereferenced.org>2017-08-10 17:26:20 +0000
commitf9678773a08dfdb995637267697ac8cf923a9f5a (patch)
tree634f8cbf3f9f2b00a72635886155eff5ff0d997c /main/mesa
parent83092414cd271df4cbd31fda4a15b343fd63fece (diff)
downloadaports-f9678773a08dfdb995637267697ac8cf923a9f5a.tar.bz2
aports-f9678773a08dfdb995637267697ac8cf923a9f5a.tar.xz
main/mesa: add missing drm dependency library definitions.
Diffstat (limited to 'main/mesa')
-rw-r--r--main/mesa/APKBUILD4
-rw-r--r--main/mesa/drmdeps.patch40
2 files changed, 43 insertions, 1 deletions
diff --git a/main/mesa/APKBUILD b/main/mesa/APKBUILD
index a189478493..597d45959e 100644
--- a/main/mesa/APKBUILD
+++ b/main/mesa/APKBUILD
@@ -30,6 +30,7 @@ source="https://mesa.freedesktop.org/archive/mesa-$pkgver.tar.xz
glx_ro_text_segm.patch
musl-fixes.patch
musl-fix-includes.patch
+ drmdeps.patch
"
replaces="mesa-dricore"
@@ -239,4 +240,5 @@ _wayland() {
sha512sums="cb8369f0edd3e17b4eee8da159b9dc487f8144d69fe4b95901e9aa6a924759866f26f91fc2ead7036707eecea41582185e7ce73d54f97bf310f198b72ee0a8e4 mesa-17.1.4.tar.xz
c3d4804ebc24c7216e4c9d4995fb92e116be7f478024b44808ee134a4c93bb51d1f66fe5fb6eca254f124c4abf6f81272b027824b3e2650a9607818bf793035a glx_ro_text_segm.patch
163bb96773686a7446f40a8415acef762910afb2f4f2271d429d9cbd9e3048111c8c0023c1f072fa63f33b68b2aea9d066efd9083904265151eeccbe8ccb7227 musl-fixes.patch
-c7d91a660a033df91fac9c557039efc8669f0c26b2d35997d50753938b70d1af0bd110dcab3f8236eafab7d4be5dd7cd128a3e057e67e7e6a38a73fd6a7ef62e musl-fix-includes.patch"
+c7d91a660a033df91fac9c557039efc8669f0c26b2d35997d50753938b70d1af0bd110dcab3f8236eafab7d4be5dd7cd128a3e057e67e7e6a38a73fd6a7ef62e musl-fix-includes.patch
+1b2edb267d8bf54f68a8d886b838933d3aed91a1a19805ed9235c3e715a1a27847891279aa9a87fa8f799d2b39a18f12072b579e7d0c39fe7901c07b5fa64e8a drmdeps.patch"
diff --git a/main/mesa/drmdeps.patch b/main/mesa/drmdeps.patch
new file mode 100644
index 0000000000..d6caf89044
--- /dev/null
+++ b/main/mesa/drmdeps.patch
@@ -0,0 +1,40 @@
+--- a/src/gallium/winsys/radeon/drm/Makefile.am 2017-08-10 11:45:20.737377457 -0400
++++ b/src/gallium/winsys/radeon/drm/Makefile.am 2017-08-10 11:50:23.414534307 -0400
+@@ -7,4 +7,6 @@
+
+ noinst_LTLIBRARIES = libradeonwinsys.la
+
++libradeonwinsys_la_LIBADD = -ldrm_radeon
++
+ libradeonwinsys_la_SOURCES = $(C_SOURCES)
+--- a/src/gallium/winsys/radeon/drm/Makefile.in 2017-08-10 11:45:25.577298181 -0400
++++ b/src/gallium/winsys/radeon/drm/Makefile.in 2017-08-10 11:57:11.151189074 -0400
+@@ -118,7 +118,7 @@
+ CONFIG_CLEAN_FILES =
+ CONFIG_CLEAN_VPATH_FILES =
+ LTLIBRARIES = $(noinst_LTLIBRARIES)
+-libradeonwinsys_la_LIBADD =
++libradeonwinsys_la_LIBADD = -ldrm_radeon
+ am__objects_1 = radeon_drm_bo.lo radeon_drm_cs.lo \
+ radeon_drm_surface.lo radeon_drm_winsys.lo
+ am_libradeonwinsys_la_OBJECTS = $(am__objects_1)
+--- a/src/gallium/winsys/amdgpu/drm/Makefile.am 2017-08-10 11:58:51.446212948 -0400
++++ b/src/gallium/winsys/amdgpu/drm/Makefile.am 2017-08-10 11:57:54.447146570 -0400
+@@ -10,5 +10,5 @@
+
+ noinst_LTLIBRARIES = libamdgpuwinsys.la
+
+-libamdgpuwinsys_la_LIBADD = $(top_builddir)/src/amd/addrlib/libamdgpu_addrlib.la
++libamdgpuwinsys_la_LIBADD = $(top_builddir)/src/amd/addrlib/libamdgpu_addrlib.la -ldrm_amdgpu
+ libamdgpuwinsys_la_SOURCES = $(C_SOURCES)
+--- a/src/gallium/winsys/amdgpu/drm/Makefile.in 2017-08-10 11:59:12.009209467 -0400
++++ b/src/gallium/winsys/amdgpu/drm/Makefile.in 2017-08-10 11:58:23.626668621 -0400
+@@ -561,7 +561,7 @@
+
+ AM_CXXFLAGS = $(AM_CFLAGS)
+ noinst_LTLIBRARIES = libamdgpuwinsys.la
+-libamdgpuwinsys_la_LIBADD = $(top_builddir)/src/amd/addrlib/libamdgpu_addrlib.la
++libamdgpuwinsys_la_LIBADD = $(top_builddir)/src/amd/addrlib/libamdgpu_addrlib.la -ldrm_amdgpu
+ libamdgpuwinsys_la_SOURCES = $(C_SOURCES)
+ all: all-am
+