pkgsrc/audio/spiralsynth/patches/patch-ad
ben 60531e216e Update SpiralSynth to version 2.0.0. Notable changes include:
* Totally replaced audio core code with SSM plugin code,
	modified for static linking.
* Uses 32bit floating point format internally.
* New midi device handling.
* New OSS output code.
* New funky sliders.
* Updated for fltk 1.1.0
2004-11-25 17:24:27 +00:00

25 lines
766 B
Text

$NetBSD: patch-ad,v 1.2 2004/11/25 17:24:27 ben Exp $
--- SpiralSound/Output.h.orig Sun Jun 2 03:39:03 2002
+++ SpiralSound/Output.h
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <sys/ioctl.h>
#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
@@ -25,12 +26,10 @@
#else
#if defined (__NetBSD__) || defined (__OpenBSD__)
#include <soundcard.h> /* OSS emulation */
-#undef ioctl
#else /* BSDI, Linux, Solaris */
#include <sys/soundcard.h>
#endif /* __NetBSD__ or __OpenBSD__ */
#endif /* __FreeBSD__ */
-#include <sys/ioctl.h>
#include <limits.h>
#include "Sample.h"