diff --git a/games/dhewm3/Makefile b/games/dhewm3/Makefile index f790baacfeaf..0528979ecd59 100644 --- a/games/dhewm3/Makefile +++ b/games/dhewm3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2024/11/30 21:20:47 wiz Exp $ +# $NetBSD: Makefile,v 1.32 2024/11/30 23:02:05 wiz Exp $ DISTNAME= dhewm3-1.5.4 CATEGORIES= games @@ -12,7 +12,7 @@ COMMENT= Source port of the original Doom 3 LICENSE= gnu-gpl-v3 # https://github.com/dhewm/dhewm3/issues/633 -BROKEN= "Does not build against openal-soft-1.24" +#BROKEN= "Does not build against openal-soft-1.24" WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= pkg-config diff --git a/games/dhewm3/distinfo b/games/dhewm3/distinfo index 2d387706b3cb..b9abb0490f6e 100644 --- a/games/dhewm3/distinfo +++ b/games/dhewm3/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.7 2024/11/30 21:20:47 wiz Exp $ +$NetBSD: distinfo,v 1.8 2024/11/30 23:02:05 wiz Exp $ BLAKE2s (dhewm3-1.5.4.tar.gz) = 1fde9b0d26a790170a015450b7c03f52bc115dd23cfc9ecc30f2f97e7568e721 SHA512 (dhewm3-1.5.4.tar.gz) = 1ed970ee2c61b11050694823c8526036dbf1034579d31ea4fd5b21afc095a4e54a2829f6838666da0deee82007890356a10a5b38277b10658c1f90bfb57aa0a7 Size (dhewm3-1.5.4.tar.gz) = 7685654 bytes +SHA1 (patch-neo_sound_snd__local.h) = 878df5a70ff84165809e3531f75383ec73db99b7 diff --git a/games/dhewm3/patches/patch-neo_sound_snd__local.h b/games/dhewm3/patches/patch-neo_sound_snd__local.h new file mode 100644 index 000000000000..1dbde9552bb2 --- /dev/null +++ b/games/dhewm3/patches/patch-neo_sound_snd__local.h @@ -0,0 +1,15 @@ +$NetBSD: patch-neo_sound_snd__local.h,v 1.1 2024/11/30 23:02:05 wiz Exp $ + +Fix build with openal-soft-1.24. +https://github.com/dhewm/dhewm3/issues/633#issuecomment-2509399667 + +--- neo/sound/snd_local.h.orig 2024-11-30 22:29:45.302155237 +0000 ++++ neo/sound/snd_local.h +@@ -34,6 +34,7 @@ If you have questions concerning this li + // because the implemenations are in openal_stub.cpp + // this is ensured by defining AL_LIBTYPE_STATIC before including the AL headers + #define AL_LIBTYPE_STATIC ++#define AL_DISABLE_NOEXCEPT + #endif + + #include