1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:17:45 +00:00

Ports: Update ruby's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 23:17:30 +04:30 committed by Ali Mohammad Pur
parent 8e95236efb
commit 57bbe11933
9 changed files with 188 additions and 118 deletions

View file

@ -0,0 +1,32 @@
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