summaryrefslogtreecommitdiff
path: root/debian/patches/hurd_iot.patch
diff options
context:
space:
mode:
authorMichael Gilbert <mgilbert@debian.org>2012-12-16 01:04:52 +0000
committerIgor Pashev <pashev.igor@gmail.com>2013-05-03 21:08:44 +0400
commit76c556de8989df3905e066f13cd91190093402ff (patch)
treef417353f49aa7ad35745c6cdd6148f1651b0a903 /debian/patches/hurd_iot.patch
parent1058def8e7827e56ce4a70afb4aeacb5dc44148f (diff)
downloadoss4-debian/4.2-build2006-2+deb7u1.tar.gz
Imported Debian patch 4.2-build2006-2+deb7u1debian/4.2-build2006-2+deb7u1
Diffstat (limited to 'debian/patches/hurd_iot.patch')
-rw-r--r--debian/patches/hurd_iot.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/hurd_iot.patch b/debian/patches/hurd_iot.patch
new file mode 100644
index 0000000..791d9d3
--- /dev/null
+++ b/debian/patches/hurd_iot.patch
@@ -0,0 +1,21 @@
+This is needed for GNU/Hurd build. These _IOT__IOTBASE_* definitions will not
+work of course, that's ok since we do not support sound yet anyway, and we do
+not export this to other packages.
+
+Index: oss4-4.2-build2004/lib/libsalsa/local.h
+===================================================================
+--- oss4-4.2-build2004.orig/lib/libsalsa/local.h 2011-06-14 11:33:22.000000000 -0500
++++ oss4-4.2-build2004/lib/libsalsa/local.h 2011-06-14 11:35:15.000000000 -0500
+@@ -96,3 +96,12 @@
+ extern void midiparser_callback (void *context, int category,
+ unsigned char msg, unsigned char ch,
+ unsigned char *parms, int len);
++
++#define _IOT__IOTBASE_oss_longname_t _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_audio_buf_info _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_sysinfo _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_mixext _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_mixer_value _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_audioinfo _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_mixerinfo _IOT (0, 0, 0, 0, 0, 0)
++#define _IOT__IOTBASE_oss_card_info _IOT (0, 0, 0, 0, 0, 0)