svn commit: r550685 - in head/games/nettoe: . files
Stefan Eßer
se at FreeBSD.org
Wed Sep 30 11:24:10 UTC 2020
Author: se
Date: Wed Sep 30 11:24:09 2020
New Revision: 550685
URL: https://svnweb.freebsd.org/changeset/ports/550685
Log:
Fix build with -fno-common
Added:
head/games/nettoe/files/
head/games/nettoe/files/patch-src_game.h (contents, props changed)
head/games/nettoe/files/patch-src_misc.c (contents, props changed)
Modified:
head/games/nettoe/Makefile
Modified: head/games/nettoe/Makefile
==============================================================================
--- head/games/nettoe/Makefile Wed Sep 30 11:19:14 2020 (r550684)
+++ head/games/nettoe/Makefile Wed Sep 30 11:24:09 2020 (r550685)
@@ -3,6 +3,7 @@
PORTNAME= nettoe
PORTVERSION= 1.5.1
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.c-s.li/ports/ \
SF
@@ -12,10 +13,11 @@ COMMENT= Tic tac toe game playable over the network
LICENSE= GPLv2
-PLIST_FILES= bin/nettoe man/man6/nettoe.6.gz
-
USES= gmake
GNU_CONFIGURE= yes
+
+PLIST_FILES= bin/nettoe man/man6/nettoe.6.gz
+
PORTDOCS= AUTHORS BUGS ChangeLog NEWS README TO-DO
OPTIONS_DEFINE= DOCS
Added: head/games/nettoe/files/patch-src_game.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nettoe/files/patch-src_game.h Wed Sep 30 11:24:09 2020 (r550685)
@@ -0,0 +1,14 @@
+--- src/game.h.orig 2014-03-21 08:38:58 UTC
++++ src/game.h
+@@ -43,8 +43,8 @@
+
+ #define MAX_PNAME_LEN 32 /* this define max chars for the player names*/
+
+-int NO_BEEP;
++extern int NO_BEEP;
+
+-int NO_COLORS;
++extern int NO_COLORS;
+
+-int addrfamily;
++extern int addrfamily;
Added: head/games/nettoe/files/patch-src_misc.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nettoe/files/patch-src_misc.c Wed Sep 30 11:24:09 2020 (r550685)
@@ -0,0 +1,13 @@
+--- src/misc.c.orig 2014-03-21 08:46:52 UTC
++++ src/misc.c
+@@ -44,6 +44,10 @@
+ #include "misc.h"
+ #include "terminal.h"
+
++int NO_BEEP;
++int NO_COLORS;
++int addrfamily;
++
+ int who_start_first(void)
+ {
+ long generated_number;
More information about the svn-ports-head
mailing list