[oe-commits] Tom Rini : clamav 0.96.1: Add a patch to drop @CFLAGS@ from libclamav.pc.in , bump PR

git version control git at git.openembedded.org
Wed Jul 14 20:44:37 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 098bbaa7446076dd10b2d221719e75b0964e0ba7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=098bbaa7446076dd10b2d221719e75b0964e0ba7

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Jul 14 13:17:06 2010 -0700

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 at mentor.com>

---

 .../clamav/clamav-0.96.1/fix-libclamav.pc.in.patch |   11 +++++++++++
 recipes/clamav/clamav_0.96.1.bb                    |    5 +++--
 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 0000000..46e919a
--- /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 6124652..0f09b8a 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"
 





More information about the Openembedded-commits mailing list