summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/kdelibs/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/kdelibs/patches/patch-ab b/x11/kdelibs/patches/patch-ab
new file mode 100644
index 00000000000..5e52d2b75b8
--- /dev/null
+++ b/x11/kdelibs/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2000/01/26 16:23:26 kleink Exp $
+
+--- kfmlib/kfm.cpp.orig Wed Jun 2 10:07:42 1999
++++ kfmlib/kfm.cpp Tue Jan 25 22:00:23 2000
+@@ -44,9 +44,9 @@
+ if (i==0)
+ {
+ // we are running local, so add the hostname
+- char name[25];
++ char name[256];
+
+- if (gethostname(name, 25) == 0)
++ if (gethostname(name, sizeof(name)) == 0)
+ d = name + d;
+ }
+