aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/fix-zlib-1.2.1.patch
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2017-03-17 07:09:56 -0400
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-17 12:38:26 +0000
commit617ee00a324f8ceaf80e06cb5953db358fe28def (patch)
tree4def46dc4e44643cae4e2174cf5eaee2c159bea1 /main/clamav/fix-zlib-1.2.1.patch
parentace308dc4d3d61a4719c544712b7d2f61a6761e6 (diff)
downloadaports-617ee00a324f8ceaf80e06cb5953db358fe28def.tar.bz2
aports-617ee00a324f8ceaf80e06cb5953db358fe28def.tar.xz
main/clamav: fix bug
zlib 1.2.11 was mistaken as 1.2.1
Diffstat (limited to 'main/clamav/fix-zlib-1.2.1.patch')
-rw-r--r--main/clamav/fix-zlib-1.2.1.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/clamav/fix-zlib-1.2.1.patch b/main/clamav/fix-zlib-1.2.1.patch
new file mode 100644
index 0000000000..8ab4db0728
--- /dev/null
+++ b/main/clamav/fix-zlib-1.2.1.patch
@@ -0,0 +1,21 @@
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 9bcd60b..4a3359a 100755
+--- a/configure
++++ b/configure
+@@ -18718,7 +18718,7 @@ else
+
+ vuln=`grep "ZLIB_VERSION \"1.2.0" $ZLIB_HOME/include/zlib.h`
+ if test -z "$vuln"; then
+- vuln=`grep "ZLIB_VERSION \"1.2.1" $ZLIB_HOME/include/zlib.h`
++ vuln=`grep "ZLIB_VERSION \"1.2.1\"" $ZLIB_HOME/include/zlib.h`
+ fi
+
+ if test -n "$vuln"; then
+--
+2.11.1
+