summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-08-03 07:42:04 +0000
committercube <cube@pkgsrc.org>2004-08-03 07:42:04 +0000
commit41a061faab7475620d80fc81eb5c9add6fe4c2f5 (patch)
tree3ea6c44727befd46d101e83b2c6344f75f610273 /sysutils
parent1c2349a72bfdf6ad9f3b45605c660b67b1fdd70f (diff)
downloadpkgsrc-41a061faab7475620d80fc81eb5c9add6fe4c2f5.tar.gz
Add file forgotten in previous commit.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xosview/patches/patch-am13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xosview/patches/patch-am b/sysutils/xosview/patches/patch-am
new file mode 100644
index 00000000000..f4e840ea1d0
--- /dev/null
+++ b/sysutils/xosview/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.5 2004/08/03 07:42:04 cube Exp $
+
+--- Xrm.cc.orig 2003-10-09 05:25:25.000000000 +0200
++++ Xrm.cc
+@@ -98,7 +98,7 @@ const char *Xrm::getResource(const char
+ char fcn_lower[1024];
+ strncpy(fcn_lower, className(), 1024);
+ char* p = fcn_lower;
+- while (p && *p) *p++ = tolower(*p);
++ while (p && *p) { *p = tolower(*p); p++; }
+ snprintf(fcn, 1024, "%s.%s", fcn_lower, rname);
+ XrmGetResource(_db, frn, fcn, &type, &val);
+ }