From 607a7f16de7c89ac5a5c50b159ff240d2435ea18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Tue, 28 Jan 2020 02:21:52 +0000 Subject: [PATCH] Remove llvm-glibc.patch (upstream already fixed it) --- clamav.spec | 4 +--- llvm-glibc.patch | 12 ------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 llvm-glibc.patch diff --git a/clamav.spec b/clamav.spec index 07dc6ca..f360733 100644 --- a/clamav.spec +++ b/clamav.spec @@ -71,8 +71,6 @@ Patch0: clamav-0.100.0-stats-deprecation.patch Patch1: clamav-0.100.1-defaults_locations.patch Patch24: clamav-0.99-private.patch Patch27: clamav-0.100.0-umask.patch -# https://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/Intercept.cpp?r1=128086&r2=137567 -Patch30: llvm-glibc.patch BuildRequires: autoconf automake gettext-devel libtool libtool-ltdl-devel @@ -215,7 +213,6 @@ This package contains files which are needed to run the clamav-milter. %patch1 -p1 -b .default_confs %patch24 -p1 -b .private %patch27 -p1 -b .umask -%patch30 -p1 install -p -m0644 %SOURCE300 clamav-milter/ @@ -522,6 +519,7 @@ test -e %milterlog || { %changelog * Mon Jan 27 2020 Sérgio Basto - 0.101.5-7 - More cleanups +- Remove llvm-glibc.patch (upstream already fixed it) * Sun Jan 26 2020 Sérgio Basto - 0.101.5-6 - Fix clamd scriplets on update and add scriplets for clamav-freshclam.service diff --git a/llvm-glibc.patch b/llvm-glibc.patch deleted file mode 100644 index 67dbdd7..0000000 --- a/llvm-glibc.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp -=================================================================== ---- clamav-0.97.3.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp -+++ clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp -@@ -52,6 +52,7 @@ static void runAtExitHandlers() { - #include - #endif - #include -+#include - /* stat functions are redirecting to __xstat with a version number. On x86-64 - * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' - * available as an exported symbol, so we have to add it explicitly.