pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/openal-soft openal-soft: fix build with gcc 11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e9c03355594e
branches:  trunk
changeset: 452494:e9c03355594e
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Wed May 12 05:09:49 2021 +0000

description:
openal-soft: fix build with gcc 11

As described in the gcc 11 porting document[0], some libstdc++
headers no longer include certain headers they don't use.

Patch from upstream.

[0] https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes

diffstat:

 audio/openal-soft/distinfo                                 |   3 +-
 audio/openal-soft/patches/patch-utils_makemhr_loadsofa.cpp |  16 ++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r bf13b9f60541 -r e9c03355594e audio/openal-soft/distinfo
--- a/audio/openal-soft/distinfo        Wed May 12 05:00:54 2021 +0000
+++ b/audio/openal-soft/distinfo        Wed May 12 05:09:49 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2021/03/21 20:05:17 adam Exp $
+$NetBSD: distinfo,v 1.9 2021/05/12 05:09:49 mcf Exp $
 
 SHA1 (openal-soft-1.21.1.tar.bz2) = f39b81a9ce22419e106259cf424405291520b8f3
 RMD160 (openal-soft-1.21.1.tar.bz2) = b5b96f0e36d4a29303d62a484d7c6c1fe0798de6
@@ -9,3 +9,4 @@
 SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
 SHA1 (patch-alc_backends_solaris.cpp) = 62e7a5bddb5c4ed7f7e4c4889b2234dd778be960
 SHA1 (patch-include_AL_al.h) = 5545de5f606320b64ddd713569c9a86c8552eb46
+SHA1 (patch-utils_makemhr_loadsofa.cpp) = 907727c5e4a93b879bc840663b51a6bae2bb1230
diff -r bf13b9f60541 -r e9c03355594e audio/openal-soft/patches/patch-utils_makemhr_loadsofa.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/openal-soft/patches/patch-utils_makemhr_loadsofa.cpp        Wed May 12 05:09:49 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-utils_makemhr_loadsofa.cpp,v 1.1 2021/05/12 05:09:49 mcf Exp $
+
+Fix build with gcc 11.
+
+Upstream: https://github.com/kcat/openal-soft/commit/302e88dbf0f10224a5b87be4ce43b3fdd9d20184
+
+--- utils/makemhr/loadsofa.cpp.orig    Wed May 12 04:49:10 2021
++++ utils/makemhr/loadsofa.cpp
+@@ -34,6 +34,7 @@
+ #include <memory>
+ #include <numeric>
+ #include <string>
++#include <thread>
+ #include <vector>
+ 
+ #include "makemhr.h"



Home | Main Index | Thread Index | Old Index