Date: Tue, 1 Sep 2020 18:46:42 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547286 - in head: games/netradiant/files misc/geekcode Message-ID: <202009011846.081IkgiC023745@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Tue Sep 1 18:46:42 2020 New Revision: 547286 URL: https://svnweb.freebsd.org/changeset/ports/547286 Log: Force -fcommon for the time being, fixing the code looks impractical. This is to fix the build against modern compilers (Clang 11, GCC 10). Reported by: pkg-fallout Modified: head/games/netradiant/files/patch-Makefile head/misc/geekcode/Makefile Modified: head/games/netradiant/files/patch-Makefile ============================================================================== --- head/games/netradiant/files/patch-Makefile Tue Sep 1 18:33:18 2020 (r547285) +++ head/games/netradiant/files/patch-Makefile Tue Sep 1 18:46:42 2020 (r547286) @@ -1,5 +1,14 @@ ---- Makefile.orig 2013-06-30 22:04:34.000000000 +0800 -+++ Makefile 2013-09-06 16:56:05.000000000 +0800 +--- Makefile.orig 2015-06-21 12:05:51 UTC ++++ Makefile +@@ -112,7 +112,7 @@ ifeq ($(OS),Windows_NT) + OS = Win32 + endif + +-CFLAGS_COMMON = -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing ++CFLAGS_COMMON = -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fcommon + CPPFLAGS_COMMON = + LDFLAGS_COMMON = + LIBS_COMMON = @@ -153,7 +153,7 @@ else Modified: head/misc/geekcode/Makefile ============================================================================== --- head/misc/geekcode/Makefile Tue Sep 1 18:33:18 2020 (r547285) +++ head/misc/geekcode/Makefile Tue Sep 1 18:46:42 2020 (r547286) @@ -12,7 +12,7 @@ COMMENT= Geek Code Generator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -fcommon" PLIST_FILES= bin/geekcode PORTDOCS= geekcode.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009011846.081IkgiC023745>