1 diff -dur cinelerra-2.0.orig/guicast/Makefile cinelerra-2.0/guicast/Makefile
2 --- cinelerra-2.0.orig/guicast/Makefile 2004-07-06 06:32:42.000000000 +0200
3 +++ cinelerra-2.0/guicast/Makefile 2004-09-13 11:14:21.672141990 +0200
5 BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\""
8 +ifeq ($(OBJDIR), alpha)
9 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B alpha -I binary -O elf64-alpha\""
12 +ifeq ($(OBJDIR), ppc)
13 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B powerpc -I binary -O elf32-powerpc\""
16 +ifeq ($(OBJDIR), sparc)
17 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B sparc -I binary -O elf32-sparc\""
20 $(shell sh -c 'if ! test -d $(OBJDIR)\; then mkdir $(OBJDIR)\; fi' )
22 --- cinelerra-2.1/guicast/bootstrap.c.orig 2006-03-31 07:51:03.000000000 +0200
23 +++ cinelerra-2.1/guicast/bootstrap.c 2006-07-05 11:35:14.014440000 +0200
26 *buffer_size += strlen(string) + 1;
28 - *(int*)(buffer + *buffer_size) = data_offset;
29 + memcpy((int*)(buffer + *buffer_size), &data_offset, sizeof(int));
30 *buffer_size += sizeof(int);
35 // Run system command on it
36 sprintf(system_command, "%s %s %s", BOOTSTRAP, temp_path, out_path);
37 - system(system_command);
38 + return system(system_command);