Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8566284FB2 for ; Sat, 4 Nov 2023 17:27:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id z4fnOtD-n2IM for ; Sat, 4 Nov 2023 17:27:26 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 03FBF84CE3 for ; Sat, 4 Nov 2023 17:27:26 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EBE09FA2B; Sat, 4 Nov 2023 17:27:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1699118845129490" MIME-Version: 1.0 Date: Sat, 4 Nov 2023 17:27:25 +0000 From: "S.P.Zeidler" Subject: CVS commit: [pkgsrc-2023Q3] pkgsrc/audio/openal-soft To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: spz@netbsd.org X-Mailer: log_accum Message-Id: <20231104172725.EBE09FA2B@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1699118845129490 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: spz Date: Sat Nov 4 17:27:25 UTC 2023 Added Files: pkgsrc/audio/openal-soft [pkgsrc-2023Q3]: hacks.mk Log Message: Pullup ticket #6819 - requested by gutteridge audio/openal-soft: build fix Revisions pulled up: - audio/openal-soft/hacks.mk 1.1 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: gutteridge Date: Sun Oct 22 00:55:55 UTC 2023 Added Files: pkgsrc/audio/openal-soft: hacks.mk Log Message: openal-soft: fix builds for aarch64 on NetBSD 9.x For aarch64, older NetBSD releases will end up pulling in GCC 10 because of the C++20 requirement. We apply -mno-outline-atomics as one way of getting around linking issues that otherwise occur. (This was breaking 492 dependent builds.) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/audio/openal-soft/hacks.mk To generate a diff of this commit: cvs rdiff -u -r0 -r1.1.2.2 pkgsrc/audio/openal-soft/hacks.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1699118845129490 Content-Disposition: inline Content-Length: 811 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/audio/openal-soft/hacks.mk diff -u /dev/null pkgsrc/audio/openal-soft/hacks.mk:1.1.2.2 --- /dev/null Sat Nov 4 17:27:25 2023 +++ pkgsrc/audio/openal-soft/hacks.mk Sat Nov 4 17:27:25 2023 @@ -0,0 +1,15 @@ +# $NetBSD: hacks.mk,v 1.1.2.2 2023/11/04 17:27:25 spz Exp $ + +.if !defined(OPENAL_SOFT_HACKS_MK) +OPENAL_SOFT_HACKS_MK= defined + +# For aarch64, older NetBSD releases will end up pulling in GCC 10 to build +# this, because of the C++20 requirement. We apply -mno-outline-atomics as +# one way of getting around linking issues that otherwise occur. +.include "../../mk/bsd.prefs.mk" +.if ${MACHINE_PLATFORM:MNetBSD-*-aarch64*} && ${OPSYS_VERSION} < 099982 +CXXFLAGS.NetBSD+= -mno-outline-atomics +PKG_HACKS+= gcc-no-outline-atomics +.endif + +.endif # OPENAL_SOFT_HACKS_MK --_----------=_1699118845129490--