Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09A27D0EE18 for ; Tue, 25 Nov 2025 21:08:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 12EDD60708; Tue, 25 Nov 2025 21:08:09 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id WOhTSRAjvOPb; Tue, 25 Nov 2025 21:08:06 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C298760689 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id C298760689; Tue, 25 Nov 2025 21:08:06 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 5291723F for ; Tue, 25 Nov 2025 21:08:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 38A636063B for ; Tue, 25 Nov 2025 21:08:05 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NhtAO7_UsoWb for ; Tue, 25 Nov 2025 21:08:04 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 77E72605CA DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 77E72605CA Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp3.osuosl.org (Postfix) with ESMTPS id 77E72605CA for ; Tue, 25 Nov 2025 21:08:02 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a0558.dip0.t-ipconnect.de [91.58.5.88]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 766F8A4C765D; Tue, 25 Nov 2025 22:07:59 +0100 (CET) Received: from bruckner.lan.fli4l ([192.168.1.1]:37850) by fli4l.lan.fli4l with esmtp (Exim 4.99) (envelope-from ) id 1vO0GV-000000002F6-0Ngr; Tue, 25 Nov 2025 21:07:59 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Cc: Fabrice Fontaine Date: Tue, 25 Nov 2025 22:07:59 +0100 Message-ID: <20251125210759.333290-1-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Spamd-Bar: ++++++ X-Spam: Yes X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202506031021; t=1764104879; bh=6If+cwon/ASM8GQUu59FH+ZEb1ojCCM1jxG+QyG21+M=; h=From:To:Cc:Subject:Date:From; b=bTx/wfufKM6fRfQoP9XKXpsmzFIanNHKVjicoBAYhiAjCtJB+EoUjnUrzQ0pwpaaN v1EJA9t993IwWBP4gGLqOsTLU35Om93wZQV9VdE1ng/5OFrolSfPyNi91wCfGwsYv9 7muQdJ5CwKO6GQfztssgZLCFw6QL5EvnOJbReZBdGv8LbTxQBhx5PaCECBG7vm8yB9 UA02rfQthIbacgD3k9DCmXlii5vZgHhQZF4+9tCrf/HNN8xxkJbYUgax1ExCsZXgRn oPXGNUUIE7qPNb2DHW82BqKQ844yFSZsKL4CZujppkbMPywD6uhDi0bvOKx77y8g9G 4LXdjNN6POwjw== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202506031021 header.b=bTx/wfuf Subject: [Buildroot] [PATCH 1/1] package/cairo: Fix build with newer gcc X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fixes: https://autobuild.buildroot.net/results/0e9/0e962c66e1e96b5899e87c13ace824379adc09f9/ Signed-off-by: Bernd Kuhls --- .../0001-Wincompatible-pointer-types.patch | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 package/cairo/0001-Wincompatible-pointer-types.patch diff --git a/package/cairo/0001-Wincompatible-pointer-types.patch b/package/cairo/0001-Wincompatible-pointer-types.patch new file mode 100644 index 0000000000..79f0347538 --- /dev/null +++ b/package/cairo/0001-Wincompatible-pointer-types.patch @@ -0,0 +1,38 @@ +Fix build with newer gcc + +Downloaded from +https://github.com/LibreOffice/core/blob/master/external/cairo/cairo/Wincompatible-pointer-types.patch.0 + +Upstream: https://gitlab.freedesktop.org/cairo/cairo/-/issues/921 + +Signed-off-by: Bernd Kuhls + +--- a/src/cairo-image-source.c ++++ b/src/cairo-image-source.c +@@ -86,7 +86,7 @@ + if (unlikely (image == NULL)) + return NULL; + +- if (_cairo_atomic_ptr_cmpxchg (&__pixman_transparent_image, ++ if (_cairo_atomic_ptr_cmpxchg ((cairo_atomic_intptr_t *) &__pixman_transparent_image, + NULL, image)) + { + pixman_image_ref (image); +@@ -118,7 +118,7 @@ + if (unlikely (image == NULL)) + return NULL; + +- if (_cairo_atomic_ptr_cmpxchg (&__pixman_black_image, ++ if (_cairo_atomic_ptr_cmpxchg ((cairo_atomic_intptr_t *) &__pixman_black_image, + NULL, image)) + { + pixman_image_ref (image); +@@ -150,7 +150,7 @@ + if (unlikely (image == NULL)) + return NULL; + +- if (_cairo_atomic_ptr_cmpxchg (&__pixman_white_image, ++ if (_cairo_atomic_ptr_cmpxchg ((cairo_atomic_intptr_t *) &__pixman_white_image, + NULL, image)) + { + pixman_image_ref (image); -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot