summaryrefslogtreecommitdiff
path: root/shells/fish/patches/patch-output.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fish/patches/patch-output.cpp')
-rw-r--r--shells/fish/patches/patch-output.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/shells/fish/patches/patch-output.cpp b/shells/fish/patches/patch-output.cpp
new file mode 100644
index 00000000000..e3082cc4687
--- /dev/null
+++ b/shells/fish/patches/patch-output.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-output.cpp,v 1.1 2015/03/18 15:03:43 joerg Exp $
+
+--- output.cpp.orig 2015-03-17 21:47:33.000000000 +0000
++++ output.cpp
+@@ -151,7 +151,7 @@ unsigned char index_for_color(rgb_color_
+ }
+
+
+-static bool write_color(char *todo, unsigned char idx, bool is_fg)
++static bool write_color(const char *todo, unsigned char idx, bool is_fg)
+ {
+ bool result = false;
+ if (idx < 16 || term256_support_is_native())
+@@ -418,7 +418,7 @@ int writeb(tputs_arg_t b)
+ return 0;
+ }
+
+-int writembs_internal(char *str)
++int writembs_internal(const char *str)
+ {
+ CHECK(str, 1);
+