svn commit: r549576 - in head/games/spacezero: . files
Stefan Eßer
se at FreeBSD.org
Tue Sep 22 11:35:08 UTC 2020
Author: se
Date: Tue Sep 22 11:35:07 2020
New Revision: 549576
URL: https://svnweb.freebsd.org/changeset/ports/549576
Log:
Fix build with -fno-common
While here add dependencies reported as missing by make stage-qa.
Added:
head/games/spacezero/files/patch-include_snow.h (contents, props changed)
head/games/spacezero/files/patch-src_snow.c (contents, props changed)
head/games/spacezero/files/patch-src_spacecomm.c (contents, props changed)
Modified:
head/games/spacezero/Makefile
Modified: head/games/spacezero/Makefile
==============================================================================
--- head/games/spacezero/Makefile Tue Sep 22 11:28:26 2020 (r549575)
+++ head/games/spacezero/Makefile Tue Sep 22 11:35:07 2020 (r549576)
@@ -3,6 +3,7 @@
PORTNAME= spacezero
PORTVERSION= 0.86.00
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20${PORTVERSION:R}/
@@ -12,10 +13,12 @@ COMMENT= 2D Real Time Strategy space combat game
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libvorbisfile.so:audio/libvorbis
+LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
+ libfontconfig.so:x11-fonts/fontconfig \
+ libfreetype.so:print/freetype2
USES= openal:al,alut gnome pkgconfig xorg
-USE_GNOME= gtk20
+USE_GNOME= gtk20 cairo gdkpixbuf2
USE_XORG= x11
MAKE_ARGS= DATADIR="${DATADIR}" \
INSTALL_DATA_DIR="${DATADIR}"
Added: head/games/spacezero/files/patch-include_snow.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/spacezero/files/patch-include_snow.h Tue Sep 22 11:35:07 2020 (r549576)
@@ -0,0 +1,11 @@
+--- include/snow.h.orig 2013-12-18 11:52:33 UTC
++++ include/snow.h
+@@ -29,7 +29,7 @@
+ #include "objects.h"
+
+
+-struct Flake *flakes;
++extern struct Flake *flakes;
+
+ struct Flake{
+ float x,y;
Added: head/games/spacezero/files/patch-src_snow.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/spacezero/files/patch-src_snow.c Tue Sep 22 11:35:07 2020 (r549576)
@@ -0,0 +1,10 @@
+--- src/snow.c.orig 2013-12-18 11:50:44 UTC
++++ src/snow.c
+@@ -38,6 +38,7 @@
+
+ #define NFLAKES 1000
+
++struct Flake *flakes;
+
+ void CreateSnow(int w,int h){
+ int i;
Added: head/games/spacezero/files/patch-src_spacecomm.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/spacezero/files/patch-src_spacecomm.c Tue Sep 22 11:35:07 2020 (r549576)
@@ -0,0 +1,11 @@
+--- src/spacecomm.c.orig 2013-12-18 18:53:03 UTC
++++ src/spacecomm.c
+@@ -63,7 +63,7 @@ SENDOBJUNMOD0
+ #define SENDORDERS 1
+
+ extern struct HeadObjList listheadobjs;
+-struct TextMessageList listheadtext;
++extern struct TextMessageList listheadtext;
+ extern struct CharListHead gameloglist; /* list of all game messages */
+ extern struct Window windowgamelog;
+ extern struct Habitat habitat;
More information about the svn-ports-all
mailing list