From owner-svn-ports-all@freebsd.org Wed Sep 30 10:49:18 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E3CD4246D5; Wed, 30 Sep 2020 10:49:18 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C1Y0Z3DRDz45n8; Wed, 30 Sep 2020 10:49:18 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4DB931E261; Wed, 30 Sep 2020 10:49:18 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08UAnIDv012625; Wed, 30 Sep 2020 10:49:18 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08UAnHUd012622; Wed, 30 Sep 2020 10:49:17 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009301049.08UAnHUd012622@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Wed, 30 Sep 2020 10:49:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550678 - in head/games/nlarn: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/games/nlarn: . files X-SVN-Commit-Revision: 550678 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2020 10:49:18 -0000 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 + {