summaryrefslogtreecommitdiff
path: root/packages/x11-dri/mesa/files/mesa-17.1.1-musl.patch
blob: 50c2d8bf147233b4e1f31b1e55649e0efd05411c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Upstream: https://bugs.freedesktop.org/show_bug.cgi?id=93059
From 8c30dacc9d7f1e47f2519ab0e998a5e33f3cf75a Mon Sep 17 00:00:00 2001
From: Kylie McClain <somasis@exherbo.org>
Date: Sat, 21 Nov 2015 16:39:20 -0500
Subject: [PATCH] i965: don't underlink i965_dri.so, causes miserable failure
 on musl libc

diff -Naur mesa-17.1.1/src/mesa/drivers/dri/i965/Makefile.am mesa-17.1.1.new/src/mesa/drivers/dri/i965/Makefile.am
--- mesa-17.1.1/src/mesa/drivers/dri/i965/Makefile.am	2017-05-25 09:13:13.000000000 +0200
+++ mesa-17.1.1.new/src/mesa/drivers/dri/i965/Makefile.am	2017-05-29 18:12:35.469258076 +0200
@@ -41,7 +41,8 @@
 	$(DEFINES) \
 	$(VISIBILITY_CFLAGS) \
 	$(LIBDRM_CFLAGS) \
-	$(VALGRIND_CFLAGS)
+	$(VALGRIND_CFLAGS) \
+	$(top_builddir)/src/mapi/shared-glapi/libglapi.la
 
 AM_CXXFLAGS = $(AM_CFLAGS)