From patchwork Wed Mar 11 11:22:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Keeping X-Patchwork-Id: 1252801 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=metanate.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=metanate.com header.i=@metanate.com header.a=rsa-sha256 header.s=stronger header.b=LBZZt0u9; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48cqMT6jR7z9sQt for ; Wed, 11 Mar 2020 22:23:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 763AA88281; Wed, 11 Mar 2020 11:23:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q1dZnmZKChQz; Wed, 11 Mar 2020 11:23:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 80F6E881AB; Wed, 11 Mar 2020 11:23:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 726931BF59C for ; Wed, 11 Mar 2020 11:23:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 69B1B20764 for ; Wed, 11 Mar 2020 11:23:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EUNZ2UfpvEel for ; Wed, 11 Mar 2020 11:23:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from metanate.com (dougal.metanate.com [90.155.101.14]) by silver.osuosl.org (Postfix) with ESMTPS id 1C59C20406 for ; Wed, 11 Mar 2020 11:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=metanate.com; s=stronger; h=Content-Transfer-Encoding:References: In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Content-Type:Reply-To: Content-ID:Content-Description; bh=XMQ0LRMu+L3/CoPJ4U/hX5YsK/NllZWBHThIxg2zXhg=; b=LBZZt0u9ApqFb1ozujL2+NEfod 8Fy7WgXs13ukRlyP6qGqpyMiiCcdHmPYFGEK00rI/hSnPA6UZwNV2G48PsWqO802DJee/QK7MM6GD rpxQekcC5uQ8fOi4Cw/rnc3btY/FOPk8568EDQTG/emgDTpVBE2m8bcyKqESRRf51YcPPlJCD2NOz dlefwOs7W4EK58aQBSnymEP6x4xirEVMCAhnorTppPHTwixGVlPeqh6iI6/7M3yVmipxcgrY1Rnox jrvrruXOu66Rb86pcayKlJrLEzzZ7XzYl3MHFRjR8D34qRaI2RIS0xFg2KcnRPNg8cXC5OeFt/dog FOEVIeoQ==; Received: from dougal.metanate.com ([192.168.88.1] helo=donbot.metanate.com) by email.metanate.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jBzS6-0004m4-7P; Wed, 11 Mar 2020 11:23:06 +0000 From: John Keeping To: buildroot@buildroot.org Date: Wed, 11 Mar 2020 11:22:56 +0000 Message-Id: <20200311112256.2849174-2-john@metanate.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200311112256.2849174-1-john@metanate.com> References: <20200311112256.2849174-1-john@metanate.com> MIME-Version: 1.0 X-Authenticated: YES Subject: [Buildroot] [PATCH v2 2/2] package/libglib2: restore use of system printf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eric Le Bihan , Peter Seiderer , John Keeping , Fabrice Fontaine , Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Prior to commit 4102db0f7a ("package/libglib2: bump to version 2.60.3") which converted libglib2 to meson, Buildroot used to set a range of autoconf options to bypass tests that require running binaries. The meson version of libglib2's build system has many fewer of these checks, but there are still some and these can be fed the "correct" answer by adding properties to cross-compilation.conf. Add the necessary properties to indicate that we have C99 compliant print functions to avoid pulling in the gnulib fallback. Signed-off-by: John Keeping Reviewed-by: Peter Seiderer --- v2: - Add Peter's reviewed-by - thanks! --- package/libglib2/libglib2.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk index f00818f69c..a206639f74 100644 --- a/package/libglib2/libglib2.mk +++ b/package/libglib2/libglib2.mk @@ -52,6 +52,11 @@ LIBGLIB2_CONF_OPTS = \ -Dinstalled_tests=false \ -Doss_fuzz=disabled +LIBGLIB2_MESON_EXTRA_PROPERTIES = \ + have_c99_vsnprintf=true \ + have_c99_snprintf=true \ + have_unix98_printf=true + ifneq ($(BR2_ENABLE_LOCALE),y) LIBGLIB2_DEPENDENCIES += libiconv endif