diff -dur cinelerra-2.0.orig/guicast/Makefile cinelerra-2.0/guicast/Makefile --- cinelerra-2.0.orig/guicast/Makefile 2004-07-06 06:32:42.000000000 +0200 +++ cinelerra-2.0/guicast/Makefile 2004-09-13 11:14:21.672141990 +0200 @@ -24,6 +24,17 @@ BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\"" endif +ifeq ($(OBJDIR), alpha) +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B alpha -I binary -O elf64-alpha\"" +endif + +ifeq ($(OBJDIR), ppc) +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B powerpc -I binary -O elf32-powerpc\"" +endif + +ifeq ($(OBJDIR), sparc) +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B sparc -I binary -O elf32-sparc\"" +endif $(shell sh -c 'if ! test -d $(OBJDIR)\; then mkdir $(OBJDIR)\; fi' ) --- cinelerra-2.1/guicast/bootstrap.c.orig 2006-03-31 07:51:03.000000000 +0200 +++ cinelerra-2.1/guicast/bootstrap.c 2006-07-05 11:35:14.014440000 +0200 @@ -54,7 +54,7 @@ *buffer_size += strlen(string) + 1; - *(int*)(buffer + *buffer_size) = data_offset; + memcpy((int*)(buffer + *buffer_size), &data_offset, sizeof(int)); *buffer_size += sizeof(int); } @@ -195,7 +195,7 @@ // Run system command on it sprintf(system_command, "%s %s %s", BOOTSTRAP, temp_path, out_path); - system(system_command); + return system(system_command); }