summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/clamav/clamav-0.96.1/fix-libclamav.pc.in.patch11
-rw-r--r--recipes/clamav/clamav_0.96.1.bb5
2 files changed, 14 insertions, 2 deletions
diff --git a/recipes/clamav/clamav-0.96.1/fix-libclamav.pc.in.patch b/recipes/clamav/clamav-0.96.1/fix-libclamav.pc.in.patch
new file mode 100644
index 0000000000..46e919a27f
--- /dev/null
+++ b/recipes/clamav/clamav-0.96.1/fix-libclamav.pc.in.patch
@@ -0,0 +1,11 @@
+Index: clamav-0.96.1/libclamav.pc.in
+===================================================================
+--- clamav-0.96.1.orig/libclamav.pc.in 2010-07-14 13:13:59.000000000 -0700
++++ clamav-0.96.1/libclamav.pc.in 2010-07-14 13:14:05.000000000 -0700
+@@ -7,5 +7,5 @@
+ Description: A GPL virus scanner
+ Version: @LIBCLAMAV_VERSION@
+ Libs: -L${libdir} -lclamav @LIBCLAMAV_LIBS@
+-Cflags: -I${includedir} @CFLAGS@
++Cflags: -I${includedir}
+
diff --git a/recipes/clamav/clamav_0.96.1.bb b/recipes/clamav/clamav_0.96.1.bb
index 6124652e98..0f09b8a6d7 100644
--- a/recipes/clamav/clamav_0.96.1.bb
+++ b/recipes/clamav/clamav_0.96.1.bb
@@ -1,11 +1,12 @@
require clamav.inc
-SRC_URI += " file://fix-llvm-cross-configure.patch"
+SRC_URI += "file://fix-llvm-cross-configure.patch \
+ file://fix-libclamav.pc.in.patch"
SRC_URI[clamav-0.96.1.md5sum] = "38e7870db6e9ad0e569518499a6f3651"
SRC_URI[clamav-0.96.1.sha256sum] = "413dd25907059068da2a367d2b330fbc37d5d2764eb3b047214ce754a9ca74ea"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
EXTRA_OECONF_append_libc-uclibc = " --disable-llvm"