wok-next diff clamav/receipt @ rev 19904

avrdude: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 12 18:55:33 2017 +0200 (2017-10-12)
parents d6ca18366f41
children a7b1395df64a
line diff
     1.1 --- a/clamav/receipt	Mon Dec 21 02:53:09 2015 +0200
     1.2 +++ b/clamav/receipt	Thu Oct 12 18:55:33 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