Bug 233291

Summary: security/ossec-hids-local: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: dominik.lisiak, linimon
Priority: --- Flags: bugzilla: maintainer-feedback? (dominik.lisiak)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 233168    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-11-18 12:46:50 UTC
Created attachment 199313 [details]
patch

-Wno-implicit-fallthrough is not supported by base GCC, making build fail on GCC architectures.

Tested on amd64 and powerpc64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-27 01:58:17 UTC
A commit references this bug:

Author: swills
Date: Tue Nov 27 01:58:03 UTC 2018
New revision: 485977
URL: https://svnweb.freebsd.org/changeset/ports/485977

Log:
  security/ossec-hids-local: build fix as user [1]

  While here:

  - add new option PGSQL_SC ossec-hids-*-config [1]
  - improved option descriptions [1]
  - fix build with GCC-based architectures [2]

  PR:		233168 [1]
  PR:		233291 [2]
  Submitted by:	Dominik Lisiak <dominik.lisiak@bemsoft.pl> (maintainer) [1]
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [2]
  Approved by:	Dominik Lisiak <dominik.lisiak@bemsoft.pl> (maintainer) [2]

Changes:
  head/security/ossec-hids-local/Makefile
  head/security/ossec-hids-local/files/patch-src_Makefile
  head/security/ossec-hids-local-config/Makefile
  head/security/ossec-hids-local-config/files/template-syscheck-pgsql.xml.in
  head/security/ossec-hids-local-config/opt-logs.mk
  head/security/ossec-hids-local-config/opt-syscheck.mk
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-11-27 02:01:33 UTC
Committed, thanks!