diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-19 08:54:31 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-04-19 08:54:31 +0000 |
commit | fdd13a819c067d54d0b9c4f763c032a54f8f764f (patch) | |
tree | 7da1d0c81f43452f0eebf109036852ce634ba31e /deskutils/wmpinboard/files/patch-src::xmisc.c | |
parent | Add wmcpuload 0.0.3a, an "lcd" dockapp for windowmaker, which (diff) |
Update to 1.0.
PR: ports/26669
Submitted by: Alex Kapranoff <kappa@zombie.antar.bryansk.ru>
Diffstat (limited to '')
-rw-r--r-- | deskutils/wmpinboard/files/patch-src::xmisc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/wmpinboard/files/patch-src::xmisc.c b/deskutils/wmpinboard/files/patch-src::xmisc.c new file mode 100644 index 000000000000..e8e4582cf328 --- /dev/null +++ b/deskutils/wmpinboard/files/patch-src::xmisc.c @@ -0,0 +1,11 @@ +--- xmisc.c.orig Wed Apr 18 13:23:16 2001 ++++ src/xmisc.c Wed Apr 18 13:23:22 2001 +@@ -298,7 +298,7 @@ + if (cb_buffer) free(cb_buffer); + l = len < 0 ? strlen(text) : len; + cb_buffer = smalloc(l+1); +- strncpy(cb_buffer, text, l); ++ strncpy((char *)cb_buffer, text, l); + cb_buffer[l] = 0; + + XSetSelectionOwner(display, XA_PRIMARY, win, CurrentTime); |