From nobody Mon Apr 24 20:34:46 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 4Q4xh66RR0z47KfK 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 4Q4xh62WSHz3k1Y 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: in-reply-to:in-reply-to:references:references; bh=b7WUJX1acBZsm3UZEzucPOS/6hsdOZCjuUpBmhq6Omc=; b=VwcZblRjvF1fdbNR+BkWnoO6z4sX5VH2gpdiU3BaY1XjZcq4cowvKEIQOFPJa+7dnOJxPS J1FL6efYwrGOF8zm3odDiLLXmxjk94KZiMJZ7cme52R4wAj4h28aaydISb2XG4KZr1hYC4 Mhl8R9kdBs5yrOfzUwHyVXUVuhRJfNDLNLFY5Wr1zvI3Zl3XGocQ9QGxFVVwjssuxRJ9rF Zl8ySn8RifMAE8psAajTRh2gDd4+JNsqvtqfYx79gR9j2zfNlcn+3ggDN25FjflZbhICEu MM8P+SSSg8GxGsLsFQq2rF0QBJO4m7dAFYXGrCGuXtVU1dj+aFnxXHf+qw4iLA== 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=u23xGn/xCYYtaCryoQuj260Tz8MBesGD4ygGPdNmTGLk2ksn4Lf5T7j1/cNoipi7EHXVy+ N+aaG9BTO9+T7UFWQxWFN1bHyXskLG7HImGDubnges5DMIDzShD4wm7m1AiK7eZOHQCnqS aoVOUZZRIoQTqaqyK/OS6gAQwknLijCUGfv6EUL8v/8H0CTFjNGCVwgoRwReygqw1o0UQk zluAsB7mwuqgu0rSgN92t5xAdA18mGKx20lYjBjWJ3/HmCTWaT4OXKNxQmcC4wOujdQaPb nE+q9Mmk3ehPH9Rl/03tWDQQfA5sWUyN6TT+tuofkKljVCykUARYm3TIz/3t9Q== 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 4Q4xh61Jf8zfr0 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 33OKYk1O020943 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 33OKYkIN020942 for x11@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 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 271055] graphics/libGLU: fix build with clang 16 Date: Mon, 24 Apr 2023 20:34:46 +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: x11@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: 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 Bugzilla Automation has asked freebsd-x11 (Nobody) for maintainer-feedback: Bug 271055: graphics/libGLU: fix build with clang 16 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271055 --- Description --- 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.