summaryrefslogtreecommitdiff
path: root/package/clamav/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-01-28 17:06:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-01-28 17:08:30 +0100
commit9145a8a8d0585ffed48ba74b2f5ddd46f0cc189b (patch)
treeadbccf04dcc039f683bd973a499f6d46c9f2c091 /package/clamav/patches
parent9af35a8c128da54d3461d0e9b61268dbee395e7f (diff)
clamav: update to latest
Diffstat (limited to 'package/clamav/patches')
-rw-r--r--package/clamav/patches/patch-clamdscan_proto_c6
-rw-r--r--package/clamav/patches/patch-libclamav_mbox_c11
2 files changed, 14 insertions, 3 deletions
diff --git a/package/clamav/patches/patch-clamdscan_proto_c b/package/clamav/patches/patch-clamdscan_proto_c
index c7120c9d5..a1d18ce41 100644
--- a/package/clamav/patches/patch-clamdscan_proto_c
+++ b/package/clamav/patches/patch-clamdscan_proto_c
@@ -1,6 +1,6 @@
---- clamav-0.98.7.orig/clamdscan/proto.c 2015-04-22 21:49:57.000000000 +0200
-+++ clamav-0.98.7/clamdscan/proto.c 2015-11-11 19:22:21.000000000 +0100
-@@ -36,6 +36,7 @@
+--- clamav-0.103.0.orig/clamdscan/proto.c 2020-09-13 02:27:09.000000000 +0200
++++ clamav-0.103.0/clamdscan/proto.c 2021-01-28 04:40:12.604606645 +0100
+@@ -39,6 +39,7 @@
#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
diff --git a/package/clamav/patches/patch-libclamav_mbox_c b/package/clamav/patches/patch-libclamav_mbox_c
new file mode 100644
index 000000000..86e81131a
--- /dev/null
+++ b/package/clamav/patches/patch-libclamav_mbox_c
@@ -0,0 +1,11 @@
+--- clamav-0.103.0.orig/libclamav/mbox.c 2020-09-13 02:27:10.000000000 +0200
++++ clamav-0.103.0/libclamav/mbox.c 2021-01-28 04:48:50.156979494 +0100
+@@ -91,7 +91,7 @@
+ #include <features.h>
+ #endif
+
+-#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1
++#if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 && !defined(__UCLIBC__) || defined(__UCLIBC_HAS_BACKTRACE__)
+ #define HAVE_BACKTRACE
+ #endif
+ #endif