Remove llvm-glibc.patch (upstream already fixed it)
This commit is contained in:
parent
7a201cd807
commit
607a7f16de
@ -71,8 +71,6 @@ Patch0: clamav-0.100.0-stats-deprecation.patch
|
|||||||
Patch1: clamav-0.100.1-defaults_locations.patch
|
Patch1: clamav-0.100.1-defaults_locations.patch
|
||||||
Patch24: clamav-0.99-private.patch
|
Patch24: clamav-0.99-private.patch
|
||||||
Patch27: clamav-0.100.0-umask.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
|
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
|
%patch1 -p1 -b .default_confs
|
||||||
%patch24 -p1 -b .private
|
%patch24 -p1 -b .private
|
||||||
%patch27 -p1 -b .umask
|
%patch27 -p1 -b .umask
|
||||||
%patch30 -p1
|
|
||||||
|
|
||||||
install -p -m0644 %SOURCE300 clamav-milter/
|
install -p -m0644 %SOURCE300 clamav-milter/
|
||||||
|
|
||||||
@ -522,6 +519,7 @@ test -e %milterlog || {
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jan 27 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-7
|
* Mon Jan 27 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-7
|
||||||
- More cleanups
|
- More cleanups
|
||||||
|
- Remove llvm-glibc.patch (upstream already fixed it)
|
||||||
|
|
||||||
* Sun Jan 26 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-6
|
* Sun Jan 26 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-6
|
||||||
- Fix clamd scriplets on update and add scriplets for clamav-freshclam.service
|
- Fix clamd scriplets on update and add scriplets for clamav-freshclam.service
|
||||||
|
@ -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 <sys/stat.h>
|
|
||||||
#endif
|
|
||||||
#include <fcntl.h>
|
|
||||||
+#include <unistd.h>
|
|
||||||
/* 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.
|
|
Loading…
Reference in New Issue
Block a user