package/mesa3d: remove old patch for uClibc
PATCH 1/1 package/mesa3d: remove old patch for uClibc
This patch is no longer necessary since Buildroot is using uClibc-ng and the patch [1] as been merged upstream.
It's 2017 and uClibc toolchains have been rebuild with uClibc-ng.
Drop upstream patch and rename remaining one.
[1] https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=6c4538905e65ceb203f59aaa9a61728e81c6bc0a
---
.../0001-Fix-runtime-error-with-uClibc.patch | 48 ----------------------
.../mesa3d/{0002-musl.patch => 0001-musl.patch} | 0
...ess-detection-with-musl-based-toolchains.patch} | 0
...c-invert-order-for-wayland-scanner-check.patch} | 0
4 files changed, 48 deletions(-)
delete mode 100644 package/mesa3d/0001-Fix-runtime-error-with-uClibc.patch
rename package/mesa3d/{0002-musl.patch => 0001-musl.patch} (100%)
rename package/mesa3d/{0003-Fix-endianess-detection-with-musl-based-toolchains.patch => 0002-Fix-endianess-detection-with-musl-based-toolchains.patch} (100%)
rename package/mesa3d/{0004-configure.ac-invert-order-for-wayland-scanner-check.patch => 0003-configure.ac-invert-order-for-wayland-scanner-check.patch} (100%)package/mesa3d/0001-Fix-runtime-error-with-uClibc.patch deleted +0 -48
@@ -1,48 +0,0 @@ -Fix runtime error with uClibc - -Patch inspired by -https://www.winehq.org/pipermail/wine-bugs/2011-September/288987.html -http://git.alpinelinux.org/cgit/aports/tree/main/wine/uclibc-fmaxf-fminf.patch?id=c9b491b6099eec02a835ffd05539b5c783c6c43a - -Starting an app using mesa3d 10.5.x, Kodi for example, fails: - -/usr/lib/kodi/kodi.bin: symbol 'fminf': can't resolve symbol in lib '/usr/lib/dri/i965_dri.so'. -libGL error: unable to load driver: i965_dri.so -libGL error: driver pointer missing -libGL error: failed to load driver: i965 -libGL error: unable to load driver: swrast_dri.so -libGL error: failed to load driver: swrast - -This patch was rejected by upstream mesa3d: -http://lists.freedesktop.org/archives/mesa-dev/2015-March/079436.html - -The real fix was committed to uClibc: -http://git.uclibc.org/uClibc/commit/?id=6c4538905e65ceb203f59aaa9a61728e81c6bc0a - -Until the external toolchains do not contain this uClibc patch we keep this -patch: http://lists.busybox.net/pipermail/buildroot/2015-March/123410.html - -Signed-off-by: Bernd Kuhls <[email protected]> ---- -diff -uNr mesa-10.5.3.org/src/glsl/nir/nir_constant_expressions.c mesa-10.5.3/src/glsl/nir/nir_constant_expressions.c ---- mesa-10.5.3.org/src/compiler/nir/nir_constant_expressions.c 2015-04-12 23:31:29.000000000 +0200 -+++ mesa-10.5.3/src/compiler/nir/nir_constant_expressions.c 2015-04-13 19:59:37.819786541 +0200 -@@ -48,6 +48,18 @@ - } - #endif - -+#ifdef __UCLIBC__ -+float fmaxf(float a, float b) -+{ -+ return (a > b) ? a : b; -+} -+ -+float fminf(float a, float b) -+{ -+ return (a < b) ? a : b; -+} -+#endif -+ - /** - * Evaluate one component of packSnorm4x8. - */
package/mesa3d/0001-musl.patch renamed from package/mesa3d/0002-musl.patch +0 -0
package/mesa3d/0002-Fix-endianess-detection-with-musl-based-toolchains.patch renamed from package/mesa3d/0003-Fix-endianess-detection-with-musl-based-toolchains.patch +0 -0
package/mesa3d/0003-configure.ac-invert-order-for-wayland-scanner-check.patch renamed from package/mesa3d/0004-configure.ac-invert-order-for-wayland-scanner-check.patch +0 -0
Signature · 1 line
2.9.5
Arnout Vandecappelle
AppliedPATCH 1/1 package/mesa3d: remove old patch for uClibc
Quoted 10 lines · Romain Naour
This patch is no longer necessary since Buildroot is using uClibc-ng and the patch [1] as been merged upstream.
It's 2017 and uClibc toolchains have been rebuild with uClibc-ng.Drop upstream patch and rename remaining one.
[1] https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/commit/?id=6c4538905e65ceb203f59aaa9a61728e81c6bc0a
Signed-off-by Romain Naour <[email protected]>Cc Bernd Kuhls <[email protected]>
Applied to master, thanks.
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF