* [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/
@ 2016-01-04 17:22 Michael Sterrett
0 siblings, 0 replies; 3+ messages in thread
From: Michael Sterrett @ 2016-01-04 17:22 UTC (permalink / raw
To: gentoo-commits
commit: 74b8993fda7782f1b359e337761562be2799c088
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 4 17:21:11 2016 +0000
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Mon Jan 4 17:21:52 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b8993f
media-libs/openal: version bump; clean previous, broken release
Package-Manager: portage-2.2.26
media-libs/openal/Manifest | 2 +-
media-libs/openal/files/openal-1.17.0-jackfix.patch | 11 -----------
.../openal/{openal-1.17.0.ebuild => openal-1.17.1.ebuild} | 12 +++---------
3 files changed, 4 insertions(+), 21 deletions(-)
diff --git a/media-libs/openal/Manifest b/media-libs/openal/Manifest
index 7ac3835..8d1d4e8 100644
--- a/media-libs/openal/Manifest
+++ b/media-libs/openal/Manifest
@@ -1,3 +1,3 @@
DIST openal-soft-1.15.1.tar.bz2 253006 SHA256 0e29a162f0841ccb4135ce76e92e8a704589b680a85eddf76f898de5236eb056 SHA512 ca6dafdd503d06892dff08763bc00b974ec6e7c4bf3dcebb4cb41a486b4ea777c278299a198db182fee888a19a5716bd57d91a2859b764a532138a79f2bd672f WHIRLPOOL a47fcf4cc5da9576cb4683371979175111a1ec746c87ea1140bfb1b71433a3fe5d3df338e8844ab62adc0e6decb4b481d6d8fedb6f635b5bac715d5789077902
DIST openal-soft-1.16.0.tar.bz2 393280 SHA256 2f3dcd313fe26391284fbf8596863723f99c65d6c6846dccb48e79cadaf40d5f SHA512 b89e46902ce475afd47c4c153ae666646e8b277abf1be97f92b6a10dc585ed780c663591398a9fd7e4118595dd45d2d8d6df0101b4148686150bbb3fe2939ddc WHIRLPOOL c1143c0bc0b7299d088b2a2c440309461ba50efd4e8a924066b08411b0f66a02fb92afb6e5a9edc42552a7b59103ec204165b974bdc3297c963e8f9c0dfc55c0
-DIST openal-soft-1.17.0.tar.bz2 484172 SHA256 5e93336de2e7c50f3a01beba51861d6f61c3e4045a896191dc806591e46264d1 SHA512 abe45385c29986cf9848502fc3034392bd03cd12ab969a97e82056ba9151a061f2a268a76abe393bc4b4f8cda69ef9511fccb09c997ddb90082a753c9caaef3d WHIRLPOOL e3f657216b06f40a8dfdf038feedfa58b033b69f30cf55318dba46a1a90c6dcac7c379829e156a32a430433fea20fb25fd4b6b2bb40f3248f511d497cd7bb34e
+DIST openal-soft-1.17.1.tar.bz2 485178 SHA256 087153baab375c23d7aa7e9f3237c0a1d02e336537b485aee56d9ac312baf6f8 SHA512 f0b14e9fdcc22bb18d9c3278392fd94959cd3d85d83ad0472dcac24122fe1f8c818ef8c47197424f6d9789524d0aff64965ce502965f5d6541a772fc8dc3286d WHIRLPOOL f184de05834175b2babb54ae50b38ea01f412e0b56b4c4c5570a318e325dac73e9719cef60167760832d211d74cfb861acc7a8cf9a6946ed51aeb4f07dfaa72b
diff --git a/media-libs/openal/files/openal-1.17.0-jackfix.patch b/media-libs/openal/files/openal-1.17.0-jackfix.patch
deleted file mode 100644
index 6b41478..0000000
--- a/media-libs/openal/files/openal-1.17.0-jackfix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- openal-1.17.0/CMakeLists.txt
-+++ openal-1.17.0/CMakeLists.txt
-@@ -924,7 +924,7 @@
- SET(HAVE_JACK 1)
- SET(BACKENDS "${BACKENDS} JACK${IS_LINKED},")
- SET(ALC_OBJS ${ALC_OBJS} Alc/backends/jack.c)
-- ADD_BACKEND_LIBS(${PULSEAUDIO_LIBRARIES})
-+ ADD_BACKEND_LIBS(${JACK_LIBRARIES})
- IF(CMAKE_VERSION VERSION_LESS "2.8.8")
- INCLUDE_DIRECTORIES(${JACK_INCLUDE_DIRS})
- ENDIF()
diff --git a/media-libs/openal/openal-1.17.0.ebuild b/media-libs/openal/openal-1.17.1.ebuild
similarity index 92%
rename from media-libs/openal/openal-1.17.0.ebuild
rename to media-libs/openal/openal-1.17.1.ebuild
index 5c6070a..59619fa 100644
--- a/media-libs/openal/openal-1.17.0.ebuild
+++ b/media-libs/openal/openal-1.17.1.ebuild
@@ -15,12 +15,13 @@ LICENSE="LGPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
IUSE="
- alsa coreaudio debug oss portaudio pulseaudio qt4
+ alsa coreaudio debug jack oss portaudio pulseaudio qt4
cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1
neon
"
RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
+ jack? ( media-sound/jack-audio-connection-kit[${MULTILIB_USEDEP}] )
portaudio? ( >=media-libs/portaudio-19_pre20111121-r1[${MULTILIB_USEDEP}] )
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
qt4? ( dev-qt/qtgui:4 dev-qt/qtcore:4 )
@@ -35,20 +36,13 @@ S=${WORKDIR}/${MY_P}
DOCS="alsoftrc.sample env-vars.txt hrtf.txt ChangeLog README"
-PATCHES=(
- "${FILESDIR}/${P}-jackfix.patch"
-)
-
-src_prepare() {
- epatch "${PATCHES[@]}"
-}
-
src_configure() {
# -DEXAMPLES=OFF to avoid FFmpeg dependency wrt #481670
my_configure() {
local mycmakeargs=(
"-DALSOFT_BACKEND_ALSA=$(usex alsa ON OFF)"
"-DALSOFT_BACKEND_COREAUDIO=$(usex coreaudio ON OFF)"
+ "-DALSOFT_BACKEND_JACK=$(usex jack ON OFF)"
"-DALSOFT_BACKEND_OSS=$(usex oss ON OFF)"
"-DALSOFT_BACKEND_PORTAUDIO=$(usex portaudio ON OFF)"
"-DALSOFT_BACKEND_PULSEAUDIO=$(usex pulseaudio ON OFF)"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/
@ 2024-08-06 10:59 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-08-06 10:59 UTC (permalink / raw
To: gentoo-commits
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/
@ 2025-08-07 22:56 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2025-08-07 22:56 UTC (permalink / raw
To: gentoo-commits
commit: f4d468080b9873499d1a14a5025527b7735de30b
Author: Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Sat Jul 26 15:51:50 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 7 22:54:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d46808
media-libs/openal: fix build of bundled libfmt on libc++ 21
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Part-of: https://github.com/gentoo/gentoo/pull/43171
Closes: https://github.com/gentoo/gentoo/pull/43171
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/openal-1.24.3-libfmt-libcxx-21.patch | 37 ++++++++++++++++++++++
media-libs/openal/openal-1.24.3.ebuild | 7 +++-
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/media-libs/openal/files/openal-1.24.3-libfmt-libcxx-21.patch b/media-libs/openal/files/openal-1.24.3-libfmt-libcxx-21.patch
new file mode 100644
index 000000000000..16c502dfafbb
--- /dev/null
+++ b/media-libs/openal/files/openal-1.24.3-libfmt-libcxx-21.patch
@@ -0,0 +1,37 @@
+From https://github.com/fmtlib/fmt/commit/f4345467fce7edbc6b36c3fa1cf197a67be617e2 Mon Sep 17 00:00:00 2001
+From: Remy Jette <remy@remyjette.com>
+Date: Sat, 21 Jun 2025 07:28:14 -0700
+Subject: [PATCH] Fix compilation on clang-21 / libc++-21 (#4477)
+
+`<cstdlib>` was not being included, so malloc and free were only declared
+via transitive includes. Some includes changed in the latest libc++-21
+build which broke fmt.
+
+Also changed `malloc`/`free` to `std::malloc` and `std::free`, as
+putting those symbols in the global namespace is optional for the
+implementation when including `<cstdlib>`.
+--- a/fmt-11.1.1/include/fmt/format.h
++++ b/fmt-11.1.1/include/fmt/format.h
+@@ -44,6 +44,7 @@
+ # include <cmath> // std::signbit
+ # include <cstddef> // std::byte
+ # include <cstdint> // uint32_t
++# include <cstdlib> // std::malloc, std::free
+ # include <cstring> // std::memcpy
+ # include <limits> // std::numeric_limits
+ # include <new> // std::bad_alloc
+@@ -755,12 +756,12 @@ template <typename T> struct allocator : private std::decay<void> {
+
+ T* allocate(size_t n) {
+ FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
+- T* p = static_cast<T*>(malloc(n * sizeof(T)));
++ T* p = static_cast<T*>(std::malloc(n * sizeof(T)));
+ if (!p) FMT_THROW(std::bad_alloc());
+ return p;
+ }
+
+- void deallocate(T* p, size_t) { free(p); }
++ void deallocate(T* p, size_t) { std::free(p); }
+ };
+
+ } // namespace detail
diff --git a/media-libs/openal/openal-1.24.3.ebuild b/media-libs/openal/openal-1.24.3.ebuild
index 892ebc1d4b05..5988b0fd1e13 100644
--- a/media-libs/openal/openal-1.24.3.ebuild
+++ b/media-libs/openal/openal-1.24.3.ebuild
@@ -46,7 +46,12 @@ DEPEND="${RDEPEND}
DOCS=( alsoftrc.sample docs/env-vars.txt docs/hrtf.txt ChangeLog README.md )
-PATCHES=( "${FILESDIR}/${P}-qt6.patch" ) # bug 955274; git master
+PATCHES=(
+ # bug 955274; git master
+ "${FILESDIR}/${P}-qt6.patch"
+ # backport of https://github.com/fmtlib/fmt/commit/f4345467fce7edbc6b36c3fa1cf197a67be617e2 for bundled libfmt
+ "${FILESDIR}/${PN}-1.24.3-libfmt-libcxx-21.patch"
+)
multilib_src_configure() {
local mycmakeargs=(
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-08-07 22:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-06 10:59 [gentoo-commits] repo/gentoo:master commit in: media-libs/openal/files/, media-libs/openal/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2025-08-07 22:56 Sam James
2016-01-04 17:22 Michael Sterrett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox