summaryrefslogtreecommitdiffstats
path: root/recipes/clamav/clamav-0.96.1
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-05-21 16:02:05 +0400
committerRoman I Khimov <khimov@altell.ru>2010-06-10 22:57:07 +0400
commit674f92812e50bfb43c30dbac84dc5416f4790557 (patch)
tree2f8b7736dfce9fee1cc26c06439976594ce731fc /recipes/clamav/clamav-0.96.1
parent101eac534afed0302e2c8587b21293cce3eab12a (diff)
downloadopenembedded-674f92812e50bfb43c30dbac84dc5416f4790557.tar.gz
clamav: introduce version 0.96.1
This one has llvm built-in and since llvm itself is handled natively with cmake autoreconf goes mad about missing configure.ac or .in. Thus this oe_runconf hook. I hope this will be handled by upstream sooner or later. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/clamav/clamav-0.96.1')
-rw-r--r--recipes/clamav/clamav-0.96.1/fix-llvm-cross-configure.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/clamav/clamav-0.96.1/fix-llvm-cross-configure.patch b/recipes/clamav/clamav-0.96.1/fix-llvm-cross-configure.patch
new file mode 100644
index 0000000000..17cfb2b3e4
--- /dev/null
+++ b/recipes/clamav/clamav-0.96.1/fix-llvm-cross-configure.patch
@@ -0,0 +1,13 @@
+Index: clamav-0.96.1/libclamav/c++/llvm/configure
+===================================================================
+--- clamav-0.96.1.orig/libclamav/c++/llvm/configure 2010-05-21 15:09:40.000000000 +0400
++++ clamav-0.96.1/libclamav/c++/llvm/configure 2010-05-21 15:11:09.000000000 +0400
+@@ -4502,7 +4502,7 @@
+ fi
+ fi
+ test -z "$BUILD_CC" && as_fn_error "no acceptable cc found in \$PATH" "$LINENO" 5
+- ac_build_link='${BUILD_CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
++ ac_build_link='${BUILD_CC-cc} -o conftest $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+ rm -f conftest*
+ echo 'int main () { return 0; }' > conftest.$ac_ext
+ ac_cv_build_exeext=