a couple more missing prototypes needed for 64-bit arch,

from Michael Warmuth. regen PLIST while there.
This commit is contained in:
sthen 2008-10-14 22:54:22 +00:00
parent 9f06f29a5a
commit 035785ef7e
6 changed files with 46 additions and 9 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.18 2008/10/10 22:58:16 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2008/10/14 22:54:22 sthen Exp $
COMMENT= challenging double decked solitaire game
DISTNAME= spider
PKGNAME= spider-1.1p1
PKGNAME= spider-1.1p2
CATEGORIES= games
MASTER_SITES= ftp://ftp.uni-koeln.de/windows/xcontrib/

View File

@ -1,7 +1,14 @@
$OpenBSD: patch-movelog_c,v 1.1 2002/02/21 00:32:07 naddy Exp $
--- movelog.c.orig Sat Sep 28 19:46:17 1991
+++ movelog.c Thu Feb 21 01:26:42 2002
@@ -745,6 +745,7 @@ char *fname;
+++ movelog.c Sun Aug 3 09:33:25 2008
@@ -17,6 +17,7 @@
#include "defs.h"
#include "globals.h"
#include <string.h>
+#include <stdlib.h>
#include <sys/file.h>
#include <ctype.h>
#ifdef SVR4
@@ -745,6 +746,7 @@
FILE *fp;
char buf[1024], buf2[1024];
char *dp;
@ -9,7 +16,7 @@ $OpenBSD: patch-movelog_c,v 1.1 2002/02/21 00:32:07 naddy Exp $
fname = remove_newlines(fname);
if ((fp = fopen(fname, "r")) == NULL) {
@@ -756,7 +757,8 @@ char *dp;
@@ -756,7 +758,8 @@
/* read card string */
dp = buf;
@ -19,7 +26,7 @@ $OpenBSD: patch-movelog_c,v 1.1 2002/02/21 00:32:07 naddy Exp $
if (*dp == '\n') /* ignore any CR */
continue;
if (*dp == '.')
@@ -767,7 +769,8 @@ char *dp;
@@ -767,7 +770,8 @@
/* read moves string */
dp = buf2;

View File

@ -0,0 +1,10 @@
--- util.c.orig Sun Aug 3 09:35:39 2008
+++ util.c Sun Aug 3 09:37:57 2008
@@ -24,6 +24,7 @@
#endif /* XAW */
#include <ctype.h>
#include <string.h>
+#include <stdlib.h>
#include <pwd.h>
#define NUM_RETRIES 5

View File

@ -0,0 +1,10 @@
--- xv_stubs.c.orig Sun Aug 3 09:37:44 2008
+++ xv_stubs.c Sun Aug 3 09:42:41 2008
@@ -10,6 +10,7 @@
* @(#)xv_stubs.c 2.2 90/04/27
*/
#include <stdio.h>
+#include <stdlib.h>
#include <X11/Xlib.h>
#include <xview/xview.h>
#include <xview/panel.h>

View File

@ -0,0 +1,10 @@
--- xv_ui.c.orig Sun Aug 3 09:38:21 2008
+++ xv_ui.c Sun Aug 3 09:42:50 2008
@@ -16,6 +16,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <xview/xview.h>
#include <xview/canvas.h>
#include <xview/icon_load.h>

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/15 00:46:10 espie Exp $
bin/spider
@comment $OpenBSD: PLIST,v 1.5 2008/10/14 22:54:22 sthen Exp $
@bin bin/spider
lib/X11/spider/
lib/X11/spider/doc.controls
lib/X11/spider/doc.examples