From nobody Tue Apr 25 16:38:37 2023 X-Original-To: x11@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 4Q5SP95b0Qz47PDV for ; Tue, 25 Apr 2023 16:38:37 +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 4Q5SP91bDJz3tLh for ; Tue, 25 Apr 2023 16:38:37 +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=1682440717; 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=R5m/h6xmOKM4kSYYXcIVmbVNLNcKhy4r4kGl1WL3F2o=; b=ba8sIzoJCQlaBv0dLhK29O6zYS9RKdZj9wrSrVK6tQPB852fSYkFeSGKGxWBPEfekejdip jz/mqY0YPXr1oTtuDkkp9Ga8DX4x3eycH5QLM0dIVQK5bYnCVWDR1q1ERrahiRIxMcfY7I DoaEBbDOkBN7ESzD97wz7HkuQufTpxjdwqHVDPzODKspGF7pptab53KppuE53J8kj575JA lloZu4TDfzMqCjr2afp4etqnKa8QLFBIJ8VhIzZzHo+BQDoeL5/TtDNm36nRV+T5KLE4K0 YGj7I7unVJpH/t3VQcXG6Y/fP8pway20q3VlxQpC8WYSxZqrgcdbSJ76UnnIEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682440717; a=rsa-sha256; cv=none; b=boCPfpjO6BHuzweCEBK/I6eZnBpiskDs6NeWF0CLmKDtK3T5dXVWlTzqsdQu85FquGCtV+ gNtwkAv4cgLYcSesa4sZ1RkqXtVbQoKXIjoWc20ZFcnTOh607lqeT1Y9sd5hBM2aIUQEhK W02xrDbsMtrOXXAx51EPdsy/SUt8SdBk88en0/6krEn330I4pGcluufKPFf4I1FEjqUF72 SUXRCiAf29z8BBLa4vhcc/0Gx2bDUagl/5WB+R7Dwgxr544xswUcuZWzdcRPnKyqXQ6qXh d51ix5TZ+V2YE0Z/TAuyPgsu28sGYYFhMd4T3zcl0fPx4OMV8MpYsQGnZY1uRA== 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 4Q5SP90gRJz1DyX for ; Tue, 25 Apr 2023 16:38:37 +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 33PGcbI2047152 for ; Tue, 25 Apr 2023 16:38:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33PGcbE0047151 for x11@FreeBSD.org; Tue, 25 Apr 2023 16:38:37 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: x11@FreeBSD.org Subject: [Bug 271055] graphics/libGLU: fix build with clang 16 Date: Tue, 25 Apr 2023 16:38:37 +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: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@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: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271055 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D88f549c0d62c1a897a69aeebbb15d8e= c91c9dc20 commit 88f549c0d62c1a897a69aeebbb15d8ec91c9dc20 Author: Dimitry Andric AuthorDate: 2023-04-24 20:31:37 +0000 Commit: Dimitry Andric CommitDate: 2023-04-25 16:27:56 +0000 graphics/libGLU: fix build with clang 16 Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because graphics/libGLU's Makefile does not explicitly set its C++ standard, this leads to several errors: ../src/libnurbs/internals/varray.cc:76:5: error: ISO C++17 does not a= llow 'register' storage class specifier [-Wregister] register long ds =3D sgn(arc->tail()[0] - arc->prev->tail()[0]); ^~~~~~~~~ ../src/libnurbs/internals/varray.cc:77:5: error: ISO C++17 does not a= llow 'register' storage class specifier [-Wregister] register long dt =3D sgn(arc->tail()[1] - arc->prev->tail()[1]); ^~~~~~~~~ Upstream already noticed this, and committed https://gitlab.freedesktop.org/mesa/glu/-/commit/b6c308172993 as a fix, so add this as an additional patch, until the next version is released. PR: 271055 Approved by: manu (maintainer) MFH: 2023Q2 graphics/libGLU/Makefile | 5 ++++- graphics/libGLU/distinfo | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=