Bug 74326 - deskutils/wmpinboard-1.0 - coredump fix and maintainership request
Summary: deskutils/wmpinboard-1.0 - coredump fix and maintainership request
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 18:10 UTC by Thomas Kempka
Modified: 2004-12-08 20:54 UTC (History)
0 users

See Also:


Attachments
wmpinboard-1.0.patch (924 bytes, patch)
2004-11-24 18:10 UTC, Thomas Kempka
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kempka 2004-11-24 18:10:12 UTC
	Port deskutils/wmpinboard coredumps when typing text into a postit, this patch fixes it.
	I would like to take the maintainership for this port.

How-To-Repeat: 	Start wmpinboard, click on 'TODO' and start to type.
Comment 1 Thomas Kempka 2004-11-24 19:14:50 UTC
The former patch does not seem to apply cleanly. Please use this one instead, thanks.

diff -ruN /usr/ports/deskutils/wmpinboard/files/patch-src::wmpinboard.c.orig /usr/ports/deskutils/wmpinboard/files/patch-src::wmpinboard.c
--- /usr/ports/deskutils/wmpinboard/files/patch-src::wmpinboard.c	Thu Apr 19 10:54:31 2001
+++ ./deskutils/wmpinboard/files/patch-src::wmpinboard.c	Wed Nov 24 12:02:35 2004
@@ -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)
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2004-12-08 20:53:07 UTC
State Changed
From-To: open->closed


Committed, thanks! 

You are the maintainer.