summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/flatbuffers/files/flatbuffers-2.0.6-locales-detection-fixup.patch')
-rw-r--r--dev-libs/flatbuffers/files/flatbuffers-2.0.6-locales-detection-fixup.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-libs/flatbuffers/files/flatbuffers-2.0.6-locales-detection-fixup.patch b/dev-libs/flatbuffers/files/flatbuffers-2.0.6-locales-detection-fixup.patch
deleted file mode 100644
index 6ab1b085876c..000000000000
--- a/dev-libs/flatbuffers/files/flatbuffers-2.0.6-locales-detection-fixup.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From f10f1fdeab9dedf8206965b73a52e02e3de3bc41 Mon Sep 17 00:00:00 2001
-From: Jory Pratt <anarchy@gentoo.org>
-Date: Wed, 22 Jun 2022 13:09:43 -0500
-Subject: [PATCH] Fix base.h to only include locale support for glibc users
-
-Signed-off-by: Jory Pratt <anarchy@gentoo.org>
----
- include/flatbuffers/base.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h
-index 458ac3f..46d6d80 100644
---- a/include/flatbuffers/base.h
-+++ b/include/flatbuffers/base.h
-@@ -262,7 +262,7 @@ namespace flatbuffers {
- #ifndef FLATBUFFERS_LOCALE_INDEPENDENT
- // Enable locale independent functions {strtof_l, strtod_l,strtoll_l, strtoull_l}.
- #if ((defined(_MSC_VER) && _MSC_VER >= 1800) || \
-- (defined(_XOPEN_VERSION) && (_XOPEN_VERSION>=700)) && (!defined(__ANDROID_API__) || (defined(__ANDROID_API__) && (__ANDROID_API__>=21))))
-+ (defined(__GLIBC__) && defined(_XOPEN_VERSION) && (_XOPEN_VERSION>=700)) && (!defined(__ANDROID_API__) || (defined(__ANDROID_API__) && (__ANDROID_API__>=21))))
- #define FLATBUFFERS_LOCALE_INDEPENDENT 1
- #else
- #define FLATBUFFERS_LOCALE_INDEPENDENT 0
---
-2.35.1
-