Bug 242231

Summary: www/c-icap-modules: Unbreak
Product: Ports & Packages Reporter: Renato Botelho <garga>
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (rodrigo)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Renato Botelho freebsd_committer freebsd_triage 2019-11-25 19:46:27 UTC
Created attachment 209420 [details]
patch

After clamav upgrade, there is a CLAMAV_VERSION variable on clamav-version.h that conflicts with c-icap-modules.

Rename local variable adding a _ prefix to prevent the collision and fix the build.

Obtained from: pfSense
Sponsored by: Rubicon Communications, LLC (Netgate)
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-12-01 17:40:12 UTC
A commit references this bug:

Author: rodrigo
Date: Sun Dec  1 17:40:07 UTC 2019
New revision: 518789
URL: https://svnweb.freebsd.org/changeset/ports/518789

Log:
  Unbreak www/c-icap-modules

  After clamav upgrade, there is a CLAMAV_VERSION variable on
  clamav-version.h that conflicts with c-icap-modules.

  Rename local variable adding a _ prefix to prevent the collision
  and fix the build.

  PR:		242231
  Submitted by:	garga
  Obtained from:	pfSense
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Changes:
  head/www/c-icap-modules/Makefile
  head/www/c-icap-modules/files/patch-services_virus__scan_clamav__mod.c
Comment 2 Rodrigo Osorio freebsd_committer freebsd_triage 2019-12-01 17:40:32 UTC
Committed, thanks.