aboutsummaryrefslogtreecommitdiff
path: root/games/xlife
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-03-24 12:04:16 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-03-24 12:04:16 +0000
commitde9b2d229ef2bc5e56f957ac3dacb85a9e1a212b (patch)
treec35abf01112cdf9a052ed5ce0c82665d1195b30e /games/xlife
parentbe506615540e2aab98d3d45322a8ac65f7c36fd9 (diff)
downloadports-de9b2d229ef2bc5e56f957ac3dacb85a9e1a212b.tar.gz
ports-de9b2d229ef2bc5e56f957ac3dacb85a9e1a212b.zip
- Fix runtime on amd64
PR: ports/132949 Submitted by: billy <markslashbill@yahoo.co.uk>
Notes
Notes: svn path=/head/; revision=230844
Diffstat (limited to 'games/xlife')
-rw-r--r--games/xlife/Makefile2
-rw-r--r--games/xlife/files/patch-main.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/games/xlife/Makefile b/games/xlife/Makefile
index fc26348735d6..f5e10f97c90d 100644
--- a/games/xlife/Makefile
+++ b/games/xlife/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xlife
PORTVERSION= 3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= ftp://ftp.x.org/R5contrib/
DISTNAME= xlife
diff --git a/games/xlife/files/patch-main.c b/games/xlife/files/patch-main.c
new file mode 100644
index 000000000000..8d8e1235f796
--- /dev/null
+++ b/games/xlife/files/patch-main.c
@@ -0,0 +1,10 @@
+--- main.c.orig 1991-04-03 04:04:28.000000000 +0200
++++ main.c 2009-03-24 13:02:59.000000000 +0100
+@@ -31,6 +31,7 @@
+ #include <X11/Xatom.h>
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "defs.h"
+ #include "icon.h"