clamav 0.96.1: Add a patch to drop @CFLAGS@ from libclamav.pc.in, bump PR
authorTom Rini <tom_rini@mentor.com>
Wed, 14 Jul 2010 20:17:06 +0000 (13:17 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 14 Jul 2010 20:44:35 +0000 (13:44 -0700)
@CFLAGS@ doesn't belong in pkgconfig files

Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/clamav/clamav-0.96.1/fix-libclamav.pc.in.patch [new file with mode: 0644]
recipes/clamav/clamav_0.96.1.bb

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 (file)
index 0000000..46e919a
--- /dev/null
@@ -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}
index 6124652..0f09b8a 100644 (file)
@@ -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"