openbsd-ports/x11/wmpinboard/patches/patch-src_wmpinboard_c
naddy 8d1d4c465f Import wmpinboard 1.0.
Submitted by Peter Stromberg <home@wilfried.net>.

wmpinboard is a Window Maker dock applet resembling a
miniature pinboard.  It's intended to somewhat relieve
heavily littered desktops by allowing you to place reminders
on a graphical on-screen pinboard.
2001-01-17 16:32:52 +00:00

14 lines
456 B
Plaintext

$OpenBSD: patch-src_wmpinboard_c,v 1.1.1.1 2001/01/17 16:32:52 naddy Exp $
--- src/wmpinboard.c.orig Thu Apr 13 13:01:17 2000
+++ src/wmpinboard.c Mon Jan 15 16:11:36 2001
@@ -1142,7 +1142,8 @@ void
timer(unsigned int intv)
{
#ifndef __GLIBC__
- struct itimerval val = { { 0, intv }, { 0, intv } };
+ struct itimerval val = { { 0, 0 }, { 0, 0 } };
+ val.it_interval.tv_usec = val.it_value.tv_usec = intv;
setitimer(ITIMER_REAL, &val, 0);
#else