svn commit: r550678 - in head/games/nlarn: . files
Stefan Eßer
se at FreeBSD.org
Wed Sep 30 10:49:18 UTC 2020
Author: se
Date: Wed Sep 30 10:49:17 2020
New Revision: 550678
URL: https://svnweb.freebsd.org/changeset/ports/550678
Log:
Fix build with -fno-common
Added:
head/games/nlarn/files/
head/games/nlarn/files/patch-inc_nlarn.h (contents, props changed)
head/games/nlarn/files/patch-inc_position.h (contents, props changed)
Modified:
head/games/nlarn/Makefile
Modified: head/games/nlarn/Makefile
==============================================================================
--- head/games/nlarn/Makefile Wed Sep 30 10:45:41 2020 (r550677)
+++ head/games/nlarn/Makefile Wed Sep 30 10:49:17 2020 (r550678)
@@ -4,6 +4,7 @@
PORTNAME= nlarn
DISTVERSIONPREFIX= NLarn-
DISTVERSION= 0.7.3
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= egypcio at FreeBSD.org
@@ -13,8 +14,8 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake gnome lua:53 ncurses pkgconfig
-USE_GNOME= glib20 introspection:build
USE_GITHUB= yes
+USE_GNOME= glib20 introspection:build
post-configure:
${REINPLACE_CMD} 's|/usr/share/nlarn|${DATADIR}|' \
Added: head/games/nlarn/files/patch-inc_nlarn.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nlarn/files/patch-inc_nlarn.h Wed Sep 30 10:49:17 2020 (r550678)
@@ -0,0 +1,10 @@
+--- inc/nlarn.h.orig 2018-09-08 19:56:33 UTC
++++ inc/nlarn.h
+@@ -31,6 +31,6 @@
+ #endif
+
+ /* the entire game */
+-game *nlarn;
++extern game *nlarn;
+
+ #endif
Added: head/games/nlarn/files/patch-inc_position.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/nlarn/files/patch-inc_position.h Wed Sep 30 10:49:17 2020 (r550678)
@@ -0,0 +1,11 @@
+--- inc/position.h.orig 2018-09-08 19:56:33 UTC
++++ inc/position.h
+@@ -52,7 +52,7 @@ typedef union _position
+ guint32 val;
+ } position;
+
+-const position pos_invalid;
++extern const position pos_invalid;
+
+ typedef struct _rectangle
+ {
More information about the svn-ports-all
mailing list