aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"