ppp: fix fallout from the size reduction patch (thx, frogonwheels)
[openwrt.git] / package / redboot-ar231x / patches / 010-fix-compile.patch
1 --- a/ecos/packages/hal/mips/ap30/current/cdl/hal_mips_ap30.cdl
2 +++ b/ecos/packages/hal/mips/ap30/current/cdl/hal_mips_ap30.cdl
3 @@ -98,7 +98,7 @@ cdl_package CYGPKG_HAL_MIPS_AP30 {
4 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
5 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
6 @echo $@ ": \\" > $(notdir $@).deps
7 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
8 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
9 @echo >> $(notdir $@).deps
10 @rm plf_defs.tmp plf_mk_defs.tmp
11 }
12 --- a/ecos/packages/hal/mips/ap43/current/cdl/hal_mips_ap43.cdl
13 +++ b/ecos/packages/hal/mips/ap43/current/cdl/hal_mips_ap43.cdl
14 @@ -98,7 +98,7 @@ cdl_package CYGPKG_HAL_MIPS_AP43 {
15 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
16 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
17 @echo $@ ": \\" > $(notdir $@).deps
18 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
19 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
20 @echo >> $(notdir $@).deps
21 @rm plf_defs.tmp plf_mk_defs.tmp
22 }
23 --- a/ecos/packages/hal/mips/ap48/current/cdl/hal_mips_ap48.cdl
24 +++ b/ecos/packages/hal/mips/ap48/current/cdl/hal_mips_ap48.cdl
25 @@ -98,7 +98,7 @@ cdl_package CYGPKG_HAL_MIPS_AP48 {
26 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
27 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
28 @echo $@ ": \\" > $(notdir $@).deps
29 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
30 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
31 @echo >> $(notdir $@).deps
32 @rm plf_defs.tmp plf_mk_defs.tmp
33 }
34 --- a/ecos/packages/hal/mips/ap51/current/cdl/hal_mips_ap51.cdl
35 +++ b/ecos/packages/hal/mips/ap51/current/cdl/hal_mips_ap51.cdl
36 @@ -93,7 +93,7 @@ cdl_package CYGPKG_HAL_MIPS_AP51 {
37 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
38 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
39 @echo $@ ": \\" > $(notdir $@).deps
40 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
41 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
42 @echo >> $(notdir $@).deps
43 @rm plf_defs.tmp plf_mk_defs.tmp
44 }
45 --- a/ecos/packages/hal/mips/ap53/current/cdl/hal_mips_ap53.cdl
46 +++ b/ecos/packages/hal/mips/ap53/current/cdl/hal_mips_ap53.cdl
47 @@ -93,7 +93,7 @@ cdl_package CYGPKG_HAL_MIPS_AP53 {
48 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
49 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
50 @echo $@ ": \\" > $(notdir $@).deps
51 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
52 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
53 @echo >> $(notdir $@).deps
54 @rm plf_defs.tmp plf_mk_defs.tmp
55 }
56 --- a/ecos/packages/hal/mips/ap61/current/cdl/hal_mips_ap61.cdl
57 +++ b/ecos/packages/hal/mips/ap61/current/cdl/hal_mips_ap61.cdl
58 @@ -93,7 +93,7 @@ cdl_package CYGPKG_HAL_MIPS_AP61 {
59 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
60 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
61 @echo $@ ": \\" > $(notdir $@).deps
62 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
63 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
64 @echo >> $(notdir $@).deps
65 @rm plf_defs.tmp plf_mk_defs.tmp
66 }
67 --- a/ecos/packages/hal/mips/ap65/current/cdl/hal_mips_ap65.cdl
68 +++ b/ecos/packages/hal/mips/ap65/current/cdl/hal_mips_ap65.cdl
69 @@ -93,7 +93,7 @@ cdl_package CYGPKG_HAL_MIPS_AP65 {
70 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
71 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
72 @echo $@ ": \\" > $(notdir $@).deps
73 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
74 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
75 @echo >> $(notdir $@).deps
76 @rm plf_defs.tmp plf_mk_defs.tmp
77 }
78 --- a/ecos/packages/hal/mips/pb32/current/cdl/hal_mips_pb32.cdl
79 +++ b/ecos/packages/hal/mips/pb32/current/cdl/hal_mips_pb32.cdl
80 @@ -91,7 +91,7 @@ cdl_package CYGPKG_HAL_MIPS_PB32 {
81 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
82 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
83 @echo $@ ": \\" > $(notdir $@).deps
84 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
85 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
86 @echo >> $(notdir $@).deps
87 @rm plf_defs.tmp plf_mk_defs.tmp
88 }
89 --- a/ecos/packages/hal/mips/pb44/current/cdl/hal_mips_pb44.cdl
90 +++ b/ecos/packages/hal/mips/pb44/current/cdl/hal_mips_pb44.cdl
91 @@ -99,7 +99,7 @@ cdl_package CYGPKG_HAL_MIPS_PB44 {
92 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
93 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
94 @echo $@ ": \\" > $(notdir $@).deps
95 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
96 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
97 @echo >> $(notdir $@).deps
98 @rm plf_defs.tmp plf_mk_defs.tmp
99 }
100 --- a/ecos/packages/hal/mips/pb45/current/cdl/hal_mips_pb45.cdl
101 +++ b/ecos/packages/hal/mips/pb45/current/cdl/hal_mips_pb45.cdl
102 @@ -99,7 +99,7 @@ cdl_package CYGPKG_HAL_MIPS_PB45 {
103 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
104 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
105 @echo $@ ": \\" > $(notdir $@).deps
106 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
107 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
108 @echo >> $(notdir $@).deps
109 @rm plf_defs.tmp plf_mk_defs.tmp
110 }
111 --- a/ecos/packages/hal/mips/tb225/current/cdl/hal_mips_tb225.cdl
112 +++ b/ecos/packages/hal/mips/tb225/current/cdl/hal_mips_tb225.cdl
113 @@ -99,7 +99,7 @@ cdl_package CYGPKG_HAL_MIPS_TB225 {
114 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,plf_defs.tmp -o plf_mk_defs.tmp -S $<
115 fgrep .equ plf_mk_defs.tmp | sed s/#// > $@
116 @echo $@ ": \\" > $(notdir $@).deps
117 - @tail +2 plf_defs.tmp >> $(notdir $@).deps
118 + @tail -n +2 plf_defs.tmp >> $(notdir $@).deps
119 @echo >> $(notdir $@).deps
120 @rm plf_defs.tmp plf_mk_defs.tmp
121 }
122 --- a/ecos/host/tools/configtool/standalone/common/cdl_exec.cxx
123 +++ b/ecos/host/tools/configtool/standalone/common/cdl_exec.cxx
124 @@ -51,6 +51,7 @@
125 #endif
126 #include "build.hxx"
127 #include "cdl_exec.hxx"
128 +#include <linux/limits.h>
129
130 // ----------------------------------------------------------------------------
131 bool cdl_exec::quiet = false;
132 --- a/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx
133 +++ b/ecos/host/tools/configtool/standalone/common/ecosconfig.cxx
134 @@ -50,6 +50,7 @@
135 #endif
136 #include "cdl_exec.hxx"
137 #include "ecosconfig.hxx"
138 +#include <cstring>
139
140 #define TOOL_VERSION "2.net"
141 #define TOOL_COPYRIGHT "Copyright (c) 2002 Red Hat, Inc."
142 --- a/ecos/host/libcdl/build.cxx
143 +++ b/ecos/host/libcdl/build.cxx
144 @@ -57,6 +57,7 @@
145 // It implicitly supplies <string>, <vector> and <map> because
146 // the class definitions rely on these headers.
147 #include <cdlcore.hxx>
148 +#include <cstring>
149
150 //}}}
151
152 --- a/ecos/host/libcdl/parse.cxx
153 +++ b/ecos/host/libcdl/parse.cxx
154 @@ -58,6 +58,7 @@
155 // It implicitly supplies <string>, <vector> and <map> because
156 // the class definitions rely on these headers.
157 #include <cdlcore.hxx>
158 +#include <cstring>
159
160 //}}}
161
162 --- a/ecos/host/libcdl/cdlmisc.cxx
163 +++ b/ecos/host/libcdl/cdlmisc.cxx
164 @@ -66,6 +66,7 @@
165
166 // For access to strtod()
167 #include <cstdlib>
168 +#include <cstring>
169
170 // strtod() involves errno...
171 #include <cerrno>
172 --- a/ecos/host/infra/assert.cxx
173 +++ b/ecos/host/infra/assert.cxx
174 @@ -61,6 +61,7 @@
175 // STDLIB is needed for exit() and the status codes.
176 #include <cstdio>
177 #include <cstdlib>
178 +#include <cstring>
179
180 #if defined(__unix__) || defined(__CYGWIN32__)
181 extern "C" {
This page took 0.045696 seconds and 5 git commands to generate.