76fa07234f9c2b4809463eb088c219b9b2b631f0
[pkgsrc.git] / audio / csound4 / patches / patch-ak
1 $NetBSD: patch-ak,v 1.1 2007/08/08 18:32:55 joerg Exp $
2
3 --- csound/dpwelib.h.orig       2007-08-08 17:40:16.000000000 +0000
4 +++ csound/dpwelib.h
5 @@ -73,24 +73,8 @@
6  #define READMODE "rb"
7  #define WRITEMODE "wb+"
8  
9 -#ifdef NeXT
10  #include <stdlib.h>
11  
12 -#else  /* ultrix, not NeXT */
13 -#ifdef clipper
14 -#else
15 -# if defined(LATTICE) || defined(WIN32) || defined(SGI) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__MACH__)
16 -#  include <stdlib.h>
17 -# else
18 -#  include <unistd.h>
19 -#  ifndef mac_classic
20 -#   include <malloc.h>
21 -#  endif
22 -# endif
23 -#endif
24 -
25 -#endif /* NeXT or ultrix */
26 -
27  #ifdef sun
28  #define  strchr(A,B)    index(A,B)
29  #define  strrchr(A,B)   rindex(A,B)