aboutsummaryrefslogtreecommitdiff
path: root/games/heretic
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-25 19:00:11 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-25 19:00:11 +0000
commit32aecf2bc36df6ceeeee5d3e5abed29715691103 (patch)
tree4f1ebb3aa7c5dc82ea5d8646f61b2b85809a2eb6 /games/heretic
parent597e00d7a9ae822517ab9efbb402c249e91eebe1 (diff)
downloadports-32aecf2bc36df6ceeeee5d3e5abed29715691103.tar.gz
ports-32aecf2bc36df6ceeeee5d3e5abed29715691103.zip
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=550066
Diffstat (limited to 'games/heretic')
-rw-r--r--games/heretic/Makefile7
-rw-r--r--games/heretic/files/patch-f__finale.c11
2 files changed, 17 insertions, 1 deletions
diff --git a/games/heretic/Makefile b/games/heretic/Makefile
index eabd463685de..b58f35202c84 100644
--- a/games/heretic/Makefile
+++ b/games/heretic/Makefile
@@ -3,7 +3,7 @@
PORTNAME= heretic
PORTVERSION= 1.2
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= http://files.kyle-evans.net/freebsd/:source \
http://files.kyle-evans.net/freebsd/:wad
@@ -14,6 +14,11 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= oliver@FreeBSD.org
COMMENT= Unix source-port of the famous Heretic game by id Software
+LICENSE= ACTIVISION
+LICENSE_NAME= Activision Source License
+LICENSE_FILE= ${WRKSRC}/doc/"End User License Heretic Source Code.txt"
+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
USES= dos2unix gmake
DOS2UNIX_FILES= opengl/gl_struct.h
diff --git a/games/heretic/files/patch-f__finale.c b/games/heretic/files/patch-f__finale.c
new file mode 100644
index 000000000000..4ea5c48a8ba2
--- /dev/null
+++ b/games/heretic/files/patch-f__finale.c
@@ -0,0 +1,11 @@
+--- f_finale.c.orig 2000-01-22 15:22:45 UTC
++++ f_finale.c
+@@ -22,7 +22,7 @@ char *e5text = E5TEXT;
+ char *finaletext;
+ char *finaleflat;
+
+-int FontABaseLump;
++extern int FontABaseLump;
+
+ extern boolean automapactive;
+ extern boolean viewactive;