aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/clamav
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-07-14 13:17:06 -0700
committerTom Rini <tom_rini@mentor.com>2010-07-14 13:44:35 -0700
commit098bbaa7446076dd10b2d221719e75b0964e0ba7 (patch)
tree1ff675e785df6de322abefb75e2be92b3bb9a8ea /recipes/clamav
parent9ea531812022fa5e76f6bcb9ba6ae682194a0b0a (diff)
downloadopenembedded-098bbaa7446076dd10b2d221719e75b0964e0ba7.tar.gz
clamav 0.96.1: Add a patch to drop @CFLAGS@ from libclamav.pc.in, bump PR
@CFLAGS@ doesn't belong in pkgconfig files Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/clamav')
-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"