Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18566
Modified Files: Tag: devel_0_39 m_hash.c desire.c SConscript Log Message: fixes for OSX
Index: m_hash.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/m_hash.c,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** m_hash.c 23 Apr 2006 06:48:31 -0000 1.1.2.5 --- m_hash.c 23 Apr 2006 11:54:13 -0000 1.1.2.6 *************** *** 5,10 ****
#include "m_pd.h" ! #include <malloc.h> ! #include<stdio.h>
typedef struct _hashentry { --- 5,10 ----
#include "m_pd.h" ! #include <string.h> ! #include <stdio.h>
typedef struct _hashentry { *************** *** 77,81 **** // fprintf(stderr,"hash_set %p %s %p\n",self,((t_symbol*)k)->s_name,v); for (e=self->tab[h]; e; e=e->next) {if (e->k==k) {e->v=v; return;}} ! t_hashentry *nu = malloc(sizeof(t_hashentry)); self->size++; nu->k=k; --- 77,81 ---- // fprintf(stderr,"hash_set %p %s %p\n",self,((t_symbol*)k)->s_name,v); for (e=self->tab[h]; e; e=e->next) {if (e->k==k) {e->v=v; return;}} ! t_hashentry *nu = (t_hashentry *)malloc(sizeof(t_hashentry)); self->size++; nu->k=k;
Index: SConscript =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/SConscript,v retrieving revision 1.1.4.46 retrieving revision 1.1.4.47 diff -C2 -d -r1.1.4.46 -r1.1.4.47 *** SConscript 21 Apr 2006 22:54:56 -0000 1.1.4.46 --- SConscript 23 Apr 2006 11:54:14 -0000 1.1.4.47 *************** *** 530,534 **** cflags += " /G6" else: ! cflags += " -march=" + optarch
if pdenv['simd']: --- 530,534 ---- cflags += " /G6" else: ! cflags += " -mtune=" + optarch
if pdenv['simd']:
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.73 retrieving revision 1.1.2.74 diff -C2 -d -r1.1.2.73 -r1.1.2.74 *** desire.c 23 Apr 2006 06:22:28 -0000 1.1.2.73 --- desire.c 23 Apr 2006 11:54:13 -0000 1.1.2.74 *************** *** 12824,12828 **** */ static t_class *wire_class; ! void wire_free(t_canvas *x) { //t_gobj *y; --- 12824,12828 ---- */ static t_class *wire_class; ! static void wire_free(t_canvas *x) { //t_gobj *y;