Bug 233291 - security/ossec-hids-local: fix build with GCC-based architectures
Summary: security/ossec-hids-local: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on: 233168
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-18 12:46 UTC by Piotr Kubaj
Modified: 2018-11-27 02:01 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (dominik.lisiak)


Attachments
patch (541 bytes, patch)
2018-11-18 12:46 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 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 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 2018-11-27 02:01:33 UTC
Committed, thanks!