From f32b30ef4711fe602a11549f77be06a0eef2fc0d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 1 Mar 2012 10:08:03 -0800 Subject: libproxy: Fix build errors due to missing prototypes g++ really does not like the missing prototypes here we were missing close() and read() so include unistd.h to get them Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-support/libproxy/libproxy_0.4.7.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta/recipes-support/libproxy/libproxy_0.4.7.bb') diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb index f31b70183c..2cb8ed36be 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb @@ -8,9 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \ DEPENDS = "gconf" -PR = "r1" +PR = "r2" -SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz" +SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ + file://g++-namepace.patch \ + " SRC_URI[md5sum] = "509e03a488a61cd62bfbaf3ab6a2a7a5" SRC_URI[sha256sum] = "8fe0a58810139ba3c2e186deccf3e68adcd127aa0e972b0862b30b3dde493797" -- cgit 1.2.3-korg