Package: xmms
Version: 1:1.2.10+20061101-1
Severity: normal
Tags: patch

Hi,

xmms ships its own Output/OSS/soundcard.h, but this can't work on
GNU/Hurd, since ioctls definitions needs more that what is there (it
needs structure description for instance), xmms should rather just use
<sys/soundcard.h>, here is a patch.

Samuel

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-xen
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages xmms depends on:
ii  libasound2                1.0.13-1       ALSA library
ii  libaudiofile0             0.2.6-6        Open-source version of SGI's audio
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libesd0                   0.2.36-3       Enlightened Sound Daemon - Shared 
ii  libgl1-mesa-glx [libgl1]  6.5.1-0.6      A free implementation of the OpenG
ii  libglib1.2                1.2.10-17      The GLib library of C routines
ii  libgtk1.2                 1.2.10-18      The GIMP Toolkit set of widgets fo
ii  libice6                   1:1.0.1-2      X11 Inter-Client Exchange library
ii  libmikmod2                3.1.11-a-6     A portable sound library
ii  libogg0                   1.1.3-2        Ogg Bitstream Library
ii  libsm6                    1:1.0.1-3      X11 Session Management library
ii  libvorbis0a               1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii  libvorbisfile3            1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii  libx11-6                  2:1.0.3-5      X11 client-side library
ii  libxext6                  1:1.0.1-2      X11 miscellaneous extension librar
ii  libxi6                    1:1.0.1-4      X11 Input extension library
ii  libxxf86vm1               1:1.0.1-2      X11 XFree86 video mode extension l
ii  zlib1g                    1:1.2.3-13     compression library - runtime

Versions of packages xmms recommends:
ii  unzip                         5.52-9     De-archiver for .zip files

-- no debconf information
--- Output/OSS/soundcard.h.orig 2007-03-04 13:03:36.000000000 +0000
+++ Output/OSS/soundcard.h      2007-03-04 13:09:14.000000000 +0000
@@ -1,5 +1,10 @@
 #ifndef SOUNDCARD_H
 #define SOUNDCARD_H
+
+#ifdef __GNU__
+#include <sys/soundcard.h>
+#else /* __GNU__ */
+
 /*
  * Copyright by Hannu Savolainen 1993-2000
  *
@@ -1733,4 +1738,6 @@
 #define SNDCTL_COPR_SENDMSG   __SIOWR('C',  8, copr_msg) /* OBSOLETE */
 #define SNDCTL_COPR_RCVMSG    __SIOR ('C',  9, copr_msg) /* OBSOLETE */
 
+#endif /* __GNU__ */
+
 #endif

Reply via email to