summaryrefslogtreecommitdiff
path: root/package/clamav/patches/patch-libclamav_mbox_c
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/patch-libclamav_mbox_c
parent9af35a8c128da54d3461d0e9b61268dbee395e7f (diff)
clamav: update to latest
Diffstat (limited to 'package/clamav/patches/patch-libclamav_mbox_c')
-rw-r--r--package/clamav/patches/patch-libclamav_mbox_c11
1 files changed, 11 insertions, 0 deletions
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