wok-next rev 19704
clamav: update for c++11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 13:01:09 2017 +0200 (2017-04-26) |
parents | 5d37421ab2d0 |
children | 777348fd8b60 |
files | clamav/receipt |
line diff
1.1 --- a/clamav/receipt Wed Apr 26 12:29:37 2017 +0200 1.2 +++ b/clamav/receipt Wed Apr 26 13:01:09 2017 +0200 1.3 @@ -17,7 +17,13 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - export LDFLAGS="$LDFLAGS -ltinfo" 1.8 + grep -rl 'alignof(' * | xargs sed -i 's|alignof(|alignof_(|' 1.9 + grep -rl 'alignof<' * | xargs sed -i 's|alignof<|alignof_<|' 1.10 + grep -rl '__alignof_' * | xargs sed -i 's|__alignof_|__alignof|' 1.11 + sed -i 's|make_pair<.*>|make_pair|' libclamav/c++/llvm/lib/ExecutionEngine/JIT/JITDebugRegisterer.cpp 1.12 + sed -i 's|~0|~0U|g' libclamav/c++/llvm/lib/Target/X86/X86CodeEmitter.cpp \ 1.13 + libclamav/c++/llvm/lib/Target/X86/X86MCCodeEmitter.cpp 1.14 + 1.15 # Have to create clamav user/group to be able to compile 1.16 adduser -s /bin/false -H -D -u 64 clamav 1.17