From nobody Tue Apr 18 15:12:32 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q16q46QN8z45Dw2; Tue, 18 Apr 2023 15:12:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q16q45VR6z3n5K; Tue, 18 Apr 2023 15:12:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681830752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aKUSfr1WaTGP8KfF7SC2Dp2es5waBQocf9h8H0EUxGg=; b=fPwgDz5xIcEKBjLAM9uncKmrJraHZCebxxPJF7usvHSF8R4nPSKdfT7z9IgKGk4Nm1TlvM rN9WnDI1gN2DcWUha8ohwdmwxx1nt5pcNL2LRwXRFTveYRsejbc2JZPjXNktBrrBfebuAU uiHxFQ3FGq5jNOzSNe8WC9TAd3aGbA42fnEL9nMtlig0N0AWuwq0UJIiHw28noZCIiwB9C lQ+X+xJbTjgz1/PLiejdYJP7gVgwMDYM2gKEAfI5TVFju+oqXLXbhaeaXBfGtX92GoF555 wzL5+n67nsOho+0AIRS5iQrCp/YVi5My695IB1/JRhdBvhmG6zcy0L3VH4GZzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681830752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aKUSfr1WaTGP8KfF7SC2Dp2es5waBQocf9h8H0EUxGg=; b=M7+6o43hKD73KYmW/4OozjMyx9RMQ2QKngcn2aDFS+KncNlNUgsjPbahmd0I19asZJ7hz6 BMTPVzkaP3+LIUxAhHW+C+Ov+PMs/ZXPKkgPopz4/6ihaPCbrk7SPgNN5J0Cu0BD4xS/nN T1gaLbtmWaXtl11GFdbTGC6vuYYSBrtxgDGeRqLnvVDf9UP+a1BZSfqeMNwjvOUqwdSACf 8OGYCE91T3Gv/T5lKrp+PT9LmEpAY1HxLru08AWpY4P+Vhra7qvntif4TVhp558eJXpI7r 7Ie1jETdtuTK+cq00VxqXMuZ/Co5QOE7G8RwaGr+uDEQr5rF9eT9Dq2wp8hlpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681830752; a=rsa-sha256; cv=none; b=kUilVKB4M9hhNOcmjyKz05enQA0xhJLm3JRkivHzzqVDGyfQQsdWR3WBH8JlOZkeKv7OuD S38q7z8bthdppIh9xVdH2cU5HDiMlPoh7CodCYvF0/89fHZhdrflusD0ochtoURgS5hDEE msnkuDeoae/TZs4LZckGwK+xzDRrm/RKpvIzSGZEp8aqFNVK2dhL231W+3PY7IDBfOWAu9 DpJDX3/NCXCrS5lCW0BhUqGG+RKKIxYExv9YVIjcmL2L8bfRI4LI8oQf74HKDgn6R3pi+9 NXiNp8xocsrTFSEbq7zELJqVDuK6l6gToafViglihRb708xAayrULqi+PdLVmg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q16q43lTFzH3P; Tue, 18 Apr 2023 15:12:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33IFCWwN094392; Tue, 18 Apr 2023 15:12:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33IFCWsM094391; Tue, 18 Apr 2023 15:12:32 GMT (envelope-from git) Date: Tue, 18 Apr 2023 15:12:32 GMT Message-Id: <202304181512.33IFCWsM094391@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adriaan de Groot Subject: git: 45a326d4b384 - main - x11-toolkits/gtk20: fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adridg X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45a326d4b3846116734cce9c60ce189e9c2e81e0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=45a326d4b3846116734cce9c60ce189e9c2e81e0 commit 45a326d4b3846116734cce9c60ce189e9c2e81e0 Author: Adriaan de Groot AuthorDate: 2023-04-18 14:30:05 +0000 Commit: Adriaan de Groot CommitDate: 2023-04-18 15:12:06 +0000 x11-toolkits/gtk20: fix build with clang 16 Repair dodgy cast. Reported by: Eric Camachat PR: 270449 --- x11-toolkits/gtk20/files/patch-gtk_gtkscale.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/x11-toolkits/gtk20/files/patch-gtk_gtkscale.c b/x11-toolkits/gtk20/files/patch-gtk_gtkscale.c new file mode 100644 index 000000000000..a6bb935f5444 --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-gtk_gtkscale.c @@ -0,0 +1,11 @@ +--- gtk/gtkscale.c.orig 2020-12-18 05:29:40 UTC ++++ gtk/gtkscale.c +@@ -1471,7 +1471,7 @@ gtk_scale_add_mark (GtkScale *scale, + mark->position = position; + + priv->marks = g_slist_insert_sorted_with_data (priv->marks, mark, +- (GCompareFunc) compare_marks, ++ (GCompareDataFunc) compare_marks, + GINT_TO_POINTER ( + gtk_range_get_inverted (GTK_RANGE (scale)) + ));