mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 20:55:35 +03:00
Ports: Make bash link again
No idea why this was suddenly broken, but removing these duplicated declarations make it build to completion again.
This commit is contained in:
parent
181eacd3ba
commit
07c765e258
Notes:
sideshowbarker
2024-07-19 06:31:50 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/07c765e2580 Pull-request: https://github.com/SerenityOS/serenity/pull/2276
21
Ports/bash/patches/remove-duplicate-declarations.patch
Normal file
21
Ports/bash/patches/remove-duplicate-declarations.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- bash-5.0/lib/readline/terminal.c.orig 2020-05-18 09:39:55.104000000 +0100
|
||||
+++ bash-5.0/lib/readline/terminal.c 2020-05-18 09:40:42.409654415 +0100
|
||||
@@ -102,12 +102,12 @@
|
||||
|
||||
static int tcap_initialized;
|
||||
|
||||
-#if !defined (__linux__) && !defined (NCURSES_VERSION)
|
||||
-# if defined (__EMX__) || defined (NEED_EXTERN_PC)
|
||||
-extern
|
||||
-# endif /* __EMX__ || NEED_EXTERN_PC */
|
||||
-char PC, *BC, *UP;
|
||||
-#endif /* !__linux__ && !NCURSES_VERSION */
|
||||
+// #if !defined (__linux__) && !defined (NCURSES_VERSION)
|
||||
+// # if defined (__EMX__) || defined (NEED_EXTERN_PC)
|
||||
+// extern
|
||||
+// # endif /* __EMX__ || NEED_EXTERN_PC */
|
||||
+// char PC, *BC, *UP;
|
||||
+// #endif /* !__linux__ && !NCURSES_VERSION */
|
||||
|
||||
/* Some strings to control terminal actions. These are output by tputs (). */
|
||||
char *_rl_term_clreol;
|
Loading…
Reference in New Issue
Block a user