aboutsummaryrefslogtreecommitdiff
path: root/games/icbm3d/files
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-12-24 08:20:21 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-12-24 08:20:21 +0000
commit7073c9751cebca76fdda41dc891ba1e05f61604d (patch)
tree45b19b2a73385e51019907604bf2190ff916cc2b /games/icbm3d/files
parent8238bf7aa31057461d7fca3dfba05c6bd436d002 (diff)
downloadports-7073c9751cebca76fdda41dc891ba1e05f61604d.tar.gz
ports-7073c9751cebca76fdda41dc891ba1e05f61604d.zip
- Bump PORTREVISION
- Change master sites and icon - Support STAGEDIR - Add DOCS Option - Add Desktop entry file - Simplify Makefile - Add patches, fix bad C++ code Approved by: pawel / wg (mentors, implicit)
Notes
Notes: svn path=/head/; revision=337322
Diffstat (limited to 'games/icbm3d/files')
-rw-r--r--games/icbm3d/files/patch-makefile10
-rw-r--r--games/icbm3d/files/patch-randnum.c10
-rw-r--r--games/icbm3d/files/patch-text.c10
3 files changed, 25 insertions, 5 deletions
diff --git a/games/icbm3d/files/patch-makefile b/games/icbm3d/files/patch-makefile
index 09919c80adb8..9c6128719880 100644
--- a/games/icbm3d/files/patch-makefile
+++ b/games/icbm3d/files/patch-makefile
@@ -1,13 +1,13 @@
---- makefile.orig 1998-07-31 06:41:20.000000000 +0200
-+++ makefile 2012-09-02 23:21:36.000000000 +0200
+--- ./makefile.orig 1998-07-31 06:41:20.000000000 +0200
++++ ./makefile 2013-12-24 08:28:45.000000000 +0100
@@ -9,14 +9,16 @@
# Makefile user-definable variables------------------------------------------
-CC=gcc
-+CC?=g++
-+PREFIX?=/usr/local
-+LOCALBASE?=/usr/local
++CC?=${CC}
++PREFIX?=${PREFIX}
++LOCALBASE?=${PREFIX}
MATHLIB=-lm
INSTALLROOT=$(PREFIX)
diff --git a/games/icbm3d/files/patch-randnum.c b/games/icbm3d/files/patch-randnum.c
new file mode 100644
index 000000000000..005d03d5060f
--- /dev/null
+++ b/games/icbm3d/files/patch-randnum.c
@@ -0,0 +1,10 @@
+--- ./randnum.c.orig 1998-07-29 23:25:59.000000000 +0200
++++ ./randnum.c 2013-12-24 08:33:46.000000000 +0100
+@@ -11,6 +11,7 @@
+ #include <stdio.h>
+ #include <sys/time.h>
+ #include "randnum.h"
++#include <stdlib.h>
+
+ void randinit()
+ {
diff --git a/games/icbm3d/files/patch-text.c b/games/icbm3d/files/patch-text.c
new file mode 100644
index 000000000000..732faa6764ef
--- /dev/null
+++ b/games/icbm3d/files/patch-text.c
@@ -0,0 +1,10 @@
+--- ./text.c.orig 1998-07-29 23:25:59.000000000 +0200
++++ ./text.c 2013-12-24 08:28:45.000000000 +0100
+@@ -7,6 +7,7 @@
+
+ #include <X11/Xlib.h>
+ #include "text.h"
++#include <string.h>
+
+ int FontHeight(XFontStruct *font_struct)
+ {