Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 319108 Details for
Bug 425042
media-libs/mesa-8.0.3: fails to compile against uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix compile time errors against uclibc
mesa-8.0-uclibc.patch (text/plain), 1.83 KB, created by
Anthony Basile
on 2012-07-24 19:25:43 UTC
(
hide
)
Description:
Fix compile time errors against uclibc
Filename:
MIME Type:
Creator:
Anthony Basile
Created:
2012-07-24 19:25:43 UTC
Size:
1.83 KB
patch
obsolete
>Fix compile time errors when building against uclibc > >Mesa misses a few checks when compiling on a uclibc system >which cause it to fall back on glibc-ism. This patch >addresses those issues. > >Signed-off-by: Anthony G. Basile <blueness@gentoo.org> > >diff -Naur Mesa-8.0.4.orig/src/gallium/auxiliary/util/u_debug_symbol.c Mesa-8.0.4/src/gallium/auxiliary/util/u_debug_symbol.c >--- Mesa-8.0.4.orig/src/gallium/auxiliary/util/u_debug_symbol.c 2012-07-24 18:55:48.580000000 +0000 >+++ Mesa-8.0.4/src/gallium/auxiliary/util/u_debug_symbol.c 2012-07-24 18:57:02.910000000 +0000 >@@ -152,7 +152,9 @@ > #endif > > #ifdef __GLIBC__ >+#ifndef __UCLIBC__ > #include <execinfo.h> >+#endif > > /* This can only provide dynamic symbols, or binary offsets into a file. > * >diff -Naur Mesa-8.0.4.orig/src/glsl/strtod.c Mesa-8.0.4/src/glsl/strtod.c >--- Mesa-8.0.4.orig/src/glsl/strtod.c 2012-07-24 18:55:48.580000000 +0000 >+++ Mesa-8.0.4/src/glsl/strtod.c 2012-07-24 18:56:37.850000000 +0000 >@@ -45,7 +45,7 @@ > glsl_strtod(const char *s, char **end) > { > #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \ >- !defined(__HAIKU__) >+ !defined(__HAIKU__) && !defined(__UCLIBC__) > static locale_t loc = NULL; > if (!loc) { > loc = newlocale(LC_CTYPE_MASK, "C", NULL); >diff -Naur Mesa-8.0.4.orig/src/mesa/main/imports.c Mesa-8.0.4/src/mesa/main/imports.c >--- Mesa-8.0.4.orig/src/mesa/main/imports.c 2012-07-24 18:55:48.580000000 +0000 >+++ Mesa-8.0.4/src/mesa/main/imports.c 2012-07-24 18:56:37.850000000 +0000 >@@ -767,7 +767,7 @@ > _mesa_strtof( const char *s, char **end ) > { > #if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \ >- !defined(ANDROID) && !defined(__HAIKU__) >+ !defined(ANDROID) && !defined(__HAIKU__) && !defined(__UCLIBC__) > static locale_t loc = NULL; > if (!loc) { > loc = newlocale(LC_CTYPE_MASK, "C", NULL);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 425042
:
317412
| 319108