missing prototypes for malloc/calloc cause problems on amd64.
diff from Michael Warmuth on ports@ a couple of months ago (during ports lock), thanks!
This commit is contained in:
parent
6c402b74b3
commit
e07b877ae0
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2007/11/13 14:54:31 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2008/10/10 22:58:16 sthen Exp $
|
||||
|
||||
COMMENT= challenging double decked solitaire game
|
||||
|
||||
DISTNAME= spider
|
||||
PKGNAME= spider-1.1p0
|
||||
PKGNAME= spider-1.1p1
|
||||
CATEGORIES= games
|
||||
|
||||
MASTER_SITES= ftp://ftp.uni-koeln.de/windows/xcontrib/
|
||||
|
@ -1,7 +1,15 @@
|
||||
$OpenBSD: patch-gfx_c,v 1.1 2004/10/25 13:49:22 brad Exp $
|
||||
--- gfx.c.orig Sun Oct 24 17:37:02 2004
|
||||
+++ gfx.c Sun Oct 24 17:37:14 2004
|
||||
@@ -166,7 +166,7 @@ unsigned long redpixel;
|
||||
$OpenBSD: patch-gfx_c,v 1.2 2008/10/10 22:58:16 sthen Exp $
|
||||
--- gfx.c.orig Sat Sep 28 18:46:10 1991
|
||||
+++ gfx.c Sat Aug 2 19:41:42 2008
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
#include "defs.h"
|
||||
#include "globals.h"
|
||||
+#include <stdlib.h>
|
||||
|
||||
#ifdef ROUND_CARDS
|
||||
#include <X11/Xmu/Drawing.h>
|
||||
@@ -166,7 +167,7 @@ unsigned long redpixel;
|
||||
gcflags |= GCFont;
|
||||
|
||||
textgc = XCreateGC(dpy, RootWindow(dpy, screen), gcflags, &gcv);
|
||||
|
@ -1,6 +1,15 @@
|
||||
$OpenBSD: patch-spider_c,v 1.1 2004/10/25 13:49:22 brad Exp $
|
||||
--- spider.c.orig Sun Oct 24 17:38:21 2004
|
||||
+++ spider.c Sun Oct 24 17:38:31 2004
|
||||
$OpenBSD: patch-spider_c,v 1.2 2008/10/10 22:58:16 sthen Exp $
|
||||
--- spider.c.orig Sat Sep 28 18:46:12 1991
|
||||
+++ spider.c Sat Aug 2 19:41:42 2008
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "defs.h"
|
||||
#include "globals.h"
|
||||
#include <ctype.h>
|
||||
-
|
||||
+#include <stdlib.h>
|
||||
static void fix_coords();
|
||||
|
||||
int deltamod = 0;
|
||||
@@ -619,7 +619,7 @@ Type type;
|
||||
|
||||
return (type_names[type]);
|
||||
|
Loading…
Reference in New Issue
Block a user