[PD-cvs] packages/patches macintel-0.39.2.patch,1.2,1.3

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Sep 16 20:17:01 CEST 2006


Update of /cvsroot/pure-data/packages/patches
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16603

Modified Files:
	macintel-0.39.2.patch 
Log Message:
added fix from tigital for d_array.c

Index: macintel-0.39.2.patch
===================================================================
RCS file: /cvsroot/pure-data/packages/patches/macintel-0.39.2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** macintel-0.39.2.patch	16 Sep 2006 17:25:20 -0000	1.2
--- macintel-0.39.2.patch	16 Sep 2006 18:16:59 -0000	1.3
***************
*** 21,22 ****
--- 21,50 ----
       	s_audio_pablio.c     \
   	s_audio_paring.c     \
+ Index: d_array.c
+ ===================================================================
+ RCS file: /cvsroot/pure-data/pd/src/d_array.c,v
+ retrieving revision 1.5
+ diff -u -w -r1.5 d_array.c
+ --- d_array.c   11 Nov 2004 04:58:21 -0000      1.5
+ +++ d_array.c   16 Sep 2006 18:11:29 -0000
+ @@ -540,12 +540,16 @@
+  #define int32 int32_t
+  
+  #else
+ -#ifdef MACOSX
+ +#ifdef __APPLE__
+ +#define int32 int  /* a data type that has 32 bits */
+ +# ifdef __BIG_ENDIAN__
+  #define HIOFFSET 0    /* word offset to find MSB */
+  #define LOWOFFSET 1    /* word offset to find LSB */
+ -#define int32 int  /* a data type that has 32 bits */
+ -
+ -#endif /* MACOSX */
+ +# else 
+ +# define HIOFFSET 1    /* word offset to find MSB */
+ +# define LOWOFFSET 0    /* word offset to find LSB */
+ +#endif /* __BIG_ENDIAN__ */
+ +#endif /* __APPLE__ */
+  #endif /* __linux__ */
+  #endif /* MSW */
+  #endif /* SGI */





More information about the Pd-cvs mailing list