summaryrefslogtreecommitdiff
path: root/package/MesaLib/patches/patch-src_glsl_strtod_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/MesaLib/patches/patch-src_glsl_strtod_c')
-rw-r--r--package/MesaLib/patches/patch-src_glsl_strtod_c32
1 files changed, 0 insertions, 32 deletions
diff --git a/package/MesaLib/patches/patch-src_glsl_strtod_c b/package/MesaLib/patches/patch-src_glsl_strtod_c
deleted file mode 100644
index ce6514dbb..000000000
--- a/package/MesaLib/patches/patch-src_glsl_strtod_c
+++ /dev/null
@@ -1,32 +0,0 @@
---- Mesa-8.0.5.orig/src/glsl/strtod.c 2012-10-24 21:03:59.000000000 +0200
-+++ Mesa-8.0.5/src/glsl/strtod.c 2013-09-25 17:34:06.000000000 +0200
-@@ -25,14 +25,6 @@
-
-
- #include <stdlib.h>
--
--#ifdef _GNU_SOURCE
--#include <locale.h>
--#ifdef __APPLE__
--#include <xlocale.h>
--#endif
--#endif
--
- #include "strtod.h"
-
-
-@@ -44,14 +36,5 @@
- double
- glsl_strtod(const char *s, char **end)
- {
--#if defined(_GNU_SOURCE) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && \
-- !defined(__HAIKU__)
-- static locale_t loc = NULL;
-- if (!loc) {
-- loc = newlocale(LC_CTYPE_MASK, "C", NULL);
-- }
-- return strtod_l(s, end, loc);
--#else
- return strtod(s, end);
--#endif
- }