Hello,
I'm doing an NMU of audiooss to fix #346676 and #349381; diff
attached.
Thanks,
Matej
diff -u audiooss-1.0.0/debian/changelog audiooss-1.0.0/debian/changelog
--- audiooss-1.0.0/debian/changelog
+++ audiooss-1.0.0/debian/changelog
@@ -1,3 +1,12 @@
+audiooss (1.0.0-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * audiooss.c: Avoid conflicting with -D_FILE_OFFSET_BITS=64 (now used by
+ default by imake-generated makefiles). Closes: #349381.
+ * Replace build dependency on xlibs-dev with libx11-dev. Closes: #346676.
+
+ -- Matej Vela <[EMAIL PROTECTED]> Sat, 4 Feb 2006 08:20:29 +0100
+
audiooss (1.0.0-2) unstable; urgency=low
* Scott Bigham's hack to deal with open64
diff -u audiooss-1.0.0/audiooss.c audiooss-1.0.0/audiooss.c
--- audiooss-1.0.0/audiooss.c
+++ audiooss-1.0.0/audiooss.c
@@ -43,6 +43,12 @@
* hijack open64() as well as open(). --dsb */
#define OPEN64_HACK
+/* Yet Another Hack: "-D_FILE_OFFSET_BITS=64" defines open() as an alias
+ * for __open(), which makes our own definition of open() invalid. Since
+ * we don't use any of the interfaces _FILE_OFFSET_BITS affects, simply
+ * undefine it. --mv */
+#undef _FILE_OFFSET_BITS
+
/* You'll probably start breaking programs if you fiddle with the constants
below. But by all means, have a try! */
diff -u audiooss-1.0.0/debian/control audiooss-1.0.0/debian/control
--- audiooss-1.0.0/debian/control
+++ audiooss-1.0.0/debian/control
@@ -2,7 +2,7 @@
Section: sound
Priority: optional
Maintainer: Lex Spoon <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 3.0.0), nas-dev, xlibs-dev, xutils
+Build-Depends: debhelper (>> 3.0.0), nas-dev, libx11-dev, xutils
Standards-Version: 3.5.2
Package: audiooss