pkgsrc - initial commit
[pkgsrc.git] / audio / csound4 / patches / patch-al
1 $NetBSD: patch-al,v 1.1 2007/08/08 18:32:55 joerg Exp $
2
3 --- csound/pvoc.c.orig  2007-08-08 17:47:48.000000000 +0000
4 +++ csound/pvoc.c
5 @@ -31,29 +31,9 @@
6  #include "sysdep.h"
7  
8  #include <stdio.h>
9 -#if defined(mac_classic) || defined(SYMANTEC) || defined(__FreeBSD__) || defined(__NetBSD__)
10 -#  include <stdlib.h>           /* for malloc() */
11 -#  define READMODE "rb"
12 -#  define WRITEMODE "wb+"
13 -#else
14 -#  ifdef NeXT
15 -#    include <stdlib.h>
16 -#  else
17 -#    ifdef clipper
18 -#      define SEEK_SET (0)
19 -#    else
20 -#      if !defined(LATTICE) && !defined(__WATCOMC__) && !defined(WIN32) && !defined(__ncc) && !defined(__MACH__)
21 -#        include <unistd.h>
22 -#        include <malloc.h>
23 -#      else
24 -#        include <stdlib.h>
25 -#      endif /* LATTICE */
26 -#    endif /* clipper */
27 -#  endif /* NeXT */
28 -#  include <sys/types.h>
29 -#  define READMODE "r"
30 -#  define WRITEMODE "w+"
31 -#endif /* SYMANTEC */
32 +#include <stdlib.h>           /* for malloc() */
33 +#define READMODE "rb"
34 +#define WRITEMODE "wb+"
35  
36  #if defined(SYS5) || defined(WIN32)
37  #include <fcntl.h>