]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/elfkickers/elfkickers-2.0a/gentoo.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / elfkickers / elfkickers-2.0a / gentoo.patch
1 diff -Nru ELFkickers.orig/Makefile ELFkickers/Makefile
2 --- ELFkickers.orig/Makefile    1969-12-31 19:00:00.000000000 -0500
3 +++ ELFkickers/Makefile 2003-07-25 15:25:04.000000000 -0400
4 @@ -0,0 +1,7 @@
5 +SUBDIRS = ebfc  elfls  elftoc  rebind  sstrip  tiny
6 +
7 +all:
8 +       for d in $(SUBDIRS); do cd $$d ; CFLAGS="$(CFLAGS)" CC=$(CC) make ; cd - ; done
9 +clean:
10 +       
11 +       for d in $(SUBDIRS); do cd $$d ; make clean; cd - ; done
12 diff -Nru ELFkickers.orig/ebfc/Makefile ELFkickers/ebfc/Makefile
13 --- ELFkickers.orig/ebfc/Makefile       2001-01-17 08:23:56.000000000 -0500
14 +++ ELFkickers/ebfc/Makefile    2003-07-25 15:18:55.000000000 -0400
15 @@ -1,8 +1,5 @@
16  #  Makefile for ebfc
17  
18 -CC = gcc
19 -CFLAGS = -ggdb -Wall
20 -
21  ebfc: ebfc.o brainfuck.o libelfparts.a
22  
23  ebfc.o: ebfc.c elfparts.h ebfc.h
24 diff -Nru ELFkickers.orig/ebfc/rel.c ELFkickers/ebfc/rel.c
25 --- ELFkickers.orig/ebfc/rel.c  2001-03-19 10:50:18.000000000 -0500
26 +++ ELFkickers/ebfc/rel.c       2003-07-25 15:16:08.000000000 -0400
27 @@ -5,6 +5,7 @@
28   */
29  
30  #include       <stdlib.h>
31 +#include       <string.h>
32  #include       <linux/elf.h>
33  #include       "elfparts.h"
34  #include       "gen.h"
35 diff -Nru ELFkickers.orig/elfls/Makefile ELFkickers/elfls/Makefile
36 --- ELFkickers.orig/elfls/Makefile      1999-07-07 23:57:55.000000000 -0400
37 +++ ELFkickers/elfls/Makefile   2003-07-25 15:20:11.000000000 -0400
38 @@ -1,7 +1,7 @@
39  #  Makefile for elfls
40  
41  elfls: elfls.c
42 -       gcc -ggdb -Wall -W -o elfls elfls.c
43 +       $(CC) $(CFLAGS) -W -o elfls elfls.c
44  
45  clean:
46         rm -f elfls
47 diff -Nru ELFkickers.orig/elfls/elfls.c ELFkickers/elfls/elfls.c
48 --- ELFkickers.orig/elfls/elfls.c       2001-03-28 08:23:57.000000000 -0500
49 +++ ELFkickers/elfls/elfls.c    2003-07-25 15:16:08.000000000 -0400
50 @@ -4,6 +4,7 @@
51  
52  #include       <stdio.h>
53  #include       <stdlib.h>
54 +#include       <string.h>
55  #include       <errno.h>
56  #include       <stdarg.h>
57  #include       <unistd.h>
58 diff -Nru ELFkickers.orig/elftoc/Makefile ELFkickers/elftoc/Makefile
59 --- ELFkickers.orig/elftoc/Makefile     2001-03-26 05:48:59.000000000 -0500
60 +++ ELFkickers/elftoc/Makefile  2003-07-25 15:21:00.000000000 -0400
61 @@ -1,9 +1,5 @@
62  #  Makefile for elftoc
63  
64 -CC = gcc
65 -CFLAGS = -ggdb -Wall
66 -LDFLAGS = $(CFLAGS)
67 -
68  OBJS = pieces.o addr.o shdrtab.o dynamic.o outbasic.o outtools.o out.o elftoc.o
69  
70  elftoc: $(OBJS)
71 diff -Nru ELFkickers.orig/elftoc/shdrtab.c ELFkickers/elftoc/shdrtab.c
72 --- ELFkickers.orig/elftoc/shdrtab.c    2001-03-25 08:09:09.000000000 -0500
73 +++ ELFkickers/elftoc/shdrtab.c 2003-07-25 15:16:08.000000000 -0400
74 @@ -5,6 +5,7 @@
75   */
76  
77  #include       <stdlib.h>
78 +#include       <string.h>
79  #include       <ctype.h>
80  #include       "gen.h"
81  #include       "elf.h"
82 diff -Nru ELFkickers.orig/rebind/Makefile ELFkickers/rebind/Makefile
83 --- ELFkickers.orig/rebind/Makefile     2001-03-19 10:08:56.000000000 -0500
84 +++ ELFkickers/rebind/Makefile  2003-07-25 15:21:26.000000000 -0400
85 @@ -1,7 +1,7 @@
86  #  Makefile for rebind
87  
88  rebind: rebind.c
89 -       gcc -ggdb -Wall -W -o rebind rebind.c
90 +       $(CC) $(CFLAGS) -W -o rebind rebind.c
91  
92  clean:
93         rm -f rebind
94 diff -Nru ELFkickers.orig/sstrip/Makefile ELFkickers/sstrip/Makefile
95 --- ELFkickers.orig/sstrip/Makefile     2001-03-24 06:58:27.000000000 -0500
96 +++ ELFkickers/sstrip/Makefile  2003-07-25 15:21:47.000000000 -0400
97 @@ -1,7 +1,7 @@
98  #  Makefile for sstrip
99  
100  sstrip: sstrip.c
101 -       gcc -ggdb -Wall -W -o sstrip sstrip.c
102 +       $(CC) $(CFLAGS) -W -o sstrip sstrip.c
103  
104  clean:
105         rm -f sstrip