diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2018-04-21 11:19:43 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-21 14:50:26 +0200 |
commit | 8b2c8690d1135745379685096365fd8959a7ede6 (patch) | |
tree | be2f894b24f035c1be3ed1ddc15fe320ff409221 /package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch | |
parent | 26148a247f3757b0ee7f24b10f13c0451f25a9ae (diff) | |
download | buildroot-8b2c8690d1135745379685096365fd8959a7ede6.tar.gz buildroot-8b2c8690d1135745379685096365fd8959a7ede6.zip |
package/{mesa3d, mesa3d-headers}: bump version to 18.0.1
Removed patch 0002, upstream committed a different fix:
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=cbee1bfb34274668a05995b9d4c78ddec9e5ea4c
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=5a75019ad0270a974788a9b8648ba98ff4203768
Renumbered patch 0003 -> 0002.
Tested using test-pkg (removed skipped toolchains from log):
armv5-ctng-linux-gnueabi [ 1/46]: OK
armv7-ctng-linux-gnueabihf [ 2/46]: OK
br-aarch64-glibc [ 3/46]: OK
br-arcle-hs38 [ 4/46]: OK
br-arm-cortex-a9-glibc [ 6/46]: OK
br-arm-cortex-a9-musl [ 7/46]: OK
br-arm-full [ 9/46]: OK
br-i386-pentium4-full [12/46]: OK
br-i386-pentium-mmx-musl [13/46]: OK
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch')
-rw-r--r-- | package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch b/package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch deleted file mode 100644 index 9ab0bca93a..0000000000 --- a/package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 4135bd2e13880866deb0440855d1a869397e5024 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <bernd.kuhls@t-online.de> -Date: Fri, 4 Nov 2016 19:44:37 +0100 -Subject: [PATCH] Fix endianess detection with musl-based toolchains - -Musl does not define __GLIBC__ and will not provide a __MUSL__ macro: -http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F - -This patch checks for the presence of endian.h and promotes the result -to src/amd/Makefile.addrlib.am which executes the broken build command. -Fixes compile errors detected by the autobuilder infrastructure of the -buildroot project: - -http://autobuild.buildroot.net/results/e27/e27a9a95f72dba3076549beb2a2ccfdbea2fcfee/ -http://autobuild.buildroot.net/results/e27/e27a9a95f72dba3076549beb2a2ccfdbea2fcfee/ - -Patch sent upstream: https://patchwork.freedesktop.org/patch/119961/ - -[Bernd: rebase on mesa 18.0.0] -Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> -[Romain: rebase on mesa 17.3.1] -Signed-off-by: Romain Naour <romain.naour@gmail.com> ---- - configure.ac | 1 + - src/amd/Makefile.addrlib.am | 1 + - src/util/u_endian.h | 2 +- - 3 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index a02173f244..ee03d6f582 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -791,6 +791,7 @@ fi - AC_HEADER_MAJOR - AC_CHECK_HEADER([xlocale.h], [DEFINES="$DEFINES -DHAVE_XLOCALE_H"]) - AC_CHECK_HEADER([sys/sysctl.h], [DEFINES="$DEFINES -DHAVE_SYS_SYSCTL_H"]) -+AC_CHECK_HEADER([endian.h], [DEFINES="$DEFINES -DHAVE_ENDIAN_H"]) - AC_CHECK_FUNC([strtof], [DEFINES="$DEFINES -DHAVE_STRTOF"]) - AC_CHECK_FUNC([mkostemp], [DEFINES="$DEFINES -DHAVE_MKOSTEMP"]) - AC_CHECK_FUNC([memfd_create], [DEFINES="$DEFINES -DHAVE_MEMFD_CREATE"]) -diff --git a/src/amd/Makefile.addrlib.am b/src/amd/Makefile.addrlib.am -index 46689637f9..508edfd0d5 100644 ---- a/src/amd/Makefile.addrlib.am -+++ b/src/amd/Makefile.addrlib.am -@@ -29,7 +29,8 @@ - -I$(srcdir)/addrlib/inc/chip/gfx9 \ - -I$(srcdir)/addrlib/inc/chip/r800 \ - -I$(srcdir)/addrlib/gfx9/chip \ -- -I$(srcdir)/addrlib/r800/chip -+ -I$(srcdir)/addrlib/r800/chip \ -+ $(DEFINES) - - addrlib_libamdgpu_addrlib_la_CXXFLAGS = \ - $(VISIBILITY_CXXFLAGS) $(CXX11_CXXFLAGS) -diff --git a/src/util/u_endian.h b/src/util/u_endian.h -index 9e09f80181..038a28fac9 100644 ---- a/src/util/u_endian.h -+++ b/src/util/u_endian.h -@@ -27,7 +27,7 @@ - #ifndef U_ENDIAN_H - #define U_ENDIAN_H - --#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) -+#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__) || defined(HAVE_ENDIAN_H) - #include <endian.h> - - #if __BYTE_ORDER == __LITTLE_ENDIAN --- -2.14.3 - |