1 |
commit: dfe00c6f1303354d45a20175c606e91b31e6e635 |
2 |
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 29 22:22:52 2017 +0000 |
4 |
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Dec 29 22:22:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=dfe00c6f |
7 |
|
8 |
media-libs/mesa: bump musl_endian patch |
9 |
|
10 |
Close #74 |
11 |
|
12 |
media-libs/mesa/files/mesa-17-musl_endian.patch | 12 ++++++++++++ |
13 |
media-libs/mesa/mesa-17.3.1.ebuild | 2 +- |
14 |
2 files changed, 13 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/media-libs/mesa/files/mesa-17-musl_endian.patch b/media-libs/mesa/files/mesa-17-musl_endian.patch |
17 |
new file mode 100644 |
18 |
index 0000000..74e3d1d |
19 |
--- /dev/null |
20 |
+++ b/media-libs/mesa/files/mesa-17-musl_endian.patch |
21 |
@@ -0,0 +1,12 @@ |
22 |
+diff -Naur mesa-17.3.1.orig/src/util/u_endian.h mesa-17.3.1/src/util/u_endian.h |
23 |
+--- mesa-17.3.1.orig/src/util/u_endian.h 2017-12-29 14:19:33.532915798 -0800 |
24 |
++++ mesa-17.3.1/src/util/u_endian.h 2017-12-29 14:21:55.547913255 -0800 |
25 |
+@@ -27,7 +27,7 @@ |
26 |
+ #ifndef U_ENDIAN_H |
27 |
+ #define U_ENDIAN_H |
28 |
+ |
29 |
+-#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) |
30 |
++#if defined(__linux__) || defined(__CYGWIN__) |
31 |
+ #include <endian.h> |
32 |
+ |
33 |
+ #if __BYTE_ORDER == __LITTLE_ENDIAN |
34 |
|
35 |
diff --git a/media-libs/mesa/mesa-17.3.1.ebuild b/media-libs/mesa/mesa-17.3.1.ebuild |
36 |
index 040450c..de726e6 100644 |
37 |
--- a/media-libs/mesa/mesa-17.3.1.ebuild |
38 |
+++ b/media-libs/mesa/mesa-17.3.1.ebuild |
39 |
@@ -280,7 +280,7 @@ pkg_setup() { |
40 |
} |
41 |
|
42 |
src_prepare() { |
43 |
- eapply "${FILESDIR}"/${PN}-13-musl_endian.patch |
44 |
+ eapply "${FILESDIR}"/${PN}-17-musl_endian.patch |
45 |
eapply "${FILESDIR}"/${PN}-17-execinfo.patch |
46 |
eapply "${FILESDIR}"/${PN}-17-musl-string_h.patch |
47 |
eapply "${FILESDIR}"/${PN}-17-musl-invocation_name.patch |