summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorben Hohn <torbenh@gentoo.org>2004-01-19 08:48:17 +0000
committerTorben Hohn <torbenh@gentoo.org>2004-01-19 08:48:17 +0000
commit51a9d986e4cfca620f8e0908721e39a010b68792 (patch)
treed4fdd9c6cf42f3d90ca3ab1c4049e9cbc5731f15 /media-sound/jmax/files
parentInitial Import (diff)
downloadgentoo-2-51a9d986e4cfca620f8e0908721e39a010b68792.tar.gz
gentoo-2-51a9d986e4cfca620f8e0908721e39a010b68792.tar.bz2
gentoo-2-51a9d986e4cfca620f8e0908721e39a010b68792.zip
Initial Import
Diffstat (limited to 'media-sound/jmax/files')
-rw-r--r--media-sound/jmax/files/digest-jmax-4.0.21
-rw-r--r--media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch33
2 files changed, 34 insertions, 0 deletions
diff --git a/media-sound/jmax/files/digest-jmax-4.0.2 b/media-sound/jmax/files/digest-jmax-4.0.2
new file mode 100644
index 000000000000..964240056ace
--- /dev/null
+++ b/media-sound/jmax/files/digest-jmax-4.0.2
@@ -0,0 +1 @@
+MD5 2214ae9bd18cc609177c6769fd3491a8 jmax-4.0.2.tar.gz 2535358
diff --git a/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch b/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch
new file mode 100644
index 000000000000..eae0d925e07b
--- /dev/null
+++ b/media-sound/jmax/files/jmax-4.0.2-work_with_recent_alsa-lib.patch
@@ -0,0 +1,33 @@
+diff -u packages/alsa/c/src/alsaaudiomanager.c patches/alsaaudiomanager.c
+--- packages/alsa/c/src/alsaaudiomanager.c 2003-02-19 18:04:56.000000000 +0100
++++ patches/alsaaudiomanager.c 2004-01-17 18:27:39.115180703 +0100
+@@ -20,6 +20,10 @@
+ *
+ */
+
++ /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs.
++ * It has no effect on Alsa 0.9.x
++ */
++#define ALSA_PCM_OLD_HW_PARAMS_API 1
+
+ #include <stdio.h>
+ #include <stdlib.h>
+
+
+diff -u packages/alsa/c/src/alsaaudioport.c patches/alsaaudioport.c
+--- packages/alsa/c/src/alsaaudioport.c 2003-02-19 18:02:51.000000000 +0100
++++ patches/alsaaudioport.c 2004-01-17 18:27:59.896960871 +0100
+@@ -24,6 +24,12 @@
+ * This file include the jMax ALSA audio port.
+ */
+
++ /* Alsa 1.0.x has to be informed to be compatible with 0.9.x libs.
++ * It has no effect on Alsa 0.9.x
++ */
++#define ALSA_PCM_OLD_HW_PARAMS_API 1
++#define ALSA_PCM_OLD_SW_PARAMS_API 1
++
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
+