From nobody Tue Apr 25 16:38:14 2023 X-Original-To: dev-commits-ports-all@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 4Q5SNl1CVgz47PHX; Tue, 25 Apr 2023 16:38:15 +0000 (UTC) (envelope-from git@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 4Q5SNl0MXfz3tH6; Tue, 25 Apr 2023 16:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682440695; 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=BOsrd/AwnnNTmKum+hiiM/OhipibfAhtxMKsgkKKLkE=; b=kSuNu+qnX7O8Ka5bFHPu4Q7+bNMKk/F2z8dorhzQsf0JqdZqjkbecQmedjaCT6wD6r+NXS WaL5eLEzu+JMiLtFRlfWgisE1E91+KmgsU3uRi5acSoUqkCvQy4I8Jz+1Sxx9/kNDd8fxb fd6iSIgDQF/UC/tRyMdc8Ip6Z+SWSkxqUlV13kEEEj/ZFHOGuWbZfAeWtSjloVs0LEBKXu up1PgJHb2j+FT02J9P6iPl8Rf5AaeKWP/v1wo5ewvKAeWatJTBYc4Qe3EG7tUFd59SIWJk 308UKHA59vFOkLtmb9omDkTr3l7SJmbdoIHebrfzAElZb1sl8zN+TRoM84zG1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682440695; 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=BOsrd/AwnnNTmKum+hiiM/OhipibfAhtxMKsgkKKLkE=; b=WP1bC3w9PBOn0PKnP6jkEa/tJWBbJ/7qxRLHbpvmEB8hEJQnhjFrENTMwavJVAW1KmciI1 QTJSa7sNZkMXrNI5JBg3kV6DiviGnSMpko+EZo4QOFuhiWFOQXSr4j78vLF6QiBkw/5BBI pV6hIaP/iHsp3WRazbW2biIpIe34wFzY0oDbmtbY6SEWwuI+v+6t1vLEOqZjsP1iv7GQQI S9Vl7mWwPEOFO3eGM46kZhzqycHiViYqhOomuey3ct6XImFWdL5yZ4VHbX+Jw52RXYo7Nb I3SF5xJ9030abJV6CrburLIxqJoXJMAm7dS9f8VSqEfPrFtbgTNzoJsBaPuPhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682440695; a=rsa-sha256; cv=none; b=oxR9EDvh4KwTHyqUJlvT40y/ln4oLyPG3ZR9A9y6NfY5WxRjsOJeYFaw5flloTm6liP11Z 2Rr0NcIwaiNc7Bzjh0M5bfJkwaSIQOLZd5HxgJSpjgT9izhxhJdCBT//gsBPWns0GtcnFH vnrnjthxGcNebt7KqBvWTXqU4/j23ZQjlGqXOW3ib9A/a6oSYx6eWRtIThPzxg8bPoERfa oXQ9DqG/7h7uLlx88pNzREVG6ioW622lS7rvXdHvuxZGyPv6jNrvR1ekgESpsF742Z2Clj bBSHjc4ZJYRwkY/oF7aT9ocHETy/INl6m7gsqiKL9ftrjrUzx2Ra4n3OU1wnfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4Q5SNk6Wv4z1Dr4; Tue, 25 Apr 2023 16:38:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33PGcEcK045100; Tue, 25 Apr 2023 16:38:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33PGcEeC045099; Tue, 25 Apr 2023 16:38:14 GMT (envelope-from git) Date: Tue, 25 Apr 2023 16:38:14 GMT Message-Id: <202304251638.33PGcEeC045099@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 88f549c0d62c - main - graphics/libGLU: fix build with clang 16 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 88f549c0d62c1a897a69aeebbb15d8ec91c9dc20 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=88f549c0d62c1a897a69aeebbb15d8ec91c9dc20 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 allow 'register' storage class specifier [-Wregister] register long ds = 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 = 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(-) diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile index 1d97e66d0335..2b5fde873366 100644 --- a/graphics/libGLU/Makefile +++ b/graphics/libGLU/Makefile @@ -1,11 +1,14 @@ PORTNAME= libGLU PORTVERSION= 9.0.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/glu/ \ https://mesa.freedesktop.org/archive/glu/ DISTNAME= glu-${PORTVERSION} +PATCH_SITES= https://gitlab.freedesktop.org/mesa/glu/-/commit/ +PATCHFILES+= b6c308172993.patch:-p1 #https://gitlab.freedesktop.org/mesa/glu/-/merge_requests/10 + MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL utility library WWW= https://gitlab.freedesktop.org/mesa/glu diff --git a/graphics/libGLU/distinfo b/graphics/libGLU/distinfo index d0b35fda2468..158535aaf264 100644 --- a/graphics/libGLU/distinfo +++ b/graphics/libGLU/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1624573301 +TIMESTAMP = 1682367009 SHA256 (glu-9.0.2.tar.xz) = 6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 SIZE (glu-9.0.2.tar.xz) = 436176 +SHA256 (b6c308172993.patch) = 54ea23facb71f3e2f1cdab535f95ea55e74982b6ec70763d4d39937a5e456487 +SIZE (b6c308172993.patch) = 1187