pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xosview/patches Add file forgotten in previou...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb325e16932e
branches:  trunk
changeset: 478993:fb325e16932e
user:      cube <cube%pkgsrc.org@localhost>
date:      Tue Aug 03 07:42:04 2004 +0000

description:
Add file forgotten in previous commit.

diffstat:

 sysutils/xosview/patches/patch-am |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r b06c830a5c9a -r fb325e16932e sysutils/xosview/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xosview/patches/patch-am Tue Aug 03 07:42:04 2004 +0000
@@ -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);
+   }



Home | Main Index | Thread Index | Old Index