summaryrefslogtreecommitdiff
path: root/security/clamav/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 13:09:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-02-05 13:09:19 +0000
commit14137caf356b7b03b3358720e00909ca41354f06 (patch)
treead8f120c7dced104821dbc858a66110477dab366 /security/clamav/files
parentFix maintainers email address (diff)
maintainer-update: security/clamav to 0.54
PR: ports/47291 Submitted by: TERAMOTO Masahiro <markun@onohara.to>
Diffstat (limited to 'security/clamav/files')
-rw-r--r--security/clamav/files/patch5-libclamav::zziplib::zzip-file.c26
-rw-r--r--security/clamav/files/patch5-libclamav::zziplib::zzip-stat.c10
2 files changed, 36 insertions, 0 deletions
diff --git a/security/clamav/files/patch5-libclamav::zziplib::zzip-file.c b/security/clamav/files/patch5-libclamav::zziplib::zzip-file.c
new file mode 100644
index 000000000000..234f1ce5af2c
--- /dev/null
+++ b/security/clamav/files/patch5-libclamav::zziplib::zzip-file.c
@@ -0,0 +1,26 @@
+--- libclamav/zziplib/zzip-file.c.orig Wed Feb 5 04:32:11 2003
++++ libclamav/zziplib/zzip-file.c Wed Feb 5 04:35:05 2003
+@@ -11,6 +11,7 @@
+ * that can be found in COPYING.ZZIP
+ */
+
++#include <strings.h>
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <errno.h>
+@@ -94,7 +95,6 @@
+ return 0;
+ }
+
+-
+ static int zzip_inflate_init(ZZIP_FILE *, struct zzip_dir_hdr *);
+
+ /**
+@@ -113,6 +113,7 @@
+ struct zzip_dir_hdr * hdr = dir->hdr0;
+ int (*cmp)(zzip_char_t*, zzip_char_t*);
+
++ (void)strcasecmp("","");
+ cmp = (o_mode & ZZIP_CASEINSENSITIVE)? strcasecmp: strcmp;
+
+ if (o_mode & ZZIP_IGNOREPATH)
diff --git a/security/clamav/files/patch5-libclamav::zziplib::zzip-stat.c b/security/clamav/files/patch5-libclamav::zziplib::zzip-stat.c
new file mode 100644
index 000000000000..745fdb031292
--- /dev/null
+++ b/security/clamav/files/patch5-libclamav::zziplib::zzip-stat.c
@@ -0,0 +1,10 @@
+--- libclamav/zziplib/zzip-stat.c.orig Wed Feb 5 04:36:09 2003
++++ libclamav/zziplib/zzip-stat.c Wed Feb 5 04:36:32 2003
+@@ -32,6 +32,7 @@
+ struct zzip_dir_hdr * hdr = dir->hdr0;
+ int (*cmp)(zzip_char_t*, zzip_char_t*);
+
++ (void)strcasecmp("","");
+ cmp = (flags & ZZIP_CASEINSENSITIVE) ? strcasecmp : strcmp;
+
+ if (flags & ZZIP_IGNOREPATH)