Date: Wed, 30 Sep 2020 10:49:17 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550678 - in head/games/nlarn: . files Message-ID: <202009301049.08UAnHUd012622@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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 + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009301049.08UAnHUd012622>