diff options
author | mat <mat@FreeBSD.org> | 2014-03-02 18:47:32 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-03-02 18:47:32 +0800 |
commit | fee31f78963d1776be4ed65aeba4162493859045 (patch) | |
tree | 51cfab51a7e90de33829ad974e49e740f1bde23c /mail/p5-Mail-ClamAV/files | |
parent | a393c2fa346f85051a6bc999fa1d37b93aec8bbf (diff) | |
download | freebsd-ports-gnome-fee31f78963d1776be4ed65aeba4162493859045.tar.gz freebsd-ports-gnome-fee31f78963d1776be4ed65aeba4162493859045.tar.zst freebsd-ports-gnome-fee31f78963d1776be4ed65aeba4162493859045.zip |
- Fix build with Clang [1]
- Convert to staging
Reported by: pkg-fallout, for months [1]
Sponsored by: Absolight
Diffstat (limited to 'mail/p5-Mail-ClamAV/files')
-rw-r--r-- | mail/p5-Mail-ClamAV/files/patch-ClamAV.pm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm new file mode 100644 index 000000000000..a4125b9c0f0a --- /dev/null +++ b/mail/p5-Mail-ClamAV/files/patch-ClamAV.pm @@ -0,0 +1,29 @@ +--- ./ClamAV.pm.orig 2009-04-30 01:02:43.000000000 +0200 ++++ ./ClamAV.pm 2014-03-02 11:45:39.000000000 +0100 +@@ -286,7 +286,7 @@ + reclevel = cl_engine_get_num(c->root, CL_ENGINE_MAX_RECURSION, &err); + if (err != CL_SUCCESS) { + error(err); +- return; ++ return 0; + } + return reclevel; + } +@@ -313,7 +313,7 @@ + maxfiles = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILES, &err); + if (err != CL_SUCCESS) { + error(err); +- return; ++ return 0; + } + return maxfiles; + } +@@ -334,7 +334,7 @@ + maxfsize = cl_engine_get_num(c->root, CL_ENGINE_MAX_FILESIZE, &err); + if (err != CL_SUCCESS) { + error(err); +- return; ++ return 0; + } + return maxfsize; + } |