From nobody Mon Apr 24 20:34:46 2023 X-Original-To: ports-bugs@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 4Q4xh66RPFz47KcK for ; Mon, 24 Apr 2023 20:34:46 +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 4Q4xh64Fbcz3kC0 for ; Mon, 24 Apr 2023 20:34:46 +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=1682368486; 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=t3K/jSLjwt5JsD3xSEExY/Mbv1i0rC5EaCK+7hpTFn4=; b=NJ+2249MjFGRgrt2wlDLTSVfAepMe664YG9mfuhlt5hY2CUz1ByYc0k93ii2gvfmbyEHaR m26qO6n9oZT/FWanT5KgVCfw4e8PoRKsn2dVSvPQ2mu1I3fDtmWafql8Kk24nloaYGOLke AvrAZ+DqxSqZI/bnW+ThKsthwT1SN5nG4TUHfPCLDI7iMhOUyqCyBXlaCjWT8Bso/e5g1e EuWSkjSGmPjSQb1sriGyy95B8e7b3YtC68S95Q9Y/VFcPgNaibMvyo5fK2Nl/iiaA4xQih oQ/31Jh3ra5fwVTpz2UiVkLE4dSLncge+jpjJF0LlVEXLQODvndBp2DBQ3k1xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682368486; a=rsa-sha256; cv=none; b=qkU/yhOFKZqFYYG2chgZePSJqz4JdeN4I6PdgJQhjk75i0VH/5BXodUSXv7l6z2423VozH 4TxQZSRct3Ox6e7VhZn6raC5O0o1bQssLsJgki96eOQ/DDij3S6+3ImYs8fiki9J12yH05 4DxZb6+Sl5YV8Dvd46WgcLATRzRrFceadR0pc4nz43Y6mlfMq3Pa0HqPgcYV7FAzbGxrI+ 8JoT/fJjfe1sIuKzwbt57CaWSaqNenrA33HlkhaskTtOPxbydQq8G6Q9mXTRCSdaXVeM+3 08Bk5b2MqQadhDxvFcab9wEvTwa0R7Mn/rcYTL92tteQtsP7D2xY+a8zfbn0HQ== 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 4Q4xh63J4wzfdx for ; Mon, 24 Apr 2023 20:34:46 +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 33OKYkFA020956 for ; Mon, 24 Apr 2023 20:34:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33OKYkTt020955 for ports-bugs@FreeBSD.org; Mon, 24 Apr 2023 20:34:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271055] graphics/libGLU: fix build with clang 16 Date: Mon, 24 Apr 2023 20:34:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271055 Bug ID: 271055 Summary: graphics/libGLU: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org 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 allow '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 allow '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. --=20 You are receiving this mail because: You are the assignee for the bug.=