]> git.pld-linux.org Git - packages/cinelerra.git/blob - cinelerra-guicast_bootstrap.patch
- updated
[packages/cinelerra.git] / cinelerra-guicast_bootstrap.patch
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
4 @@ -24,6 +24,17 @@
5  BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B i386 -I binary -O elf64-x86-64\""
6  endif
7  
8 +ifeq ($(OBJDIR), alpha)
9 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B alpha -I binary -O elf64-alpha\""
10 +endif
11 +
12 +ifeq ($(OBJDIR), ppc)
13 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B powerpc -I binary -O elf32-powerpc\""
14 +endif
15 +
16 +ifeq ($(OBJDIR), sparc)
17 +BOOTSTRAPFLAGS := -DBOOTSTRAP="\"objcopy -B sparc -I binary -O elf32-sparc\""
18 +endif
19  
20  $(shell sh -c 'if ! test -d $(OBJDIR)\; then mkdir $(OBJDIR)\; fi' )
21  
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
24 @@ -54,7 +54,7 @@
25  
26         *buffer_size += strlen(string) + 1;
27         
28 -       *(int*)(buffer + *buffer_size) = data_offset;
29 +       memcpy((int*)(buffer + *buffer_size), &data_offset, sizeof(int));
30         *buffer_size += sizeof(int);
31  }
32  
33 @@ -195,7 +195,7 @@
34  
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);
39  }
40  
41  
This page took 0.060967 seconds and 3 git commands to generate.