From nobody Wed May 10 19:07:42 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 4QGl0G4fsfz4BJDW for ; Wed, 10 May 2023 19:07:42 +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 4QGl0G1yrQz3CVZ for ; Wed, 10 May 2023 19:07:42 +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=1683745662; 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=/eHk7noMLnoGnCAVOUOiJpQztsyo7W+FXV8yGsR8yp4=; b=iIkuIYJO5yP/SYezXe0VxZDlRaG0Lp78JaHLnrgWq+MaHt1chf+8Oa8BxG0vvGZi8APqaF vYGlAP9WZRmBA08XixtQnmc1b44cz88hTlK+2xbexLL4UMjC0heGm5zOUJam8SaFEW11kv v0vpyP1qL6Epfj4UTpsEiw+djpWYiocv0B79zCD7OZlHbRkCHjHSxVLcZwJHGPkrJ8RipP 5S6I2S5zR2dyQg6SKZEkLe7/pyA0kLQLDp3M9FPcXixNSlQ5ZTvCvCWVUDoz5y4CrphgA6 82vlqDe7tLt7UO6arOHzxPuzq5PylQqxxHNQM8p/XScpAjBA4qPEy+77sovaXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683745662; a=rsa-sha256; cv=none; b=LXDP7yGaLj9iKWCQ3e3fu6PWgireerKxB6UbmEnxCnraNjJsRpHSOZsNnA9xrguYnBeeLL Mxx7tW1YKyEK3gUlUp3D5o64Qj64Xn1TPR/yjaOOqiLmhMr+4Np11DqJMtbdGzDM7TaaKs 1ig1JU/yA481HtQvVNz+uF+sqy9+bHm79yULiRBjg2fhlkWyqntpOFUVzi2xKsyQPWCs7s AHjx8JchE8H+B3la//LpPrk7DeELbKXq6eMkA3DAoQTwbrJTbOXRzrj/qIakidKwsIgyTn bJ7jvFzu4F0bxGwu2w50Q2ENS4O7MNydtNhLMYQXmXKmfqtmbeTLiQGOppZoDA== 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 4QGl0G0z1MzMRm for ; Wed, 10 May 2023 19:07:42 +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 34AJ7gnN060641 for ; Wed, 10 May 2023 19:07:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34AJ7gqs060639 for ports-bugs@FreeBSD.org; Wed, 10 May 2023 19:07:42 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 271353] multimedia/smpeg: fix build with clang 16 Date: Wed, 10 May 2023 19:07:42 +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 Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@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=3D271353 Bug ID: 271353 Summary: multimedia/smpeg: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org Since clang 16 (and gcc 11) the default C++ standard is now gnu++17. Because multimedia/smpeg's configure scripts and Makefiles do not explicitly set the C++ standard, this leads to several errors: In file included from MPEGaudio.cpp:24: ../MPEGaudio.h:129:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register int r=3D(buffer[bitindex>>3]>>(7-(bitindex&7)))&1; ^~~~~~~~~ ../MPEGaudio.h:135:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register unsigned short a; ^~~~~~~~~ MPEGaudio.cpp:317:3: error: ISO C++17 does not allow 'register' storage c= lass specifier [-Wregister] register int r=3D(_buffer[bitindex>>3]>>(7-(bitindex&7)))&1; ^~~~~~~~~ MPEGaudio.cpp:326:3: error: ISO C++17 does not allow 'register' storage c= lass specifier [-Wregister] register unsigned short a; ^~~~~~~~~ MPEGaudio.cpp:339:3: error: ISO C++17 does not allow 'register' storage c= lass specifier [-Wregister] register unsigned short a; ^~~~~~~~~ Because smpeg uses a rather strange configure script, it does not process CXXFLAGS correctly, so set CXX to include -std=3Dgnu++98. Also remove the REAL_CC patch which is no longer necessary. --=20 You are receiving this mail because: You are the assignee for the bug.=