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:
parent
8e95236efb
commit
57bbe11933
9 changed files with 188 additions and 118 deletions
32
Ports/ruby/patches/0002-Remove-locale-defines.patch
Normal file
32
Ports/ruby/patches/0002-Remove-locale-defines.patch
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue