summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank van de Pol <fvdpol@gentoo.org>2005-07-17 16:15:17 +0000
committerFrank van de Pol <fvdpol@gentoo.org>2005-07-17 16:15:17 +0000
commit1e8c236b97de612887cc2e1f3ee00fee7fe9ef05 (patch)
treee4fc6f27cf40ecdee81e07436acb298efc5683c4 /media-sound/amsynth/files
parentFix depend (diff)
downloadgentoo-2-1e8c236b97de612887cc2e1f3ee00fee7fe9ef05.tar.gz
gentoo-2-1e8c236b97de612887cc2e1f3ee00fee7fe9ef05.tar.bz2
gentoo-2-1e8c236b97de612887cc2e1f3ee00fee7fe9ef05.zip
Added conditional compilation if ALSA is not available. Closes bug #56032.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-sound/amsynth/files')
-rw-r--r--media-sound/amsynth/files/amsynth-1.0.0-ALSAMidiDriver.patch12
-rw-r--r--media-sound/amsynth/files/digest-amsynth-1.0.0-r11
2 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/amsynth/files/amsynth-1.0.0-ALSAMidiDriver.patch b/media-sound/amsynth/files/amsynth-1.0.0-ALSAMidiDriver.patch
new file mode 100644
index 000000000000..dc0ba35078ae
--- /dev/null
+++ b/media-sound/amsynth/files/amsynth-1.0.0-ALSAMidiDriver.patch
@@ -0,0 +1,12 @@
+--- src/drivers/ALSAMidiDriver.cc.old 2003-12-14 17:04:50.000000000 +0100
++++ src/drivers/ALSAMidiDriver.cc 2004-02-28 13:29:20.000000000 +0100
+@@ -26,7 +26,9 @@
+
+ int ALSAMidiDriver::close()
+ {
++#ifdef with_alsa
+ snd_seq_close (seq_handle);
++#endif
+ return 0;
+ }
+
diff --git a/media-sound/amsynth/files/digest-amsynth-1.0.0-r1 b/media-sound/amsynth/files/digest-amsynth-1.0.0-r1
new file mode 100644
index 000000000000..93a4cb0d4430
--- /dev/null
+++ b/media-sound/amsynth/files/digest-amsynth-1.0.0-r1
@@ -0,0 +1 @@
+MD5 9d212099735098ca39aee3789a52de62 amSynth-1.0.0.tar.gz 448974