[higan] 01/01: Fix build on kfreebsd by not using ALSA.

Tobias Hansen thansen at moszumanska.debian.org
Sun Jun 26 14:55:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository higan.

commit fe92b193ef05dbc330805859f5356f73b2405420
Author: Tobias Hansen <thansen at debian.org>
Date:   Sun Jun 26 15:55:06 2016 +0100

    Fix build on kfreebsd by not using ALSA.
---
 debian/changelog                               |  7 +++++++
 debian/patches/disable-alsa-on-non-linux.patch | 17 +++++++++++++++++
 debian/patches/series                          |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ed2cd8f..7c12ba9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+higan (098-2) UNRELEASED; urgency=medium
+
+  * New patch to fix build on kfreebsd:
+    - disable-alsa-on-non-linux.patch
+
+ -- Tobias Hansen <thansen at debian.org>  Sun, 26 Jun 2016 15:53:21 +0100
+
 higan (098-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/disable-alsa-on-non-linux.patch b/debian/patches/disable-alsa-on-non-linux.patch
new file mode 100644
index 0000000..bb4fca9
--- /dev/null
+++ b/debian/patches/disable-alsa-on-non-linux.patch
@@ -0,0 +1,17 @@
+Description: Include ALSA audio backend only on Linux.
+Author: Tobias Hansen <thansen at debian.org>
+
+--- a/higan/target-tomoko/GNUmakefile
++++ b/higan/target-tomoko/GNUmakefile
+@@ -25,7 +25,10 @@
+   ruby += input.quartz input.carbon
+ else ifeq ($(platform),linux)
+   ruby += video.glx video.xv video.xshm video.sdl
+-  ruby += audio.alsa audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao
++  ifneq ($(findstring Linux,$(uname)),)
++    ruby += audio.alsa
++  endif
++  ruby += audio.openal audio.oss audio.pulseaudio audio.pulseaudiosimple audio.ao
+   ruby += input.udev input.sdl input.xlib
+ else ifeq ($(platform),bsd)
+   ruby += video.glx video.xv video.xshm video.sdl
diff --git a/debian/patches/series b/debian/patches/series
index ff75d0d..63b29bc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ use_sharedpath.patch
 ignore_manifests_by_default.patch
 create_config.patch
 include_cmath.patch
+disable-alsa-on-non-linux.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/higan.git



More information about the Pkg-games-commits mailing list