aboutsummaryrefslogtreecommitdiff
path: root/games/einstein
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-01-31 21:24:15 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-01-31 21:24:15 +0000
commitce29958bb466fe1eb99417dc6f6bd15911880204 (patch)
treee1147c425e1de4d32452e7c521681886696b6536 /games/einstein
parentc2e14b6056c30e426d9f46094d0d0741684e9ac3 (diff)
downloadports-ce29958bb466fe1eb99417dc6f6bd15911880204.tar.gz
ports-ce29958bb466fe1eb99417dc6f6bd15911880204.zip
[games/einstein] : compile fix
I tried to install the Einstein game just for the hack of it, but it doesn't compile without the attached (trivial) patch. Submitted by: Rene Ladan <r.c.ladan@student.tue.nl>
Notes
Notes: svn path=/head/; revision=127807
Diffstat (limited to 'games/einstein')
-rw-r--r--games/einstein/Makefile2
-rw-r--r--games/einstein/files/patch-utils.cpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/games/einstein/Makefile b/games/einstein/Makefile
index 851c7596f257..638852fcfbd4 100644
--- a/games/einstein/Makefile
+++ b/games/einstein/Makefile
@@ -7,7 +7,7 @@
PORTNAME= einstein
PORTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.babichev.info/files/einstein/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
diff --git a/games/einstein/files/patch-utils.cpp b/games/einstein/files/patch-utils.cpp
new file mode 100644
index 000000000000..ec46747b98aa
--- /dev/null
+++ b/games/einstein/files/patch-utils.cpp
@@ -0,0 +1,10 @@
+--- utils.cpp.orig Tue Feb 1 08:23:17 2005
++++ utils.cpp Tue Feb 1 08:23:27 2005
+@@ -9,6 +9,7 @@
+ //#endif
+
+ #include <fstream>
++#include <math.h>
+
+ #include "utils.h"
+ #include "main.h"