- fix a coredump;

- take maintainership.

PR:		ports/74326
Submitted by:	Thomas Kempka.
This commit is contained in:
Thierry Thomas 2004-12-08 20:52:38 +00:00
parent 3ec26a59ff
commit 07bd173377
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123488
2 changed files with 13 additions and 4 deletions

View file

@ -7,12 +7,12 @@
PORTNAME= wmpinboard
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils afterstep windowmaker
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
MAINTAINER= t.kempka@web.de
COMMENT= Post-it notes for the WindowMaker dock or AfterStep Wharf
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig

View file

@ -1,5 +1,5 @@
--- wmpinboard.c.orig Thu Apr 13 15:01:17 2000
+++ src/wmpinboard.c Wed Apr 18 13:06:36 2001
--- wmpinboard.c.orig Fri Dec 8 20:42:23 2000
+++ src/wmpinboard.c Wed Nov 24 02:05:22 2004
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <stdio.h>
@ -8,6 +8,15 @@
#include <sys/stat.h>
#include <sys/time.h>
@@ -165,7 +166,7 @@
char t[STRING_BUF_SIZE];
FILE *file;
int pid = (int) getpid();
- static int sizes[6];
+ static int sizes[7];
sizes[0] = size_0;
sizes[1] = size_1;
sizes[2] = size_2;
@@ -1141,13 +1142,7 @@
void
timer(unsigned int intv)