From nobody Mon Jan 16 19:06:20 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 4NwhMJ6cdfz2t6bQ for ; Mon, 16 Jan 2023 19:06:20 +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 4NwhMJ40sBz3nmd for ; Mon, 16 Jan 2023 19:06:20 +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=1673895980; 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=Ujoz15hpjgmFBcT0DF8js2dEpRFTHJ4O3+cCFIpFqrU=; b=LoRR5M1rczpDLkWCZc6QkXR7+Fqq6LKvytYtBx0q3QuPJeQuG0n44KgKQ96qYFDakzyeu0 sAF71ZV8mXpfuV2NPaOlKhIb+7B/EycT5MWqbdRNFYUdCzSPS5u/NXJzd3yu5NmMjAUxGj r7Cn8caiviHSNWD8vYVbZwoZoq2XlRLYrWGSWGy8eMoIN/wDsIFv6x5d6MAUfOO3zzhdpB r2Tik2HxI1S4drkCD5tUSNEN3DgTxHsAJYPojtqI/BZCqI5kkQ0F69/dFRd5YWhmuYYIVz b36fPNAOHvP76zljsLA1G6+W5IjZ8x25Xc4fgS8+v0pmXb66qLrahgp1DZggKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673895980; a=rsa-sha256; cv=none; b=d8pNLbiog1Q+faRB0/kaCZQkaXB1r1b4bytNxx+CV1PYkF+ab8Uhz0pFCRrsAN/PWCxz37 1L3bt5QA+J+thWOZJ2fISBlN+rMt32XX0IS/kHoM063aObk8IGZlYlDKPrN1d6a6TytdcE e0vSSyiF1CcCm+hwqQdDgi4j3SklHqSj7vVoavbKyQQjyegekKqH4v8gn4zKUsmNB61MHZ QvWyECx7ECkbQc5ys0dIPPzgr07gi5gT+mYoymIUDacUx73l6vPSlborKdtUwz8bgG4n4G mYoIOOWjMnpAQ6G+mIGqRbHfDyYyRRYcvQec69mlc66r0cxOTnW9hl85XEZ7WQ== 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 4NwhMJ35b8z1Hpx for ; Mon, 16 Jan 2023 19:06:20 +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 30GJ6KX3029947 for ; Mon, 16 Jan 2023 19:06:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30GJ6Kkt029946 for gnome@FreeBSD.org; Mon, 16 Jan 2023 19:06:20 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 268795] x11/mate-panel: fix build with clang 15 Date: Mon, 16 Jan 2023 19:06:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268795 --- Comment #4 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dca9de74ce4b13b979ea5f24c88c111a= 2f9b24dfa commit ca9de74ce4b13b979ea5f24c88c111a2f9b24dfa Author: Dimitry Andric AuthorDate: 2023-01-07 00:28:09 +0000 Commit: Dimitry Andric CommitDate: 2023-01-16 19:04:46 +0000 x11/mate-panel: fix build with clang 15 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. PR: 268795 Approved by: portmgr (tcberner) MFH: 2023Q1 .../patch-applets_clock_clock-location.c (new) | 30 ++++++++++++++++++= ++++ 1 file changed, 30 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=