[Bug 259006] net-mgmt/sdig: fix build with -fno-common

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Oct 2021 14:53:14 UTC

            Bug ID: 259006
           Summary: net-mgmt/sdig: fix build with -fno-common
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org
 Attachment #228518 maintainer-approval?(zi@FreeBSD.org)
                CC: zi@FreeBSD.org

Created attachment 228518
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228518&action=edit
net-mgmt/sdig: fix build with -fno-common

Since FreeBSD 13 has been released, -fno-common is the default option for the C
compiler.  This patch removes an unused global variable to make the build
succeed with this option.

While we are at it...

 - regenerate the existing patches
 - add USES=autoreconf as the port otherwise fails to build,
   apparently due to a time stamp issue
 - define LICENSE

Tested with Poudriere on armv7 arm64 FreeBSD 13.

You are receiving this mail because:
You are the assignee for the bug.