[Bug 267587] net/wmping: fix build with -fcommon
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 267587] net/wmping: fix build with -fcommon"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Nov 2022 08:02:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267587 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=14df860062a2417c117980666da0fd1985baaa63 commit 14df860062a2417c117980666da0fd1985baaa63 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-11-07 08:01:32 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-11-07 08:01:32 +0000 net/wmping: fix the port's build against -fno-common Ensure that there is only one variable definition per each object, as the C (and C++) standards mandated for years and compilers started to enforce as of recently (Clang 11, GCC 10). While here, define LICENSE, add missing USE_XORG components, and fix -Wformat-security warnings, adding newline to printed error messages for clarity and better look. PR: 267587 net/wmping/Makefile | 8 +++---- net/wmping/files/patch-wmgeneral.c (new) | 10 +++++++++ net/wmping/files/patch-wmgeneral.h (new) | 11 +++++++++ net/wmping/files/patch-wmping.c (new) | 38 ++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 4 deletions(-) -- You are receiving this mail because: You are the assignee for the bug.