Bug 233800

Summary: security/clamav: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, yasu
Priority: --- Flags: yasu: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch
none
patch none

Description Piotr Kubaj freebsd_committer 2018-12-05 14:00:44 UTC
Created attachment 199849 [details]
patch

Base GCC supports neither -Wno-logical-op-parentheses nor -Wno-dangling-else. Remove them on GCC architectures to fix build with base GCC.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Piotr Kubaj freebsd_committer 2018-12-05 14:01:45 UTC
Created attachment 199850 [details]
patch

Better patch.
Comment 2 Yasuhiro KIMURA 2018-12-06 09:05:12 UTC
Thank you for patch. Please go ahead.
Comment 3 commit-hook freebsd_committer 2018-12-07 15:35:04 UTC
A commit references this bug:

Author: linimon
Date: Fri Dec  7 15:34:52 UTC 2018
New revision: 486867
URL: https://svnweb.freebsd.org/changeset/ports/486867

Log:
  Base GCC supports neither -Wno-logical-op-parentheses nor -Wno-dangling-else.
  Remove them on GCC-based architectures to fix build.

  PR:		233800
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Changes:
  head/security/clamav/Makefile