From nobody Tue May 7 15:00:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642527827; cv=none; d=zohomail.com; s=zohoarc; b=CiRnOz2bAS0qqjoqpTbh32xz8eBp9DqdFwpM1nwK1rtqJQKrO7+dzr5IhezlgrhcqgWBpA+W9AHVs6gfV5uOkrxAampbUWlWDoyfzb6hNAwDCaSNno052R8Xf0V7HTi3r/jDKTWa6NlM9JO/P+975PcChMQzcdTZzjDk0GMAZ7Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642527827; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=qUx4BP0FIwrp/ETX7AzAIjDyfL8mLaDKixyBGKf1G00=; b=mwhj2gD/XWYCBLpdvl8xsG6mVxyDM2HRYTspxKqrwenOKvbznnFu5WQf4kdJnlj/A8rPjaUrjt8Ts9TqWtm39s4N8AVgrNImkyNyIAHHT0gwKvkP0Wjed+tb8Jz0mVdffTsQCjicpCD8I/8kORqAHQnhCOFqYIeWtfynpGD5hWE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16425278272991002.6643693935117; Tue, 18 Jan 2022 09:43:47 -0800 (PST) Received: from localhost ([::1]:60864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9sWI-0002sm-AL for importer@patchew.org; Tue, 18 Jan 2022 12:43:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9s8S-0005Py-6S for qemu-devel@nongnu.org; Tue, 18 Jan 2022 12:19:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:48573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9s8N-0004Ua-Tn for qemu-devel@nongnu.org; Tue, 18 Jan 2022 12:19:07 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-640-1Va_pZ9NMPqAZQ_UIMy5Ow-1; Tue, 18 Jan 2022 12:18:53 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AA78018982B4; Tue, 18 Jan 2022 17:06:09 +0000 (UTC) Received: from thuth.com (unknown [10.39.194.216]) by smtp.corp.redhat.com (Postfix) with ESMTP id 78FB4753DA; Tue, 18 Jan 2022 17:06:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642526338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qUx4BP0FIwrp/ETX7AzAIjDyfL8mLaDKixyBGKf1G00=; b=F1s5GnpQYTs0pUa5XjZ6z2yOqIE0MkbJX9aHBUu82aeAYg1RJ9I8TlsmlBOOYBelffqER0 MhTypD7qxbPyTrBZMRMUIqnx+7fhCrkmspnKHHA1CQMGP34q0V3EpCsvGtYnDyYfqqfgmH j1SWo1tmSqzwJoDv7kWttp3iKTBEojo= X-MC-Unique: 1Va_pZ9NMPqAZQ_UIMy5Ow-1 From: Thomas Huth To: Alistair Francis , David Gibson , qemu-devel@nongnu.org Subject: [PATCH] meson.build: Use a function from libfdt 1.5.1 for the library check Date: Tue, 18 Jan 2022 18:05:48 +0100 Message-Id: <20220118170548.97288-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1642527828768100001 Content-Type: text/plain; charset="utf-8" The fdt version test in meson.build uses a function from libfdt v1.4.7, but we require version 1.5.1 nowadays. Thus use a function that has been introduced in that version instead. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/822 Signed-off-by: Thomas Huth Reviewed-by: Alistair Francis Reviewed-by: David Gibson Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 762d7cee85..d1cc04c7a2 100644 --- a/meson.build +++ b/meson.build @@ -2276,7 +2276,7 @@ if have_system if fdt.found() and cc.links(''' #include #include - int main(void) { fdt_check_full(NULL, 0); return 0; }''', + int main(void) { fdt_find_max_phandle(NULL, NULL); return 0; }''', dependencies: fdt) fdt_opt =3D 'system' elif fdt_opt =3D=3D 'system' --=20 2.27.0