Bug 242231 - www/c-icap-modules: Unbreak
Summary: www/c-icap-modules: Unbreak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-25 19:46 UTC by Renato Botelho
Modified: 2019-12-01 17:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rodrigo)


Attachments
patch (1.99 KB, patch)
2019-11-25 19:46 UTC, Renato Botelho
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Botelho freebsd_committer 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 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 2019-12-01 17:40:32 UTC
Committed, thanks.