1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-22 12:52:08 +00:00
serenity/Ports/ruby/patches/0002-Remove-locale-defines.patch
2022-05-19 20:17:10 +04:30

32 lines
794 B
Diff

From 30fafa059b5793c3f3638564e00465a4f514f25a Mon Sep 17 00:00:00 2001
From: Eric Seifert <seiferteric@gmail.com>
Date: Tue, 21 Sep 2021 23:09:21 -0700
Subject: [PATCH 2/4] Remove locale defines
Serenity does not have any of that.
---
ext/nkf/nkf-utf8/nkf.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/ext/nkf/nkf-utf8/nkf.h b/ext/nkf/nkf-utf8/nkf.h
index cd30376..7bafe73 100644
--- a/ext/nkf/nkf-utf8/nkf.h
+++ b/ext/nkf/nkf-utf8/nkf.h
@@ -152,14 +152,6 @@ void setbinmode(FILE *fp)
# ifndef HAVE_LOCALE_H
# define HAVE_LOCALE_H
# endif
-#elif defined(__BIONIC__) /* bionic doesn't have locale */
-#else
-# ifndef HAVE_LANGINFO_H
-# define HAVE_LANGINFO_H
-# endif
-# ifndef HAVE_LOCALE_H
-# define HAVE_LOCALE_H
-# endif
#endif
#ifdef HAVE_LANGINFO_H
--
2.36.1