tintin segfaults at startup for me without the patch below (tested on 
amd64).

While here, also:
- update MASTER_SITES to a working site
- add a license comment
- regen PLIST

Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/net/tintin++/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile    15 Sep 2007 22:36:59 -0000      1.14
+++ Makefile    11 Jan 2010 03:54:27 -0000
@@ -3,12 +3,13 @@
 COMMENT=       client program to help playing muds
 
 DISTNAME=       tintin++v1.5pl6
-PKGNAME=       tintin-1.5.6
+PKGNAME=       tintin-1.5.6p1
 CATEGORIES=     net games
 
-MASTER_SITES=   ftp://ftp.walrus.com/pub/avatar/clients/
+MASTER_SITES=  http://ftp.kiae.su/pub/unix/games/
 EXTRACT_SUFX=   .tar.Z
 
+# None
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
Index: patches/patch-files_c
===================================================================
RCS file: patches/patch-files_c
diff -N patches/patch-files_c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-files_c       11 Jan 2010 03:23:16 -0000
@@ -0,0 +1,11 @@
+$OpenBSD$
+--- files.c.orig       Mon Jan 11 03:22:56 2010
++++ files.c    Mon Jan 11 03:23:09 2010
+@@ -13,6 +13,7 @@
+ #include <strings.h>
+ #endif
+ #endif
++#include <stdlib.h>
+ #include "tintin.h"
+ 
+ struct listnode *common_aliases, *common_actions, *common_subs,
Index: pkg/PLIST
===================================================================
RCS file: /usr/cvs/ports/net/tintin++/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- pkg/PLIST   15 Sep 2004 18:17:46 -0000      1.4
+++ pkg/PLIST   11 Jan 2010 00:58:28 -0000
@@ -1,4 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.4 2004/09/15 18:17:46 espie Exp $
-bin/tt++
+...@bin bin/tt++
 lib/tintin/
 lib/tintin/.tt_help.txt.Z

Reply via email to