summaryrefslogtreecommitdiff
path: root/chat/kmess/patches/patch-kmess_prefix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chat/kmess/patches/patch-kmess_prefix.cpp')
-rw-r--r--chat/kmess/patches/patch-kmess_prefix.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/chat/kmess/patches/patch-kmess_prefix.cpp b/chat/kmess/patches/patch-kmess_prefix.cpp
new file mode 100644
index 00000000000..8cf7fb691ad
--- /dev/null
+++ b/chat/kmess/patches/patch-kmess_prefix.cpp
@@ -0,0 +1,24 @@
+$NetBSD: patch-kmess_prefix.cpp,v 1.1 2012/02/08 00:12:37 sbd Exp $
+
+--- kmess/prefix.cpp.orig 2005-07-18 19:50:16.000000000 +0000
++++ kmess/prefix.cpp
+@@ -393,7 +393,8 @@ br_strndup (char *str, size_t size)
+ char *
+ br_extract_dir (const char *path)
+ {
+- char *end, *result;
++ const char *end;
++ char *result;
+
+ br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
+
+@@ -428,7 +429,8 @@ br_extract_dir (const char *path)
+ char *
+ br_extract_prefix (const char *path)
+ {
+- char *end, *tmp, *result;
++ const char *end;
++ char *tmp, *result;
+
+ br_return_val_if_fail (path != (char *) NULL, (char *) NULL);
+