aboutsummaryrefslogtreecommitdiff
path: root/net/nifmon
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-14 06:41:24 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-10-14 06:41:24 +0000
commit710493154f3d0a4231cb9f384c0422ebb6b59570 (patch)
treef29076c92b19820c40a008e0a676eeb8fe4adbcc /net/nifmon
parent32f7734ee430f2e6df20ec819d28bffb43cfe4f6 (diff)
downloadports-710493154f3d0a4231cb9f384c0422ebb6b59570.tar.gz
ports-710493154f3d0a4231cb9f384c0422ebb6b59570.zip
Force -fcommon to unbreak the build against Clang 11 and GCC 10.
PR: 250219
Notes
Notes: svn path=/head/; revision=552302
Diffstat (limited to 'net/nifmon')
-rw-r--r--net/nifmon/files/patch-Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/nifmon/files/patch-Makefile b/net/nifmon/files/patch-Makefile
index 8eebf791ee97..e411939afc38 100644
--- a/net/nifmon/files/patch-Makefile
+++ b/net/nifmon/files/patch-Makefile
@@ -1,8 +1,10 @@
---- Makefile.orig Wed May 2 20:41:22 2001
-+++ Makefile Wed Feb 25 17:43:00 2004
-@@ -5,7 +5,7 @@
+--- Makefile.orig 2001-05-02 18:41:22 UTC
++++ Makefile
+@@ -4,8 +4,9 @@ MAN8 = nifmon.8
+ BINDIR = /usr/local/bin
MANDIR = /usr/local/man/man
++CFLAGS += -fcommon
# compile debug support
-COPTS += -DDEBUG -g -Wall
+#COPTS += -DDEBUG -g -Wall