Bug 223945 - security/clamav: incorrect type size on amd64 in pcre2
Summary: security/clamav: incorrect type size on amd64 in pcre2
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: Larry Rosenman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 17:20 UTC by Victor Kustov
Modified: 2017-11-29 02:57 UTC (History)
0 users

See Also:
ler: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Kustov 2017-11-28 17:20:25 UTC
Linking with pcre2 has error: 

While clamav-0.99.2/libclamav/regex_pcre.c:115 contain:
"int errornum, erroffset;" but int on amd64 architecture 32bit, need t_size.

Describing: https://bugs.gentoo.org/638932
Patch: https://638932.bugs.gentoo.org/attachment.cgi?id=506922
Comment 1 Larry Rosenman freebsd_committer freebsd_triage 2017-11-29 02:52:10 UTC
patch looks good, tests in progress.
Comment 2 commit-hook freebsd_committer freebsd_triage 2017-11-29 02:56:39 UTC
A commit references this bug:

Author: ler
Date: Wed Nov 29 02:56:27 UTC 2017
New revision: 455091
URL: https://svnweb.freebsd.org/changeset/ports/455091

Log:
  security/clamav: incorrect type size on amd64 in pcre2.

  PR:		223945
  Submitted by:	coyote@bks.tv

Changes:
  head/security/clamav/Makefile
  head/security/clamav/files/patch-libclamav_regex_pcre.c
Comment 3 Larry Rosenman freebsd_committer freebsd_triage 2017-11-29 02:57:07 UTC
Committed, Thanks.