pkgsrc/audio/csound-dev/patches/patch-ah
ben 372048f0b9 Add csound-dev-4.24.1 as a replacement for the unmaintained and out-of-date
csound package.

Csound is a software synthesis package in the tradition of so-called
music-N languages, among which the best-known is Music V.  It consists
of an orchestra- and score-driven executable, written in C for
portability.  Since Csound is a computational language, it is highly
flexible and efficient; complexity is gained only at the expense of
computation time.  Basically Csound reads some files and creates the
result as a file on disk or, on faster machines, through a DAC in real
time.

This version of csound implements localization and realtime audio as
plugins.  As a result you need to set the OPCDIR environment variable,
and for realtime audio use "-o devaudio" rather than "-o /dev/audio".
2003-12-13 20:26:03 +00:00

18 lines
540 B
Text

$NetBSD: patch-ah,v 1.1 2003/12/13 20:26:03 ben Exp $
--- opcodes/sftype.h.orig 2002-12-15 19:23:01.000000000 -0800
+++ opcodes/sftype.h
@@ -1,3 +1,4 @@
+#include "cs.h"
#if !defined(_SFTYPE_H)
#ifdef __GNUC__
@@ -27,7 +28,7 @@ typedef unsigned short SFTransform;
typedef struct
{
-#if defined(mac_classic) || defined(SGI) || defined(MACOSX)
+#if defined(mac_classic) || defined(SGI) || defined(MACOSX) || defined(__BIG_ENDIAN__)
/* and any such bigendian m/c */
BYTE byHi PACKED;
BYTE byLo PACKED;