From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1659322-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5B0E3159C83
	for <garchives@archives.gentoo.org>; Tue,  6 Aug 2024 10:59:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 630CDE2BF8;
	Tue,  6 Aug 2024 10:59:20 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 494FEE2BF8
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Aug 2024 10:59:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 661F8340BDE
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Aug 2024 10:59:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B38831EB6
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Aug 2024 10:59:17 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1722941791.d1f2d392deaed8e6b7af6aa183ac182b2ce3a9a3.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch media-libs/openal/openal-1.23.1-r1.ebuild
X-VCS-Directories: media-libs/openal/files/ media-libs/openal/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d1f2d392deaed8e6b7af6aa183ac182b2ce3a9a3
X-VCS-Branch: master
Date: Tue,  6 Aug 2024 10:59:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 63a4e4ef-ed80-4399-bcea-5a4cf6e0ad52
X-Archives-Hash: a616e526d39ae1598710d11297e91b8e

commit:     d1f2d392deaed8e6b7af6aa183ac182b2ce3a9a3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 10:56:31 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 10:56:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f2d392

media-libs/openal: fix build w/ gcc-15

It's fixed more exhaustively upstream in git already.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../openal/files/openal-1.23.1-gcc15-cstdint.patch | 32 ++++++++++++++++++++++
 media-libs/openal/openal-1.23.1-r1.ebuild          |  6 +++-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch b/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch
new file mode 100644
index 000000000000..ce4ceb455b2f
--- /dev/null
+++ b/media-libs/openal/files/openal-1.23.1-gcc15-cstdint.patch
@@ -0,0 +1,32 @@
+Fixed exhaustively upstream in https://github.com/kcat/openal-soft/commit/64f8e8347f7ed3f98917fae7587f4d72b54c28ef
+but doesn't apply cleanly, so do a minimal fix here.
+--- a/alc/alu.h
++++ b/alc/alu.h
+@@ -2,6 +2,7 @@
+ #define ALU_H
+ 
+ #include <bitset>
++#include <cstdint>
+ 
+ #include "aloptional.h"
+ 
+--- a/core/mixer/defs.h
++++ b/core/mixer/defs.h
+@@ -2,6 +2,7 @@
+ #define CORE_MIXER_DEFS_H
+ 
+ #include <array>
++#include <cstdint>
+ #include <stdlib.h>
+ 
+ #include "alspan.h"
+--- a/core/uhjfilter.h
++++ b/core/uhjfilter.h
+@@ -2,6 +2,7 @@
+ #define CORE_UHJFILTER_H
+ 
+ #include <array>
++#include <cstdint>
+ 
+ #include "almalloc.h"
+ #include "alspan.h"

diff --git a/media-libs/openal/openal-1.23.1-r1.ebuild b/media-libs/openal/openal-1.23.1-r1.ebuild
index 577f84a4b295..2c46a9584900 100644
--- a/media-libs/openal/openal-1.23.1-r1.ebuild
+++ b/media-libs/openal/openal-1.23.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -51,6 +51,10 @@ DEPEND="
 
 DOCS=( alsoftrc.sample docs/env-vars.txt docs/hrtf.txt ChangeLog README.md )
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.23.1-gcc15-cstdint.patch
+)
+
 multilib_src_configure() {
 	local mycmakeargs=(
 		# See bug #809314 for getting both options for backends