From nobody Sat Jan 07 00:32:06 2023 X-Original-To: gnome@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 4Nph3p52Vcz2r9X8 for ; Sat, 7 Jan 2023 00:32:06 +0000 (UTC) (envelope-from bugzilla-noreply@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 4Nph3p29LLz4Ch7 for ; Sat, 7 Jan 2023 00:32:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673051526; 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: in-reply-to:in-reply-to:references:references; bh=FS2LA3XOmRbjeMp34ID88KtiTzZ7q4ZAAdJOFHkA9l4=; b=dlXk7kcvjvE/vTrGcOBUjXalaZlo+eW0UlIWaj0rti+P4pnhTtzthcELf7RIxg0Hm5b9uN jgkATF9Zsv+D/UVRWnDIPOj3la1CYtJ1y9AL5CMaBXENyzxMX9rFIrNIlHuSByg5yNJDZ8 LsE/PwV46nENEWRbs2t7S8pQGl+1LfGZ6dlJufedjYnjAzt4E6U4DKeG+CakJnVHOnTjBm b7AnbRQoqrF8g9BmHjwWNhybcnPsiT/Xk7n9lfO+bORGBdC3AYHPQekyGWDcQDZ9cYLiZw TljcerWbKAiO901obDVfqS3Xp6QSqLvfdjeGbtrHsScy/XWRS83OMeHDEWXtpQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673051526; a=rsa-sha256; cv=none; b=W8G2Secn2O1B7h4sZeGYvQ2PLiklpZzsZeUYiOQ4SxYJDegmREB1nQnUASuHXMY9DVoM8f V+hFm4Oa/MeCnXp4oPzqoAYfv2G+kohrdQkSvzrZIXXFGYJdMWr33uatCpfi9GNvsgpGwr VSxUg246JFOuAX4vbKo0WYgcHYPwnEgH4561/MqK7kMHLSpKlFwJZn95g2U5jkqF3oUCTI LivDAtxdUwOuOKDtm177MxxXfmx5tlTNX+5K3IkbThFjFN5KH8qyg1SjTESWE3CYc93HRY J1MS2mQRTpsCKOTgPe/L7ri6MquMPZg/X8Kd7U/zC2h/gYlUD3tPsAVVxupNyQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Nph3p1GBQzqb6 for ; Sat, 7 Jan 2023 00:32:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3070W6vX050690 for ; Sat, 7 Jan 2023 00:32:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3070W6wH050689 for gnome@FreeBSD.org; Sat, 7 Jan 2023 00:32:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 268795] x11/mate-panel: fix build with clang 15 Date: Sat, 07 Jan 2023 00:32:06 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-gnome (Nobody) for maintainer-feedback: Bug 268795: x11/mate-panel: fix build with clang 15 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268795 --- Description --- During an exp-run for llvm 15 (see bug 265425), it turned out that x11/mate-panel failed to build with clang 15: clock-location.c:454:22: error: incompatible pointer to integer conversion assigning to 'glong' (aka 'long') from 'char *(int, int)' [-Wint-conversion] sys_timezone =3D timezone; ^ ~~~~~~~~ clock-location.c:462:24: error: incompatible pointer to integer conversion assigning to 'glong' (aka 'long') from 'char *(int, int)' [-Wint-conversion] local_timezone =3D timezone; ^ ~~~~~~~~ This is because 'timezone' as a global external variable does not exist on FreeBSD: it is a glibc-ism. Use struct tm's tm_gmtoff field instead, which = has its sign reversed from the glibc global. There is also no need to manually account for DST, as tm_gmtoff includes that.