public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/
Date: Tue,  6 Aug 2024 10:59:17 +0000 (UTC)	[thread overview]
Message-ID: <1722941791.d1f2d392deaed8e6b7af6aa183ac182b2ce3a9a3.sam@gentoo> (raw)

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


             reply	other threads:[~2024-08-06 10:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-06 10:59 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-04 17:22 [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/ Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722941791.d1f2d392deaed8e6b7af6aa183ac182b2ce3a9a3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox