svn commit: r550679 - in head/games/pioneers: . files

Stefan Eßer se at FreeBSD.org
Wed Sep 30 10:58:52 UTC 2020


Author: se
Date: Wed Sep 30 10:58:50 2020
New Revision: 550679
URL: https://svnweb.freebsd.org/changeset/ports/550679

Log:
  Fix build with -fno-common
  
  While here add dependencies reported as missing by stage-qa.

Added:
  head/games/pioneers/files/
  head/games/pioneers/files/patch-common_game.h   (contents, props changed)
Modified:
  head/games/pioneers/Makefile

Modified: head/games/pioneers/Makefile
==============================================================================
--- head/games/pioneers/Makefile	Wed Sep 30 10:49:17 2020	(r550678)
+++ head/games/pioneers/Makefile	Wed Sep 30 10:58:50 2020	(r550679)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pioneers
 PORTVERSION=	15.5
+PORTREVISION=	1
 CATEGORIES=	games gnome
 MASTER_SITES=	SF/pio/Source
 
@@ -13,10 +14,12 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	itstool:textproc/itstool
+LIB_DEPENDS=	libavahi-common.so:net/avahi-app \
+		libnotify.so:devel/libnotify
 RUN_DEPENDS=	yelp:x11/yelp
 
 USES=		gettext gmake gnome pkgconfig
-USE_GNOME=	gnomeprefix gtk30 intltool libgnome librsvg2
+USE_GNOME=	cairo gnomeprefix gtk30 intltool libgnome librsvg2
 INSTALLS_ICONS=	yes
 INSTALLS_OMF=	yes
 GNU_CONFIGURE=	yes

Added: head/games/pioneers/files/patch-common_game.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/pioneers/files/patch-common_game.h	Wed Sep 30 10:58:50 2020	(r550679)
@@ -0,0 +1,11 @@
+--- common/game.h.orig	2018-03-14 13:44:46 UTC
++++ common/game.h
+@@ -137,7 +137,7 @@ typedef enum {
+ typedef void (*WriteLineFunc) (gpointer user_data, const gchar *);
+ 
+ /** Default style for a player. */
+-const gchar *default_player_style;
++extern const gchar *default_player_style;
+ 
+ GameParams *params_new(void);
+ GameParams *params_copy(const GameParams * params);


More information about the svn-ports-all mailing list