Files
haikuports/app-shells/bash/patches/bash-4.4.patch
2016-09-17 17:43:36 +03:00

27 lines
643 B
Diff

From 611873d530c23af9c679d43a4b3a30e59dd5eee4 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Sat, 17 Sep 2016 17:17:42 +0300
Subject: [PATCH 1/1] fix gcc2 build
---
shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell.c b/shell.c
index 84f752b..4021475 100644
--- a/shell.c
+++ b/shell.c
@@ -584,8 +584,8 @@ main (argc, argv, env)
*/
if (interactive_shell)
{
- char *term, *emacs, *inside_emacs;;
int emacs_term, in_emacs;
+ char *term, *emacs, *inside_emacs;;
term = get_string_value ("TERM");
emacs = get_string_value ("EMACS");
--
2.7.0