summaryrefslogtreecommitdiff
path: root/games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch')
-rw-r--r--games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch b/games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch
new file mode 100644
index 000000000000..565ea3f5a7b0
--- /dev/null
+++ b/games-emulation/desmume/files/desmume-0.9.11_p20210409-openal-automagic.patch
@@ -0,0 +1,10 @@
+Option only changes whether the dep is required and doesn't disable it.
+--- a/desmume/src/frontend/posix/meson.build
++++ b/desmume/src/frontend/posix/meson.build
+@@ -176,5 +176,5 @@
+ endif
+
+-if dep_openal.found()
++if dep_openal.found() and get_option('openal')
+ dependencies += dep_openal
+ libdesmume_src += [