[OE-core] [PATCH 2/3] curl: Fix wrong assumption about sizeof off_t on largefile systems
Khem Raj
raj.khem at gmail.com
Wed Apr 29 05:34:22 UTC 2015
This issue was reported on poky ml as well see
https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
Change-Id: Iedf22467889893111fde0433e411fd0546a38546
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta/recipes-support/curl/curl_7.42.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-support/curl/curl_7.42.0.bb b/meta/recipes-support/curl/curl_7.42.0.bb
index d4445ff..d698fcb 100644
--- a/meta/recipes-support/curl/curl_7.42.0.bb
+++ b/meta/recipes-support/curl/curl_7.42.0.bb
@@ -20,6 +20,7 @@ SRC_URI[sha256sum] = "32557d68542f5c6cc8437b5b8a945857b4c5c6b6276da909e35b783d1d
inherit autotools pkgconfig binconfig multilib_header
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} gnutls zlib"
+
PACKAGECONFIG_class-native = "ipv6 ssl zlib"
PACKAGECONFIG_class-nativesdk = "ipv6 ssl zlib"
@@ -37,6 +38,9 @@ EXTRA_OECONF = "--without-libidn \
--disable-ldaps \
--with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
"
+# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
+# We should ideally drop ac_cv_sizeof_off_t from site files but until then
+EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
do_install_append() {
oe_multilib_header curl/curlbuild.h
--
2.1.4
More information about the Openembedded-core
mailing list