diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2')
66 files changed, 4456 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch new file mode 100644 index 0000000000..a80d17c8b0 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Correctly identify arch-specific modules in ext/ where the .pm files | ||
4 | are under lib. | ||
5 | |||
6 | Ensure that POSIX/SigAction is kept with the rest of the POSIX module | ||
7 | under archlib. | ||
8 | |||
9 | Index: perl-5.12.3/installperl | ||
10 | =================================================================== | ||
11 | --- perl-5.12.3.orig/installperl | ||
12 | +++ perl-5.12.3/installperl | ||
13 | @@ -750,7 +750,7 @@ sub installlib { | ||
14 | } | ||
15 | |||
16 | if (-f $_) { | ||
17 | - if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) { | ||
18 | + if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) { | ||
19 | $installlib = $installprivlib; | ||
20 | #We're installing *.al and *.ix files into $installprivlib, | ||
21 | #but we have to delete old *.al and *.ix files from the 5.000 | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch b/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch new file mode 100644 index 0000000000..9625b0b84e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Upstream-Status:Pending | ||
2 | |||
3 | Index: perl-5.12.3/Configure | ||
4 | =================================================================== | ||
5 | --- perl-5.12.3.orig/Configure | ||
6 | +++ perl-5.12.3/Configure | ||
7 | @@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib | ||
8 | loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" | ||
9 | |||
10 | : general looking path for locating libraries | ||
11 | -glibpth="/lib /usr/lib $xlibpth" | ||
12 | +glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth" | ||
13 | glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" | ||
14 | +test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth" | ||
15 | test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" | ||
16 | test -f /shlib/libc.so && glibpth="/shlib $glibpth" | ||
17 | test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64" | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch b/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch new file mode 100644 index 0000000000..eb92ccb678 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | Upstream-Status:Pending | ||
2 | |||
3 | The perl-native should be relocatable while re-use sstate-cache from | ||
4 | another build, especially the original build was renamed/removed. | ||
5 | |||
6 | To get the MakeMaker.pm works in this case, we need perl wrapper here | ||
7 | instead of real perl binary. | ||
8 | |||
9 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
10 | =================================================================== | ||
11 | --- perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2011-08-12 16:07:30.000000000 +0800 | ||
12 | +++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2011-08-12 16:08:56.000000000 +0800 | ||
13 | @@ -1019,6 +1019,9 @@ | ||
14 | } | ||
15 | |||
16 | foreach my $name (@$names){ | ||
17 | + # Getting MakeMaker.pm use perl wrapper instead of 'perl.real' directly | ||
18 | + $name =~ s/perl\.real/perl/ if ($name =~ /perl\.real/); | ||
19 | + | ||
20 | foreach my $dir (@$dirs){ | ||
21 | next unless defined $dir; # $self->{PERL_SRC} may be undefined | ||
22 | my ($abs, $val); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch new file mode 100644 index 0000000000..c9fd5e27e7 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch | |||
@@ -0,0 +1,298 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.14.2/Makefile.SH | ||
4 | =================================================================== | ||
5 | --- perl-5.14.2.orig/Makefile.SH | ||
6 | +++ perl-5.14.2/Makefile.SH | ||
7 | @@ -36,7 +36,7 @@ case "$useshrplib" in | ||
8 | true) | ||
9 | # Prefix all runs of 'miniperl' and 'perl' with | ||
10 | # $ldlibpth so that ./perl finds *this* shared libperl. | ||
11 | - ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH' | ||
12 | + #ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH' | ||
13 | |||
14 | pldlflags="$cccdlflags" | ||
15 | static_ldflags='' | ||
16 | @@ -114,7 +114,8 @@ true) | ||
17 | ldlibpth='' | ||
18 | ;; | ||
19 | *) | ||
20 | - eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\"" | ||
21 | +# We compile in the library path in OE from cross-compile, so lets not do this | ||
22 | +# eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\"" | ||
23 | ;; | ||
24 | esac | ||
25 | # Strip off any trailing :'s | ||
26 | @@ -135,18 +136,7 @@ true) | ||
27 | # INSTALL file, under "Building a shared perl library". | ||
28 | # If there is no pre-existing $libperl, we don't need | ||
29 | # to do anything further. | ||
30 | - if test -f $archlib/CORE/$libperl; then | ||
31 | - rm -f preload | ||
32 | - cat <<'EOT' > preload | ||
33 | -#! /bin/sh | ||
34 | -lib=$1 | ||
35 | -shift | ||
36 | -test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD" | ||
37 | -exec "$@" | ||
38 | -EOT | ||
39 | - chmod 755 preload | ||
40 | - ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl" | ||
41 | - fi | ||
42 | + echo linux libraries overwritten by cross-compile patches | ||
43 | ;; | ||
44 | os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth" | ||
45 | ;; | ||
46 | @@ -529,9 +519,19 @@ splintfiles = $(c1) | ||
47 | .c.s: | ||
48 | $(CCCMDSRC) -S $*.c | ||
49 | |||
50 | -all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make | ||
51 | - @echo " "; | ||
52 | - @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." | ||
53 | +#all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make | ||
54 | +# @echo " "; | ||
55 | +# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." | ||
56 | + | ||
57 | +all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(unidatafiles) | ||
58 | + | ||
59 | +more: $(generated_pods) $(private) $(public) | ||
60 | + | ||
61 | +more2: $(dynamic_ext) | ||
62 | + | ||
63 | +more3: $(nonxs_ext) | ||
64 | + | ||
65 | +more4: extras.make | ||
66 | |||
67 | .PHONY: all translators utilities | ||
68 | |||
69 | @@ -539,7 +539,7 @@ all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $( | ||
70 | # by make_patchnum.pl. | ||
71 | git_version.h: lib/Config_git.pl | ||
72 | |||
73 | -lib/Config_git.pl: $(MINIPERL_EXE) make_patchnum.pl | ||
74 | +lib/Config_git.pl: make_patchnum.pl | ||
75 | $(MINIPERL) make_patchnum.pl | ||
76 | |||
77 | # make sure that we recompile perl.c if the git version changes | ||
78 | @@ -552,8 +552,8 @@ perl$(OBJ_EXT): git_version.h | ||
79 | # loading, we need to build perl first. | ||
80 | case "$usedl" in | ||
81 | define) | ||
82 | - util_deps='$(MINIPERL_EXE) $(CONFIGPM) lib/auto/Cwd/Cwd$(DLSUFFIX) FORCE' | ||
83 | - x2p_deps='$(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) FORCE' | ||
84 | + util_deps='$(CONFIGPM) lib/auto/Cwd/Cwd$(DLSUFFIX) FORCE' | ||
85 | + x2p_deps='$(CONFIGPM) $(dynamic_ext) FORCE' | ||
86 | ;; | ||
87 | *) util_deps='$(PERL_EXE) $(CONFIGPM) FORCE' | ||
88 | x2p_deps='$(PERL_EXE) $(CONFIGPM) FORCE' | ||
89 | @@ -627,7 +627,7 @@ generate_uudmap$(HOST_EXE_EXT): generate | ||
90 | miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h | ||
91 | $(CCCMD) $(PLDLFLAGS) $*.c | ||
92 | |||
93 | -perlmain.c: $(MINIPERL_EXE) lib/ExtUtils/Miniperl.pm | ||
94 | +perlmain.c: lib/ExtUtils/Miniperl.pm | ||
95 | $(MINIPERL) -Ilib -MExtUtils::Miniperl -e 'writemain(@ARGV)' DynaLoader $(static_ext) > perlmain.c | ||
96 | |||
97 | perlmain$(OBJ_EXT): perlmain.c | ||
98 | @@ -691,7 +691,7 @@ PERLEXPORT = perl.exp | ||
99 | ;; | ||
100 | esac | ||
101 | $spitshell >>$Makefile <<'!NO!SUBS!' | ||
102 | -perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) | ||
103 | +perl.exp: makedef.pl config.sh $(SYM) $(SYMH) | ||
104 | ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp | ||
105 | |||
106 | !NO!SUBS! | ||
107 | @@ -700,7 +700,7 @@ os2) | ||
108 | $spitshell >>$Makefile <<'!NO!SUBS!' | ||
109 | MINIPERLEXP = miniperl | ||
110 | |||
111 | -perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map | ||
112 | +perl5.def: makedef.pl config.sh $(SYM) $(SYMH) miniperl.map | ||
113 | ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def | ||
114 | |||
115 | !NO!SUBS! | ||
116 | @@ -757,7 +757,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI | ||
117 | true) | ||
118 | $spitshell >>$Makefile <<'!NO!SUBS!' | ||
119 | rm -f $@ | ||
120 | - $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) | ||
121 | + $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5 | ||
122 | !NO!SUBS! | ||
123 | case "$osname" in | ||
124 | aix) | ||
125 | @@ -798,7 +798,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX | ||
126 | $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) \ | ||
127 | $(mini_obj) \ | ||
128 | miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs) | ||
129 | - $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
130 | + mv -f miniperl miniperl-target | ||
131 | + ln -s hostperl miniperl | ||
132 | +# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
133 | !NO!SUBS! | ||
134 | ;; | ||
135 | next4*) | ||
136 | @@ -806,7 +808,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX | ||
137 | $(MINIPERL_EXE): $& miniperlmain$(OBJ_EXT) $(mini_obj) perlmini$(OBJ_EXT) opmini$(OBJ_EXT) | ||
138 | $(CC) -o $(MINIPERL_EXE) $(mini_obj) \ | ||
139 | miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs) | ||
140 | - $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
141 | + mv -f miniperl miniperl-target | ||
142 | + ln -s hostperl miniperl | ||
143 | +# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
144 | !NO!SUBS! | ||
145 | ;; | ||
146 | darwin*) | ||
147 | @@ -828,7 +832,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX | ||
148 | $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \ | ||
149 | $(mini_obj) \ | ||
150 | miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs) | ||
151 | - $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
152 | + mv -f miniperl miniperl-target | ||
153 | + ln -s hostperl miniperl | ||
154 | +# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
155 | !NO!SUBS! | ||
156 | ;; | ||
157 | *) | ||
158 | @@ -838,7 +844,10 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX | ||
159 | $(LDLIBPTH) $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \ | ||
160 | $(mini_obj) \ | ||
161 | miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs) | ||
162 | - $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
163 | + | ||
164 | + mv -f miniperl miniperl-target | ||
165 | + ln -s hostperl miniperl | ||
166 | +# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest | ||
167 | !NO!SUBS! | ||
168 | ;; | ||
169 | esac | ||
170 | @@ -960,7 +969,7 @@ case "${osname}" in | ||
171 | catamount) | ||
172 | $spitshell >>$Makefile <<!GROK!THIS! | ||
173 | .PHONY: makeppport | ||
174 | -makeppport: \$(MINIPERL_EXE) \$(CONFIGPM) | ||
175 | +makeppport: \$(CONFIGPM) | ||
176 | -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \ | ||
177 | (cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \ | ||
178 | done | ||
179 | @@ -970,7 +979,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM | ||
180 | *) | ||
181 | $spitshell >>$Makefile <<'!NO!SUBS!' | ||
182 | .PHONY: makeppport | ||
183 | -makeppport: $(MINIPERL_EXE) $(CONFIGPM) $(nonxs_ext) | ||
184 | +makeppport: $(CONFIGPM) $(nonxs_ext) | ||
185 | $(MINIPERL) $(Icwd) mkppport | ||
186 | |||
187 | !NO!SUBS! | ||
188 | @@ -980,22 +989,22 @@ esac | ||
189 | $spitshell >>$Makefile <<'!NO!SUBS!' | ||
190 | |||
191 | .PHONY: preplibrary | ||
192 | -preplibrary: $(MINIPERL_EXE) $(CONFIGPM) $(PREPLIBRARY_LIBPERL) | ||
193 | +preplibrary: $(CONFIGPM) $(PREPLIBRARY_LIBPERL) | ||
194 | |||
195 | $(CONFIGPM_FROM_CONFIG_SH): $(CONFIGPOD) | ||
196 | |||
197 | -$(CONFIGPOD): config.sh $(MINIPERL_EXE) configpm Porting/Glossary lib/Config_git.pl | ||
198 | +$(CONFIGPOD): config.sh configpm Porting/Glossary lib/Config_git.pl | ||
199 | $(MINIPERL) configpm | ||
200 | |||
201 | -lib/ExtUtils/Miniperl.pm: miniperlmain.c $(MINIPERL_EXE) minimod.pl $(CONFIGPM) | ||
202 | +lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM) | ||
203 | $(MINIPERL) minimod.pl > lib/ExtUtils/Miniperl.pm | ||
204 | |||
205 | -lib/buildcustomize.pl: $(MINIPERL_EXE) write_buildcustomize.pl | ||
206 | +lib/buildcustomize.pl: write_buildcustomize.pl | ||
207 | $(MINIPERL) write_buildcustomize.pl >lib/buildcustomize.pl | ||
208 | |||
209 | unidatafiles $(unidatafiles) pod/perluniprops.pod: uni.data | ||
210 | |||
211 | -uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext) | ||
212 | +uni.data: $(CONFIGPM) lib/unicore/mktables $(nonxs_ext) | ||
213 | $(MINIPERL) $(Icwd) lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p | ||
214 | # Commented out so always runs, mktables looks at far more files than we | ||
215 | # can in this makefile to decide if needs to run or not | ||
216 | @@ -1004,21 +1013,21 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li | ||
217 | # $(PERL_EXE) and ext because buildtoc uses Text::Wrap uses re | ||
218 | # But also this ensures that all extensions are built before we try to scan | ||
219 | # them, which picks up Devel::PPPort's documentation. | ||
220 | -pod/perltoc.pod: $(perltoc_pod_prereqs) $(PERL_EXE) $(ext) pod/buildtoc | ||
221 | - $(RUN_PERL) -f -Ilib pod/buildtoc --build-toc -q | ||
222 | +pod/perltoc.pod: $(perltoc_pod_prereqs) $(ext) pod/buildtoc | ||
223 | + $(MINIPERL) -f -Ilib pod/buildtoc --build-toc -q | ||
224 | |||
225 | pod/perlapi.pod: pod/perlintern.pod | ||
226 | |||
227 | -pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc | ||
228 | +pod/perlintern.pod: autodoc.pl embed.fnc | ||
229 | $(MINIPERL) autodoc.pl | ||
230 | |||
231 | -pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST | ||
232 | +pod/perlmodlib.pod: pod/perlmodlib.PL MANIFEST | ||
233 | $(MINIPERL) $(Icwd) pod/perlmodlib.PL -q | ||
234 | |||
235 | pod/perl5142delta.pod: pod/perldelta.pod | ||
236 | $(LNS) perldelta.pod pod/perl5142delta.pod | ||
237 | |||
238 | -extra.pods: $(MINIPERL_EXE) | ||
239 | +extra.pods: | ||
240 | -@test ! -f extra.pods || rm -f `cat extra.pods` | ||
241 | -@rm -f extra.pods | ||
242 | -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \ | ||
243 | @@ -1058,11 +1067,7 @@ no-install: | ||
244 | INSTALL_DEPENDENCE = all | ||
245 | |||
246 | install.perl: $(INSTALL_DEPENDENCE) installperl | ||
247 | - $(RUN_PERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS) | ||
248 | - -@test ! -s extras.lst || $(MAKE) extras.install | ||
249 | - | ||
250 | -install.man: all installman | ||
251 | - $(RUN_PERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS) | ||
252 | + ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS) | ||
253 | |||
254 | # XXX Experimental. Hardwired values, but useful for testing. | ||
255 | # Eventually Configure could ask for some of these values. | ||
256 | @@ -1161,16 +1166,16 @@ manicheck: FORCE | ||
257 | # | ||
258 | # DynaLoader may be needed for extensions that use Makefile.PL. | ||
259 | |||
260 | -$(DYNALOADER): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary FORCE $(nonxs_ext) | ||
261 | +$(DYNALOADER): lib/buildcustomize.pl preplibrary FORCE $(nonxs_ext) | ||
262 | $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS) | ||
263 | |||
264 | -d_dummy $(dynamic_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT) | ||
265 | +d_dummy $(dynamic_ext): lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT) | ||
266 | $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic | ||
267 | |||
268 | -s_dummy $(static_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE | ||
269 | +s_dummy $(static_ext): lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE | ||
270 | $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS) | ||
271 | |||
272 | -n_dummy $(nonxs_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary FORCE | ||
273 | +n_dummy $(nonxs_ext): lib/buildcustomize.pl preplibrary FORCE | ||
274 | $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) | ||
275 | !NO!SUBS! | ||
276 | |||
277 | @@ -1365,10 +1370,10 @@ _test: | ||
278 | |||
279 | test_prep_pre: preplibrary utilities $(nonxs_ext) | ||
280 | |||
281 | -test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p $(generated_pods) | ||
282 | +test_prep: test_prep_pre $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p $(generated_pods) | ||
283 | cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE)) | ||
284 | |||
285 | -test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL) | ||
286 | +test_prep_reonly: $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL) | ||
287 | $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic | ||
288 | cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE)) | ||
289 | |||
290 | @@ -1459,7 +1464,7 @@ minitest.prep: | ||
291 | |||
292 | # Can't depend on lib/Config.pm because that might be where miniperl | ||
293 | # is crashing. | ||
294 | -minitest: $(MINIPERL_EXE) minitest.prep | ||
295 | +minitest: minitest.prep | ||
296 | - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \ | ||
297 | && $(RUN_PERL) TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t </dev/tty | ||
298 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch new file mode 100644 index 0000000000..858e2e10fb --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch | |||
@@ -0,0 +1,58 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.14.2/Cross/Makefile | ||
4 | =================================================================== | ||
5 | --- perl-5.14.2.orig/Cross/Makefile | ||
6 | +++ perl-5.14.2/Cross/Makefile | ||
7 | @@ -1,6 +1,7 @@ | ||
8 | ## Toplevel Makefile for cross-compilation of perl | ||
9 | |||
10 | -export TOPDIR=${shell pwd} | ||
11 | +override TOPDIR=${shell pwd} | ||
12 | +export TOPDIR | ||
13 | include $(TOPDIR)/config | ||
14 | export CFLAGS | ||
15 | export SYS=$(ARCH)-$(OS) | ||
16 | @@ -10,7 +11,7 @@ export OPTIMIZATION = -O2 | ||
17 | |||
18 | export CC = $(CROSS)gcc | ||
19 | export CXX = $(CROSS)g++ | ||
20 | -export LD = $(CROSS)ld | ||
21 | +export LD = $(CC) | ||
22 | export STRIP = $(CROSS)strip | ||
23 | export AR = $(CROSS)ar | ||
24 | export RANLIB = $(CROSS)ranlib | ||
25 | @@ -32,17 +33,6 @@ CFLAGS+=$(FULL_OPTIMIZATION) | ||
26 | all: | ||
27 | @echo Please read the README file before doing anything else. | ||
28 | |||
29 | -gen_patch: | ||
30 | - diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch | ||
31 | - diff -Bbur ../installperl installperl > installperl.patch | ||
32 | - | ||
33 | -patch: | ||
34 | - cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \ | ||
35 | - patch -p1 < Cross/Makefile.SH.patch; \ | ||
36 | - patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \ | ||
37 | - sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \ | ||
38 | - touch CROSS_PATCHED ; fi | ||
39 | - | ||
40 | perl: | ||
41 | @echo Perl cross-build directory is $(TOPDIR) | ||
42 | @echo Target arch is $(SYS) | ||
43 | @@ -52,11 +42,11 @@ perl: | ||
44 | $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh | ||
45 | cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more | ||
46 | cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library | ||
47 | - cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
48 | - cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
49 | - cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
50 | + cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
51 | + cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
52 | + cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig" | ||
53 | cd $(TOPDIR)/.. ; rm -rf install_me_here | ||
54 | - cd $(TOPDIR)/.. ; make install-strip | ||
55 | +# cd $(TOPDIR)/.. ; make install-strip | ||
56 | cd $(TOPDIR)/.. ; sh -x Cross/warp | ||
57 | |||
58 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch b/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch new file mode 100644 index 0000000000..c65b1a1fe3 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | Upstream-Status:Pending | ||
2 | |||
3 | Perl inclues asm/page.h in order to get the definition for getpagesize which | ||
4 | has been definied in unistd.h since glibc 2.1. Some recent version of linux | ||
5 | libc headers removed the asm/page.h resulting in failures here for some | ||
6 | people. | ||
7 | |||
8 | Index: perl-5.12.3/cpan/IPC-SysV/SysV.xs | ||
9 | =================================================================== | ||
10 | --- perl-5.12.3.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 | ||
11 | +++ perl-5.12.3/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 | ||
12 | @@ -3,9 +3,6 @@ | ||
13 | #include "XSUB.h" | ||
14 | |||
15 | #include <sys/types.h> | ||
16 | -#ifdef __linux__ | ||
17 | -# include <asm/page.h> | ||
18 | -#endif | ||
19 | #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) | ||
20 | #ifndef HAS_SEM | ||
21 | # include <sys/ipc.h> | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh b/meta/recipes-devtools/perl/perl-5.14.2/config.sh new file mode 100644 index 0000000000..b3e2d432c4 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh | |||
@@ -0,0 +1,1093 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # This file was produced by running the Configure script. It holds all the | ||
4 | # definitions figured out by Configure. Should you modify one of these values, | ||
5 | # do not forget to propagate your changes by running "Configure -der". You may | ||
6 | # instead choose to run each of the .SH files by yourself, or "Configure -S". | ||
7 | # | ||
8 | |||
9 | # Package name : perl5 | ||
10 | # Source directory : . | ||
11 | # Configuration time: Thu Dec 23 03:57:51 UTC 2010 | ||
12 | # Configured by : Open Embedded | ||
13 | # Target system : linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux | ||
14 | |||
15 | : Configure command line arguments. | ||
16 | config_arg0='Configure' | ||
17 | config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.14.2 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' | ||
18 | config_argc=28 | ||
19 | config_arg1='-des' | ||
20 | config_arg2='-Doptimize=-O2' | ||
21 | config_arg3='-Dmyhostname=localhost' | ||
22 | config_arg4='-Dperladmin=root@localhost' | ||
23 | config_arg5='-Dcc=gcc' | ||
24 | config_arg6='-Dcf_by=Open Embedded' | ||
25 | config_arg7='-Dinstallprefix=@DESTDIR@' | ||
26 | config_arg8='-Dprefix=/usr' | ||
27 | config_arg9='-Dvendorprefix=/usr' | ||
28 | config_arg10='-Dsiteprefix=/usr' | ||
29 | config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.14.2' | ||
30 | config_arg12='-Duseshrplib' | ||
31 | config_arg13='-Dusethreads' | ||
32 | config_arg14='-Duseithreads' | ||
33 | config_arg15='-Duselargefiles' | ||
34 | config_arg16='-Ud_dosuid' | ||
35 | config_arg17='-Dd_semctl_semun' | ||
36 | config_arg18='-Ui_db' | ||
37 | config_arg19='-Ui_ndbm' | ||
38 | config_arg20='-Ui_gdbm' | ||
39 | config_arg21='-Di_shadow' | ||
40 | config_arg22='-Di_syslog' | ||
41 | config_arg23='-Dman3ext=3pm' | ||
42 | config_arg24='-Duseperlio' | ||
43 | config_arg25='-Dinstallusrbinperl' | ||
44 | config_arg26='-Ubincompat5005' | ||
45 | config_arg27='-Uversiononly' | ||
46 | config_arg28='-Dpager=/usr/bin/less -isr' | ||
47 | |||
48 | Author='' | ||
49 | Date='$Date' | ||
50 | Header='' | ||
51 | Id='$Id' | ||
52 | Locker='' | ||
53 | Log='$Log' | ||
54 | RCSfile='$RCSfile' | ||
55 | Revision='$Revision' | ||
56 | Source='' | ||
57 | State='' | ||
58 | _a='.a' | ||
59 | _exe='' | ||
60 | _o='.o' | ||
61 | afs='false' | ||
62 | afsroot='/afs' | ||
63 | ansi2knr='' | ||
64 | aphostname='' | ||
65 | api_revision='5' | ||
66 | api_subversion='0' | ||
67 | api_version='14' | ||
68 | api_versionstring='5.14.0' | ||
69 | ar='ar' | ||
70 | archlib='/usr/lib/perl5/5.14.2/@ARCH@-thread-multi' | ||
71 | archlibexp='/usr/lib/perl5/5.14.2/@ARCH@-thread-multi' | ||
72 | archname64='' | ||
73 | archname='@ARCH@-thread-multi' | ||
74 | archobjs='' | ||
75 | asctime_r_proto='REENTRANT_PROTO_B_SB' | ||
76 | awk='awk' | ||
77 | baserev='5.0' | ||
78 | bash='' | ||
79 | bin='/usr/bin' | ||
80 | bin_ELF='define' | ||
81 | binexp='/usr/bin' | ||
82 | bison='bison' | ||
83 | byacc='byacc' | ||
84 | c='' | ||
85 | castflags='0' | ||
86 | cat='cat' | ||
87 | cc='gcc' | ||
88 | cccdlflags='-fPIC' | ||
89 | ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.14.2/@ARCH@-thread-multi/CORE' | ||
90 | ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
91 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
92 | ccname='gcc' | ||
93 | ccsymbols='' | ||
94 | ccversion='' | ||
95 | cf_by='Open Embedded' | ||
96 | cf_email='Open Embedded@localhost.localdomain' | ||
97 | charbits='8' | ||
98 | charsize='1' | ||
99 | chgrp='' | ||
100 | chmod='chmod' | ||
101 | chown='' | ||
102 | clocktype='clock_t' | ||
103 | comm='comm' | ||
104 | compress='' | ||
105 | contains='grep' | ||
106 | cp='cp' | ||
107 | cpio='' | ||
108 | cpp='cpp' | ||
109 | cpp_stuff='42' | ||
110 | cppccsymbols='' | ||
111 | cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector' | ||
112 | cpplast='-' | ||
113 | cppminus='-' | ||
114 | cpprun='gcc -E' | ||
115 | cppstdin='gcc -E' | ||
116 | crypt_r_proto='REENTRANT_PROTO_B_CCS' | ||
117 | cryptlib='' | ||
118 | csh='csh' | ||
119 | ctermid_r_proto='0' | ||
120 | ctime_r_proto='REENTRANT_PROTO_B_SB' | ||
121 | d_Gconvert='gcvt((x),(n),(b))' | ||
122 | d_PRIEUldbl='define' | ||
123 | d_PRIFUldbl='define' | ||
124 | d_PRIGUldbl='define' | ||
125 | d_PRIXU64='define' | ||
126 | d_PRId64='define' | ||
127 | d_PRIeldbl='define' | ||
128 | d_PRIfldbl='define' | ||
129 | d_PRIgldbl='define' | ||
130 | d_PRIi64='define' | ||
131 | d_PRIo64='define' | ||
132 | d_PRIu64='define' | ||
133 | d_PRIx64='define' | ||
134 | d_SCNfldbl='define' | ||
135 | d__fwalk='undef' | ||
136 | d_access='define' | ||
137 | d_accessx='undef' | ||
138 | d_aintl='undef' | ||
139 | d_alarm='define' | ||
140 | d_archlib='define' | ||
141 | d_asctime64='undef' | ||
142 | d_asctime_r='define' | ||
143 | d_atolf='undef' | ||
144 | d_atoll='define' | ||
145 | d_attribute_deprecated='define' | ||
146 | d_attribute_format='define' | ||
147 | d_attribute_malloc='define' | ||
148 | d_attribute_nonnull='define' | ||
149 | d_attribute_noreturn='define' | ||
150 | d_attribute_pure='define' | ||
151 | d_attribute_unused='define' | ||
152 | d_attribute_warn_unused_result='define' | ||
153 | d_bcmp='define' | ||
154 | d_bcopy='define' | ||
155 | d_bsd='undef' | ||
156 | d_bsdgetpgrp='undef' | ||
157 | d_bsdsetpgrp='undef' | ||
158 | d_builtin_choose_expr='define' | ||
159 | d_builtin_expect='define' | ||
160 | d_bzero='define' | ||
161 | d_c99_variadic_macros='define' | ||
162 | d_casti32='undef' | ||
163 | d_castneg='define' | ||
164 | d_charvspr='undef' | ||
165 | d_chown='define' | ||
166 | d_chroot='define' | ||
167 | d_chsize='undef' | ||
168 | d_class='undef' | ||
169 | d_clearenv='define' | ||
170 | d_closedir='define' | ||
171 | d_cmsghdr_s='define' | ||
172 | d_const='define' | ||
173 | d_copysignl='define' | ||
174 | d_cplusplus='undef' | ||
175 | d_crypt='define' | ||
176 | d_crypt_r='define' | ||
177 | d_csh='undef' | ||
178 | d_ctermid='define' | ||
179 | d_ctermid_r='undef' | ||
180 | d_ctime64='undef' | ||
181 | d_ctime_r='define' | ||
182 | d_cuserid='define' | ||
183 | d_dbl_dig='define' | ||
184 | d_dbminitproto='undef' | ||
185 | d_difftime64='undef' | ||
186 | d_difftime='define' | ||
187 | d_dir_dd_fd='undef' | ||
188 | d_dirfd='define' | ||
189 | d_dirnamlen='undef' | ||
190 | d_dlerror='define' | ||
191 | d_dlopen='define' | ||
192 | d_dlsymun='undef' | ||
193 | d_dosuid='undef' | ||
194 | d_drand48_r='define' | ||
195 | d_drand48proto='define' | ||
196 | d_dup2='define' | ||
197 | d_eaccess='define' | ||
198 | d_endgrent='define' | ||
199 | d_endgrent_r='undef' | ||
200 | d_endhent='define' | ||
201 | d_endhostent_r='undef' | ||
202 | d_endnent='define' | ||
203 | d_endnetent_r='undef' | ||
204 | d_endpent='define' | ||
205 | d_endprotoent_r='undef' | ||
206 | d_endpwent='define' | ||
207 | d_endpwent_r='undef' | ||
208 | d_endsent='define' | ||
209 | d_endservent_r='undef' | ||
210 | d_eofnblk='define' | ||
211 | d_eunice='undef' | ||
212 | d_faststdio='define' | ||
213 | d_fchdir='define' | ||
214 | d_fchmod='define' | ||
215 | d_fchown='define' | ||
216 | d_fcntl='define' | ||
217 | d_fcntl_can_lock='define' | ||
218 | d_fd_macros='define' | ||
219 | d_fd_set='define' | ||
220 | d_fds_bits='define' | ||
221 | d_fgetpos='define' | ||
222 | d_finite='define' | ||
223 | d_finitel='define' | ||
224 | d_flexfnam='define' | ||
225 | d_flock='define' | ||
226 | d_flockproto='define' | ||
227 | d_fork='define' | ||
228 | d_fp_class='undef' | ||
229 | d_fpathconf='define' | ||
230 | d_fpclass='undef' | ||
231 | d_fpclassify='undef' | ||
232 | d_fpclassl='undef' | ||
233 | d_fpos64_t='undef' | ||
234 | d_frexpl='define' | ||
235 | d_fs_data_s='undef' | ||
236 | d_fseeko='define' | ||
237 | d_fsetpos='define' | ||
238 | d_fstatfs='define' | ||
239 | d_fstatvfs='define' | ||
240 | d_fsync='define' | ||
241 | d_ftello='define' | ||
242 | d_ftime='undef' | ||
243 | d_futimes='define' | ||
244 | d_gdbm_ndbm_h_uses_prototypes='undef' | ||
245 | d_gdbmndbm_h_uses_prototypes='undef' | ||
246 | d_getaddrinfo='define' | ||
247 | d_getcwd='define' | ||
248 | d_getespwnam='undef' | ||
249 | d_getfsstat='undef' | ||
250 | d_getgrent='define' | ||
251 | d_getgrent_r='define' | ||
252 | d_getgrgid_r='define' | ||
253 | d_getgrnam_r='define' | ||
254 | d_getgrps='define' | ||
255 | d_gethbyaddr='define' | ||
256 | d_gethbyname='define' | ||
257 | d_gethent='define' | ||
258 | d_gethname='define' | ||
259 | d_gethostbyaddr_r='define' | ||
260 | d_gethostbyname_r='define' | ||
261 | d_gethostent_r='define' | ||
262 | d_gethostprotos='define' | ||
263 | d_getitimer='define' | ||
264 | d_getlogin='define' | ||
265 | d_getlogin_r='define' | ||
266 | d_getmnt='undef' | ||
267 | d_getmntent='define' | ||
268 | d_getnameinfo='define' | ||
269 | d_getnbyaddr='define' | ||
270 | d_getnbyname='define' | ||
271 | d_getnent='define' | ||
272 | d_getnetbyaddr_r='define' | ||
273 | d_getnetbyname_r='define' | ||
274 | d_getnetent_r='define' | ||
275 | d_getnetprotos='define' | ||
276 | d_getpagsz='define' | ||
277 | d_getpbyname='define' | ||
278 | d_getpbynumber='define' | ||
279 | d_getpent='define' | ||
280 | d_getpgid='define' | ||
281 | d_getpgrp2='undef' | ||
282 | d_getpgrp='define' | ||
283 | d_getppid='define' | ||
284 | d_getprior='define' | ||
285 | d_getprotobyname_r='define' | ||
286 | d_getprotobynumber_r='define' | ||
287 | d_getprotoent_r='define' | ||
288 | d_getprotoprotos='define' | ||
289 | d_getprpwnam='undef' | ||
290 | d_getpwent='define' | ||
291 | d_getpwent_r='define' | ||
292 | d_getpwnam_r='define' | ||
293 | d_getpwuid_r='define' | ||
294 | d_getsbyname='define' | ||
295 | d_getsbyport='define' | ||
296 | d_getsent='define' | ||
297 | d_getservbyname_r='define' | ||
298 | d_getservbyport_r='define' | ||
299 | d_getservent_r='define' | ||
300 | d_getservprotos='define' | ||
301 | d_getspnam='define' | ||
302 | d_getspnam_r='define' | ||
303 | d_gettimeod='define' | ||
304 | d_gmtime64='undef' | ||
305 | d_gmtime_r='define' | ||
306 | d_gnulibc='define' | ||
307 | d_grpasswd='define' | ||
308 | d_hasmntopt='define' | ||
309 | d_htonl='define' | ||
310 | d_ilogbl='define' | ||
311 | d_inc_version_list='undef' | ||
312 | d_index='undef' | ||
313 | d_inetaton='define' | ||
314 | d_inetntop='define' | ||
315 | d_inetpton='define' | ||
316 | d_int64_t='define' | ||
317 | d_isascii='define' | ||
318 | d_isfinite='undef' | ||
319 | d_isinf='define' | ||
320 | d_isnan='define' | ||
321 | d_isnanl='define' | ||
322 | d_killpg='define' | ||
323 | d_lchown='define' | ||
324 | d_ldbl_dig='define' | ||
325 | d_libm_lib_version='define' | ||
326 | d_link='define' | ||
327 | d_localtime64='undef' | ||
328 | d_localtime_r='define' | ||
329 | d_localtime_r_needs_tzset='define' | ||
330 | d_locconv='define' | ||
331 | d_lockf='define' | ||
332 | d_longdbl='define' | ||
333 | d_longlong='define' | ||
334 | d_lseekproto='define' | ||
335 | d_lstat='define' | ||
336 | d_madvise='define' | ||
337 | d_malloc_good_size='undef' | ||
338 | d_malloc_size='undef' | ||
339 | d_mblen='define' | ||
340 | d_mbstowcs='define' | ||
341 | d_mbtowc='define' | ||
342 | d_memchr='define' | ||
343 | d_memcmp='define' | ||
344 | d_memcpy='define' | ||
345 | d_memmove='define' | ||
346 | d_memset='define' | ||
347 | d_mkdir='define' | ||
348 | d_mkdtemp='define' | ||
349 | d_mkfifo='define' | ||
350 | d_mkstemp='define' | ||
351 | d_mkstemps='define' | ||
352 | d_mktime64='undef' | ||
353 | d_mktime='define' | ||
354 | d_mmap='define' | ||
355 | d_modfl='define' | ||
356 | d_modfl_pow32_bug='undef' | ||
357 | d_modflproto='define' | ||
358 | d_mprotect='define' | ||
359 | d_msg='define' | ||
360 | d_msg_ctrunc='define' | ||
361 | d_msg_dontroute='define' | ||
362 | d_msg_oob='define' | ||
363 | d_msg_peek='define' | ||
364 | d_msg_proxy='define' | ||
365 | d_msgctl='define' | ||
366 | d_msgget='define' | ||
367 | d_msghdr_s='define' | ||
368 | d_msgrcv='define' | ||
369 | d_msgsnd='define' | ||
370 | d_msync='define' | ||
371 | d_munmap='define' | ||
372 | d_mymalloc='undef' | ||
373 | d_ndbm='undef' | ||
374 | d_ndbm_h_uses_prototypes='undef' | ||
375 | d_nice='define' | ||
376 | d_nl_langinfo='define' | ||
377 | d_nv_zero_is_allbits_zero='define' | ||
378 | d_off64_t='define' | ||
379 | d_old_pthread_create_joinable='undef' | ||
380 | d_oldpthreads='undef' | ||
381 | d_oldsock='undef' | ||
382 | d_open3='define' | ||
383 | d_pathconf='define' | ||
384 | d_pause='define' | ||
385 | d_perl_otherlibdirs='define' | ||
386 | d_phostname='undef' | ||
387 | d_pipe='define' | ||
388 | d_poll='define' | ||
389 | d_portable='define' | ||
390 | d_procselfexe='define' | ||
391 | d_pseudofork='undef' | ||
392 | d_pthread_atfork='define' | ||
393 | d_pthread_attr_setscope='define' | ||
394 | d_pthread_yield='define' | ||
395 | d_pwage='undef' | ||
396 | d_pwchange='undef' | ||
397 | d_pwclass='undef' | ||
398 | d_pwcomment='undef' | ||
399 | d_pwexpire='undef' | ||
400 | d_pwgecos='define' | ||
401 | d_pwpasswd='define' | ||
402 | d_pwquota='undef' | ||
403 | d_qgcvt='define' | ||
404 | d_quad='define' | ||
405 | d_random_r='define' | ||
406 | d_readdir64_r='define' | ||
407 | d_readdir='define' | ||
408 | d_readdir_r='define' | ||
409 | d_readlink='define' | ||
410 | d_readv='define' | ||
411 | d_recvmsg='define' | ||
412 | d_rename='define' | ||
413 | d_rewinddir='define' | ||
414 | d_rmdir='define' | ||
415 | d_safebcpy='undef' | ||
416 | d_safemcpy='undef' | ||
417 | d_sanemcmp='define' | ||
418 | d_sbrkproto='define' | ||
419 | d_scalbnl='define' | ||
420 | d_sched_yield='define' | ||
421 | d_scm_rights='define' | ||
422 | d_seekdir='define' | ||
423 | d_select='define' | ||
424 | d_sem='define' | ||
425 | d_semctl='define' | ||
426 | d_semctl_semid_ds='define' | ||
427 | d_semctl_semun='define' | ||
428 | d_semget='define' | ||
429 | d_semop='define' | ||
430 | d_sendmsg='define' | ||
431 | d_setegid='define' | ||
432 | d_seteuid='define' | ||
433 | d_setgrent='define' | ||
434 | d_setgrent_r='undef' | ||
435 | d_setgrps='define' | ||
436 | d_sethent='define' | ||
437 | d_sethostent_r='undef' | ||
438 | d_setitimer='define' | ||
439 | d_setlinebuf='define' | ||
440 | d_setlocale='define' | ||
441 | d_setlocale_r='undef' | ||
442 | d_setnent='define' | ||
443 | d_setnetent_r='undef' | ||
444 | d_setpent='define' | ||
445 | d_setpgid='define' | ||
446 | d_setpgrp2='undef' | ||
447 | d_setpgrp='define' | ||
448 | d_setprior='define' | ||
449 | d_setproctitle='undef' | ||
450 | d_setprotoent_r='undef' | ||
451 | d_setpwent='define' | ||
452 | d_setpwent_r='undef' | ||
453 | d_setregid='define' | ||
454 | d_setresgid='define' | ||
455 | d_setresuid='define' | ||
456 | d_setreuid='define' | ||
457 | d_setrgid='undef' | ||
458 | d_setruid='undef' | ||
459 | d_setsent='define' | ||
460 | d_setservent_r='undef' | ||
461 | d_setsid='define' | ||
462 | d_setvbuf='define' | ||
463 | d_sfio='undef' | ||
464 | d_shm='define' | ||
465 | d_shmat='define' | ||
466 | d_shmatprototype='define' | ||
467 | d_shmctl='define' | ||
468 | d_shmdt='define' | ||
469 | d_shmget='define' | ||
470 | d_sigaction='define' | ||
471 | d_signbit='define' | ||
472 | d_sigprocmask='define' | ||
473 | d_sigsetjmp='define' | ||
474 | d_sitearch='define' | ||
475 | d_snprintf='define' | ||
476 | d_sockatmark='define' | ||
477 | d_sockatmarkproto='define' | ||
478 | d_socket='define' | ||
479 | d_socklen_t='define' | ||
480 | d_sockpair='define' | ||
481 | d_socks5_init='undef' | ||
482 | d_sprintf_returns_strlen='define' | ||
483 | d_sqrtl='define' | ||
484 | d_srand48_r='define' | ||
485 | d_srandom_r='define' | ||
486 | d_sresgproto='define' | ||
487 | d_sresuproto='define' | ||
488 | d_statblks='define' | ||
489 | d_statfs_f_flags='undef' | ||
490 | d_statfs_s='define' | ||
491 | d_statvfs='define' | ||
492 | d_stdio_cnt_lval='undef' | ||
493 | d_stdio_ptr_lval='define' | ||
494 | d_stdio_ptr_lval_nochange_cnt='undef' | ||
495 | d_stdio_ptr_lval_sets_cnt='define' | ||
496 | d_stdio_stream_array='undef' | ||
497 | d_stdiobase='define' | ||
498 | d_stdstdio='define' | ||
499 | d_strchr='define' | ||
500 | d_strcoll='define' | ||
501 | d_strctcpy='define' | ||
502 | d_strerrm='strerror(e)' | ||
503 | d_strerror='define' | ||
504 | d_strerror_r='define' | ||
505 | d_strftime='define' | ||
506 | d_strlcat='undef' | ||
507 | d_strlcpy='undef' | ||
508 | d_strtod='define' | ||
509 | d_strtol='define' | ||
510 | d_strtold='define' | ||
511 | d_strtoll='define' | ||
512 | d_strtoq='define' | ||
513 | d_strtoul='define' | ||
514 | d_strtoull='define' | ||
515 | d_strtouq='define' | ||
516 | d_strxfrm='define' | ||
517 | d_suidsafe='undef' | ||
518 | d_symlink='define' | ||
519 | d_syscall='define' | ||
520 | d_syscallproto='define' | ||
521 | d_sysconf='define' | ||
522 | d_sysernlst='' | ||
523 | d_syserrlst='define' | ||
524 | d_system='define' | ||
525 | d_tcgetpgrp='define' | ||
526 | d_tcsetpgrp='define' | ||
527 | d_telldir='define' | ||
528 | d_telldirproto='define' | ||
529 | d_time='define' | ||
530 | d_timegm='define' | ||
531 | d_times='define' | ||
532 | d_tm_tm_gmtoff='define' | ||
533 | d_tm_tm_zone='define' | ||
534 | d_tmpnam_r='define' | ||
535 | d_truncate='define' | ||
536 | d_ttyname_r='define' | ||
537 | d_tzname='define' | ||
538 | d_ualarm='define' | ||
539 | d_umask='define' | ||
540 | d_uname='define' | ||
541 | d_union_semun='undef' | ||
542 | d_unordered='undef' | ||
543 | d_unsetenv='define' | ||
544 | d_usleep='define' | ||
545 | d_usleepproto='define' | ||
546 | d_ustat='define' | ||
547 | d_vendorarch='define' | ||
548 | d_vendorbin='define' | ||
549 | d_vendorlib='define' | ||
550 | d_vendorscript='define' | ||
551 | d_vfork='undef' | ||
552 | d_void_closedir='undef' | ||
553 | d_voidsig='define' | ||
554 | d_voidtty='' | ||
555 | d_volatile='define' | ||
556 | d_vprintf='define' | ||
557 | d_vsnprintf='define' | ||
558 | d_wait4='define' | ||
559 | d_waitpid='define' | ||
560 | d_wcstombs='define' | ||
561 | d_wctomb='define' | ||
562 | d_writev='define' | ||
563 | d_xenix='undef' | ||
564 | date='date' | ||
565 | db_hashtype='u_int32_t' | ||
566 | db_prefixtype='size_t' | ||
567 | db_version_major='' | ||
568 | db_version_minor='' | ||
569 | db_version_patch='' | ||
570 | defvoidused='15' | ||
571 | direntrytype='struct dirent' | ||
572 | dlext='so' | ||
573 | dlsrc='dl_dlopen.xs' | ||
574 | doublesize='8' | ||
575 | drand01='drand48()' | ||
576 | drand48_r_proto='REENTRANT_PROTO_I_ST' | ||
577 | dtrace='' | ||
578 | dynamic_ext='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared' | ||
579 | eagain='EAGAIN' | ||
580 | ebcdic='undef' | ||
581 | echo='echo' | ||
582 | egrep='egrep' | ||
583 | emacs='' | ||
584 | endgrent_r_proto='0' | ||
585 | endhostent_r_proto='0' | ||
586 | endnetent_r_proto='0' | ||
587 | endprotoent_r_proto='0' | ||
588 | endpwent_r_proto='0' | ||
589 | endservent_r_proto='0' | ||
590 | eunicefix=':' | ||
591 | exe_ext='' | ||
592 | expr='expr' | ||
593 | extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators' | ||
594 | extern_C='extern' | ||
595 | extras='' | ||
596 | fflushNULL='define' | ||
597 | fflushall='undef' | ||
598 | find='' | ||
599 | firstmakefile='makefile' | ||
600 | flex='' | ||
601 | fpossize='16' | ||
602 | fpostype='fpos_t' | ||
603 | freetype='void' | ||
604 | from=':' | ||
605 | full_ar='/usr/bin/ar' | ||
606 | full_csh='csh' | ||
607 | full_sed='/bin/sed' | ||
608 | gccansipedantic='' | ||
609 | gccosandvers='' | ||
610 | gccversion='4.5.1' | ||
611 | getgrent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
612 | getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
613 | getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
614 | gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE' | ||
615 | gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
616 | gethostent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
617 | getlogin_r_proto='REENTRANT_PROTO_I_BW' | ||
618 | getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE' | ||
619 | getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
620 | getnetent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
621 | getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
622 | getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR' | ||
623 | getprotoent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
624 | getpwent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
625 | getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
626 | getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
627 | getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' | ||
628 | getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' | ||
629 | getservent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
630 | getspnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
631 | gidsign='1' | ||
632 | gidsize='4' | ||
633 | gidtype='gid_t' | ||
634 | glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' | ||
635 | gmake='gmake' | ||
636 | gmtime_r_proto='REENTRANT_PROTO_S_TS' | ||
637 | gnulibc_version='2.12.1' | ||
638 | grep='grep' | ||
639 | groupcat='cat /etc/group' | ||
640 | groupstype='gid_t' | ||
641 | gzip='gzip' | ||
642 | h_fcntl='false' | ||
643 | h_sysfile='true' | ||
644 | hint='recommended' | ||
645 | hostcat='cat /etc/hosts' | ||
646 | html1dir=' ' | ||
647 | html1direxp='' | ||
648 | html3dir=' ' | ||
649 | html3direxp='' | ||
650 | i16size='2' | ||
651 | i16type='short' | ||
652 | i32size='4' | ||
653 | i64size='8' | ||
654 | i8size='1' | ||
655 | i8type='signed char' | ||
656 | i_arpainet='define' | ||
657 | i_assert='define' | ||
658 | i_bsdioctl='' | ||
659 | i_crypt='define' | ||
660 | i_db='undef' | ||
661 | i_dbm='undef' | ||
662 | i_dirent='define' | ||
663 | i_dld='undef' | ||
664 | i_dlfcn='define' | ||
665 | i_fcntl='undef' | ||
666 | i_float='define' | ||
667 | i_fp='undef' | ||
668 | i_fp_class='undef' | ||
669 | i_gdbm='undef' | ||
670 | i_gdbm_ndbm='undef' | ||
671 | i_gdbmndbm='undef' | ||
672 | i_grp='define' | ||
673 | i_ieeefp='undef' | ||
674 | i_inttypes='define' | ||
675 | i_langinfo='define' | ||
676 | i_libutil='undef' | ||
677 | i_limits='define' | ||
678 | i_locale='define' | ||
679 | i_machcthr='undef' | ||
680 | i_malloc='define' | ||
681 | i_mallocmalloc='undef' | ||
682 | i_math='define' | ||
683 | i_memory='undef' | ||
684 | i_mntent='define' | ||
685 | i_ndbm='undef' | ||
686 | i_netdb='define' | ||
687 | i_neterrno='undef' | ||
688 | i_netinettcp='define' | ||
689 | i_niin='define' | ||
690 | i_poll='define' | ||
691 | i_prot='undef' | ||
692 | i_pthread='define' | ||
693 | i_pwd='define' | ||
694 | i_rpcsvcdbm='undef' | ||
695 | i_sfio='undef' | ||
696 | i_sgtty='undef' | ||
697 | i_shadow='define' | ||
698 | i_socks='undef' | ||
699 | i_stdarg='define' | ||
700 | i_stddef='define' | ||
701 | i_stdlib='define' | ||
702 | i_string='define' | ||
703 | i_sunmath='undef' | ||
704 | i_sysaccess='undef' | ||
705 | i_sysdir='define' | ||
706 | i_sysfile='define' | ||
707 | i_sysfilio='undef' | ||
708 | i_sysin='undef' | ||
709 | i_sysioctl='define' | ||
710 | i_syslog='define' | ||
711 | i_sysmman='define' | ||
712 | i_sysmode='undef' | ||
713 | i_sysmount='define' | ||
714 | i_sysndir='undef' | ||
715 | i_sysparam='define' | ||
716 | i_syspoll='define' | ||
717 | i_sysresrc='define' | ||
718 | i_syssecrt='undef' | ||
719 | i_sysselct='define' | ||
720 | i_syssockio='undef' | ||
721 | i_sysstat='define' | ||
722 | i_sysstatfs='define' | ||
723 | i_sysstatvfs='define' | ||
724 | i_systime='define' | ||
725 | i_systimek='undef' | ||
726 | i_systimes='define' | ||
727 | i_systypes='define' | ||
728 | i_sysuio='define' | ||
729 | i_sysun='define' | ||
730 | i_sysutsname='define' | ||
731 | i_sysvfs='define' | ||
732 | i_syswait='define' | ||
733 | i_termio='undef' | ||
734 | i_termios='define' | ||
735 | i_time='define' | ||
736 | i_unistd='define' | ||
737 | i_ustat='define' | ||
738 | i_utime='define' | ||
739 | i_values='define' | ||
740 | i_varargs='undef' | ||
741 | i_varhdr='stdarg.h' | ||
742 | i_vfork='undef' | ||
743 | ignore_versioned_solibs='y' | ||
744 | inc_version_list=' ' | ||
745 | inc_version_list_init='0' | ||
746 | incpath='' | ||
747 | inews='' | ||
748 | initialinstalllocation='/usr/bin' | ||
749 | installarchlib='@DESTDIR@/lib/perl5/5.14.2/@ARCH@-thread-multi' | ||
750 | installbin='@DESTDIR@/bin' | ||
751 | installhtml1dir='' | ||
752 | installhtml3dir='' | ||
753 | installman1dir='' | ||
754 | installman3dir='' | ||
755 | installprefix='@DESTDIR@' | ||
756 | installprefixexp='@DESTDIR@' | ||
757 | installprivlib='@DESTDIR@/lib/perl5/5.14.2' | ||
758 | installscript='@DESTDIR@/bin' | ||
759 | installsitearch='@DESTDIR@/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi' | ||
760 | installsitebin='@DESTDIR@/bin' | ||
761 | installsitehtml1dir='' | ||
762 | installsitehtml3dir='' | ||
763 | installsitelib='@DESTDIR@/lib/perl5/site_perl/5.14.2' | ||
764 | installsiteman1dir='' | ||
765 | installsiteman3dir='' | ||
766 | installsitescript='@DESTDIR@/bin' | ||
767 | installstyle='lib/perl5' | ||
768 | installusrbinperl='define' | ||
769 | installvendorarch='@DESTDIR@/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi' | ||
770 | installvendorbin='@DESTDIR@/bin' | ||
771 | installvendorhtml1dir='' | ||
772 | installvendorhtml3dir='' | ||
773 | installvendorlib='@DESTDIR@/lib/perl5/vendor_perl/5.14.2' | ||
774 | installvendorman1dir='' | ||
775 | installvendorman3dir='' | ||
776 | installvendorscript='@DESTDIR@/bin' | ||
777 | intsize='4' | ||
778 | issymlink='test -h' | ||
779 | ivdformat='"ld"' | ||
780 | ivtype='long' | ||
781 | known_extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize VMS/DCLsym VMS/Stdio Win32 Win32API/File Win32CORE XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared ' | ||
782 | ksh='' | ||
783 | ld='gcc' | ||
784 | lddlflags='-shared -O2 -fstack-protector' | ||
785 | ldflags=' -fstack-protector' | ||
786 | ldflags_uselargefiles='' | ||
787 | ldlibpthname='LD_LIBRARY_PATH' | ||
788 | less='less' | ||
789 | lib_ext='.a' | ||
790 | libc='/lib/libc-2.12.1.so' | ||
791 | libperl='libperl.so' | ||
792 | libpth='/lib /usr/lib' | ||
793 | libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
794 | libsdirs=' /usr/lib' | ||
795 | libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
796 | libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so' | ||
797 | libspath=' /lib /usr/lib' | ||
798 | libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD gdbm_compat' | ||
799 | libswanted_uselargefiles='' | ||
800 | line='' | ||
801 | lint='' | ||
802 | lkflags='' | ||
803 | ln='ln' | ||
804 | lns='/bin/ln -s' | ||
805 | localtime_r_proto='REENTRANT_PROTO_S_TS' | ||
806 | locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' | ||
807 | loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' | ||
808 | longlongsize='8' | ||
809 | lp='' | ||
810 | lpr='' | ||
811 | ls='ls' | ||
812 | lseeksize='8' | ||
813 | lseektype='off_t' | ||
814 | mad='undef' | ||
815 | madlyh='' | ||
816 | madlyobj='' | ||
817 | madlysrc='' | ||
818 | mail='' | ||
819 | mailx='' | ||
820 | make='make' | ||
821 | make_set_make='#' | ||
822 | mallocobj='' | ||
823 | mallocsrc='' | ||
824 | malloctype='void *' | ||
825 | man1dir=' ' | ||
826 | man1direxp='' | ||
827 | man1ext='0' | ||
828 | man3dir=' ' | ||
829 | man3direxp='' | ||
830 | man3ext='0' | ||
831 | mips_type='' | ||
832 | mistrustnm='' | ||
833 | mkdir='mkdir' | ||
834 | mmaptype='void *' | ||
835 | modetype='mode_t' | ||
836 | more='more' | ||
837 | multiarch='undef' | ||
838 | mv='' | ||
839 | myarchname='@ARCH@' | ||
840 | mydomain='.localdomain' | ||
841 | myhostname='localhost' | ||
842 | n='-n' | ||
843 | netdb_hlen_type='size_t' | ||
844 | netdb_name_type='const char *' | ||
845 | netdb_net_type='in_addr_t' | ||
846 | nm='nm' | ||
847 | nm_opt='' | ||
848 | nm_so_opt='--dynamic' | ||
849 | nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators' | ||
850 | nroff='nroff' | ||
851 | nvEUformat='"E"' | ||
852 | nvFUformat='"F"' | ||
853 | nvGUformat='"G"' | ||
854 | nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0' | ||
855 | nveformat='"e"' | ||
856 | nvfformat='"f"' | ||
857 | nvgformat='"g"' | ||
858 | nvsize='8' | ||
859 | nvtype='double' | ||
860 | o_nonblock='O_NONBLOCK' | ||
861 | obj_ext='.o' | ||
862 | old_pthread_create_joinable='' | ||
863 | optimize='-O2' | ||
864 | orderlib='false' | ||
865 | osname='linux' | ||
866 | osvers='2.6.37-rc5-yocto-standard+' | ||
867 | otherlibdirs='/usr/lib/perl5/5.14.2' | ||
868 | package='perl5' | ||
869 | pager='/usr/bin/less -isr' | ||
870 | passcat='cat /etc/passwd' | ||
871 | patchlevel='14' | ||
872 | path_sep=':' | ||
873 | perl5='/usr/bin/perl' | ||
874 | perl='' | ||
875 | perl_patchlevel='' | ||
876 | perladmin='root@localhost' | ||
877 | perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
878 | perlpath='/usr/bin/perl' | ||
879 | pg='pg' | ||
880 | phostname='' | ||
881 | pidtype='pid_t' | ||
882 | plibpth='' | ||
883 | pmake='' | ||
884 | pr='' | ||
885 | prefix='/usr' | ||
886 | prefixexp='/usr' | ||
887 | privlib='/usr/lib/perl5/5.14.2' | ||
888 | privlibexp='/usr/lib/perl5/5.14.2' | ||
889 | procselfexe='"/proc/self/exe"' | ||
890 | prototype='define' | ||
891 | randbits='48' | ||
892 | randfunc='drand48' | ||
893 | random_r_proto='REENTRANT_PROTO_I_St' | ||
894 | randseedtype='long' | ||
895 | ranlib=':' | ||
896 | rd_nodata='-1' | ||
897 | readdir64_r_proto='REENTRANT_PROTO_I_TSR' | ||
898 | readdir_r_proto='REENTRANT_PROTO_I_TSR' | ||
899 | revision='5' | ||
900 | rm='rm' | ||
901 | rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*' | ||
902 | rmail='' | ||
903 | run='' | ||
904 | runnm='false' | ||
905 | sPRIEUldbl='"LE"' | ||
906 | sPRIFUldbl='"LF"' | ||
907 | sPRIGUldbl='"LG"' | ||
908 | sPRIeldbl='"Le"' | ||
909 | sPRIfldbl='"Lf"' | ||
910 | sPRIgldbl='"Lg"' | ||
911 | sSCNfldbl='"Lf"' | ||
912 | sched_yield='sched_yield()' | ||
913 | scriptdir='/usr/bin' | ||
914 | scriptdirexp='/usr/bin' | ||
915 | sed='sed' | ||
916 | seedfunc='srand48' | ||
917 | selecttype='fd_set *' | ||
918 | sendmail='' | ||
919 | setgrent_r_proto='0' | ||
920 | sethostent_r_proto='0' | ||
921 | setlocale_r_proto='0' | ||
922 | setnetent_r_proto='0' | ||
923 | setprotoent_r_proto='0' | ||
924 | setpwent_r_proto='0' | ||
925 | setservent_r_proto='0' | ||
926 | sh='/bin/sh' | ||
927 | shar='' | ||
928 | sharpbang='#!' | ||
929 | shmattype='void *' | ||
930 | shortsize='2' | ||
931 | shrpenv='' | ||
932 | shsharp='true' | ||
933 | sig_count='65' | ||
934 | sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED ' | ||
935 | sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0' | ||
936 | sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 ' | ||
937 | sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0' | ||
938 | sig_size='69' | ||
939 | signal_t='void' | ||
940 | sitearch='/usr/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi' | ||
941 | sitearchexp='/usr/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi' | ||
942 | sitebin='/usr/bin' | ||
943 | sitebinexp='/usr/bin' | ||
944 | sitehtml1dir='' | ||
945 | sitehtml1direxp='' | ||
946 | sitehtml3dir='' | ||
947 | sitehtml3direxp='' | ||
948 | sitelib='/usr/lib/perl5/site_perl/5.14.2' | ||
949 | sitelib_stem='/usr/lib/perl5/site_perl' | ||
950 | sitelibexp='/usr/lib/perl5/site_perl/5.14.2' | ||
951 | siteman1dir='' | ||
952 | siteman1direxp='' | ||
953 | siteman3dir='' | ||
954 | siteman3direxp='' | ||
955 | siteprefix='/usr' | ||
956 | siteprefixexp='/usr' | ||
957 | sitescript='/usr/bin' | ||
958 | sitescriptexp='/usr/bin' | ||
959 | sizetype='size_t' | ||
960 | sleep='' | ||
961 | smail='' | ||
962 | so='so' | ||
963 | sockethdr='' | ||
964 | socketlib='' | ||
965 | socksizetype='socklen_t' | ||
966 | sort='sort' | ||
967 | spackage='Perl5' | ||
968 | spitshell='cat' | ||
969 | srand48_r_proto='REENTRANT_PROTO_I_LS' | ||
970 | srandom_r_proto='REENTRANT_PROTO_I_TS' | ||
971 | src='.' | ||
972 | ssizetype='ssize_t' | ||
973 | startperl='#!/usr/bin/perl' | ||
974 | startsh='#!/bin/sh' | ||
975 | static_ext=' ' | ||
976 | stdchar='char' | ||
977 | stdio_base='((fp)->_IO_read_base)' | ||
978 | stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)' | ||
979 | stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)' | ||
980 | stdio_filbuf='' | ||
981 | stdio_ptr='((fp)->_IO_read_ptr)' | ||
982 | stdio_stream_array='' | ||
983 | strerror_r_proto='REENTRANT_PROTO_B_IBW' | ||
984 | strings='/usr/include/string.h' | ||
985 | submit='' | ||
986 | subversion='2' | ||
987 | sysman='/usr/share/man/man1' | ||
988 | tail='' | ||
989 | tar='' | ||
990 | targetarch='' | ||
991 | tbl='' | ||
992 | tee='' | ||
993 | test='test' | ||
994 | timeincl='/usr/include/sys/time.h /usr/include/time.h ' | ||
995 | timetype='time_t' | ||
996 | tmpnam_r_proto='REENTRANT_PROTO_B_B' | ||
997 | to=':' | ||
998 | touch='touch' | ||
999 | tr='tr' | ||
1000 | trnl='\n' | ||
1001 | troff='' | ||
1002 | ttyname_r_proto='REENTRANT_PROTO_I_IBW' | ||
1003 | u16size='2' | ||
1004 | u16type='unsigned short' | ||
1005 | u32size='4' | ||
1006 | u64size='8' | ||
1007 | u8size='1' | ||
1008 | u8type='unsigned char' | ||
1009 | uidsign='1' | ||
1010 | uidsize='4' | ||
1011 | uidtype='uid_t' | ||
1012 | uname='uname' | ||
1013 | uniq='uniq' | ||
1014 | use5005threads='undef' | ||
1015 | usecrosscompile='undef' | ||
1016 | usedevel='undef' | ||
1017 | usedl='define' | ||
1018 | usedtrace='undef' | ||
1019 | usefaststdio='undef' | ||
1020 | useithreads='define' | ||
1021 | uselargefiles='define' | ||
1022 | uselongdouble='undef' | ||
1023 | usemallocwrap='define' | ||
1024 | usemorebits='undef' | ||
1025 | usemultiplicity='define' | ||
1026 | usemymalloc='n' | ||
1027 | usenm='false' | ||
1028 | useopcode='true' | ||
1029 | useperlio='define' | ||
1030 | useposix='true' | ||
1031 | usereentrant='undef' | ||
1032 | userelocatableinc='undef' | ||
1033 | usesfio='false' | ||
1034 | useshrplib='true' | ||
1035 | usesitecustomize='undef' | ||
1036 | usesocks='undef' | ||
1037 | usethreads='define' | ||
1038 | usevendorprefix='define' | ||
1039 | usevfork='false' | ||
1040 | usrinc='/usr/include' | ||
1041 | uuname='' | ||
1042 | uvXUformat='"lX"' | ||
1043 | uvoformat='"lo"' | ||
1044 | uvtype='unsigned long' | ||
1045 | uvuformat='"lu"' | ||
1046 | uvxformat='"lx"' | ||
1047 | vaproto='define' | ||
1048 | vendorarch='/usr/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi' | ||
1049 | vendorarchexp='/usr/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi' | ||
1050 | vendorbin='/usr/bin' | ||
1051 | vendorbinexp='/usr/bin' | ||
1052 | vendorhtml1dir=' ' | ||
1053 | vendorhtml1direxp='' | ||
1054 | vendorhtml3dir=' ' | ||
1055 | vendorhtml3direxp='' | ||
1056 | vendorlib='/usr/lib/perl5/vendor_perl/5.14.2' | ||
1057 | vendorlib_stem='/usr/lib/perl5/vendor_perl' | ||
1058 | vendorlibexp='/usr/lib/perl5/vendor_perl/5.14.2' | ||
1059 | vendorman1dir=' ' | ||
1060 | vendorman1direxp='' | ||
1061 | vendorman3dir=' ' | ||
1062 | vendorman3direxp='' | ||
1063 | vendorprefix='/usr' | ||
1064 | vendorprefixexp='/usr' | ||
1065 | vendorscript='/usr/bin' | ||
1066 | vendorscriptexp='/usr/bin' | ||
1067 | version='5.14.2' | ||
1068 | version_patchlevel_string='version 14 subversion 2' | ||
1069 | versiononly='undef' | ||
1070 | vi='' | ||
1071 | voidflags='15' | ||
1072 | xlibpth='/usr/lib/386 /lib/386' | ||
1073 | yacc='yacc' | ||
1074 | yaccflags='' | ||
1075 | zcat='' | ||
1076 | zip='zip' | ||
1077 | PERL_REVISION=5 | ||
1078 | PERL_VERSION=14 | ||
1079 | PERL_SUBVERSION=2 | ||
1080 | PERL_API_REVISION=5 | ||
1081 | PERL_API_VERSION=14 | ||
1082 | PERL_API_SUBVERSION=0 | ||
1083 | PERL_PATCHLEVEL='' | ||
1084 | PERL_CONFIG_SH=true | ||
1085 | : Variables propagated from previous config.sh file. | ||
1086 | libdb_needs_pthread='N' | ||
1087 | |||
1088 | d_static_inline='define' | ||
1089 | d_sockaddr_sa_len='undef' | ||
1090 | d_sin6_scope_id='define' | ||
1091 | d_prctl='define' | ||
1092 | d_prctl_set_name='define' | ||
1093 | perl_static_inline='static __inline__' | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32 b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32 new file mode 100644 index 0000000000..7259a0c6ae --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32 | |||
@@ -0,0 +1,38 @@ | |||
1 | alignbytes='4' | ||
2 | cf_time='Thu Dec 23 03:57:51 UTC 2010' | ||
3 | cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cLL __INT64_MAX__=9223372036854775807LL __INT64_TYPE__=long\ long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cLL __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INTPTR_MAX__=2147483647 __INTPTR_TYPE__=int __INT_FAST16_MAX__=2147483647 __INT_FAST16_TYPE__=int __INT_FAST32_MAX__=2147483647 __INT_FAST32_TYPE__=int __INT_FAST64_MAX__=9223372036854775807LL __INT_FAST64_TYPE__=long\ long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807LL __INT_LEAST64_TYPE__=long\ long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=2147483647 __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=4294967295U __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cULL __UINT64_MAX__=18446744073709551615ULL __UINT64_TYPE__=long\ long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cULL __UINTMAX_MAX__=18446744073709551615ULL __UINTMAX_TYPE__=long\ long\ unsigned\ int __UINTPTR_MAX__=4294967295U __UINTPTR_TYPE__=unsigned\ int __UINT_FAST16_MAX__=4294967295U __UINT_FAST16_TYPE__=unsigned\ int __UINT_FAST32_MAX__=4294967295U __UINT_FAST32_TYPE__=unsigned\ int __UINT_FAST64_MAX__=18446744073709551615ULL __UINT_FAST64_TYPE__=long\ long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615ULL __UINT_LEAST64_TYPE__=long\ long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647L __WCHAR_MIN__=(-2147483647L\ -\ 1) __WCHAR_TYPE__=long\ int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __i586=1 __i586__=1 __linux=1 __linux__=1 __pentium=1 __pentium__=1 __tune_i586__=1 __tune_pentium__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1' | ||
4 | d_nv_preserves_uv='define' | ||
5 | d_printf_format_null='define' | ||
6 | d_u32align='undef' | ||
7 | gidformat='"lu"' | ||
8 | i32type='long' | ||
9 | i64type='long long' | ||
10 | ivsize='4' | ||
11 | longdblsize='12' | ||
12 | longsize='4' | ||
13 | myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux ' | ||
14 | need_va_copy='undef' | ||
15 | netdb_host_type='const void *' | ||
16 | nv_preserves_uv_bits='32' | ||
17 | ptrsize='4' | ||
18 | quadkind='3' | ||
19 | quadtype='long long' | ||
20 | sGMTIME_max='2147483647' | ||
21 | sGMTIME_min='-2147483648' | ||
22 | sLOCALTIME_max='2147483647' | ||
23 | sLOCALTIME_min='-2147483648' | ||
24 | sPRIXU64='"LX"' | ||
25 | sPRId64='"Ld"' | ||
26 | sPRIi64='"Li"' | ||
27 | sPRIo64='"Lo"' | ||
28 | sPRIu64='"Lu"' | ||
29 | sPRIx64='"Lx"' | ||
30 | selectminbits='32' | ||
31 | sizesize='4' | ||
32 | u32type='unsigned long' | ||
33 | u64type='unsigned long long' | ||
34 | uidformat='"lu"' | ||
35 | uquadtype='unsigned long long' | ||
36 | use64bitall='undef' | ||
37 | use64bitint='undef' | ||
38 | uvsize='4' | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be new file mode 100644 index 0000000000..a59a9abb5e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be | |||
@@ -0,0 +1 @@ | |||
byteorder='4321' | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le new file mode 100644 index 0000000000..10e4226567 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le | |||
@@ -0,0 +1 @@ | |||
byteorder='1234' | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64 b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64 new file mode 100644 index 0000000000..6929d3a09d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64 | |||
@@ -0,0 +1,38 @@ | |||
1 | alignbytes='8' | ||
2 | cf_time='Thu Dec 23 02:06:42 UTC 2010' | ||
3 | cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _LP64=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_DWARF2_CFI_ASM=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cL __INT64_MAX__=9223372036854775807L __INT64_TYPE__=long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cL __INTMAX_MAX__=9223372036854775807L __INTMAX_TYPE__=long\ int __INTPTR_MAX__=9223372036854775807L __INTPTR_TYPE__=long\ int __INT_FAST16_MAX__=9223372036854775807L __INT_FAST16_TYPE__=long\ int __INT_FAST32_MAX__=9223372036854775807L __INT_FAST32_TYPE__=long\ int __INT_FAST64_MAX__=9223372036854775807L __INT_FAST64_TYPE__=long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807L __INT_LEAST64_TYPE__=long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=9223372036854775807L __LP64__=1 __MMX__=1 __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=9223372036854775807L __PTRDIFF_TYPE__=long\ int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=16 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=8 __SIZEOF_POINTER__=8 __SIZEOF_PTRDIFF_T__=8 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=8 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=18446744073709551615UL __SIZE_TYPE__=long\ unsigned\ int __SSE2_MATH__=1 __SSE2__=1 __SSE_MATH__=1 __SSE__=1 __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cUL __UINT64_MAX__=18446744073709551615UL __UINT64_TYPE__=long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cUL __UINTMAX_MAX__=18446744073709551615UL __UINTMAX_TYPE__=long\ unsigned\ int __UINTPTR_MAX__=18446744073709551615UL __UINTPTR_TYPE__=long\ unsigned\ int __UINT_FAST16_MAX__=18446744073709551615UL __UINT_FAST16_TYPE__=long\ unsigned\ int __UINT_FAST32_MAX__=18446744073709551615UL __UINT_FAST32_TYPE__=long\ unsigned\ int __UINT_FAST64_MAX__=18446744073709551615UL __UINT_FAST64_TYPE__=long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615UL __UINT_LEAST64_TYPE__=long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647 __WCHAR_MIN__=(-2147483647\ -\ 1) __WCHAR_TYPE__=int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __amd64=1 __amd64__=1 __gnu_linux__=1 __k8=1 __k8__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 __x86_64=1 __x86_64__=1 linux=1 unix=1' | ||
4 | d_nv_preserves_uv='undef' | ||
5 | d_printf_format_null='undef' | ||
6 | d_u32align='define' | ||
7 | gidformat='"u"' | ||
8 | i32type='int' | ||
9 | i64type='long' | ||
10 | ivsize='8' | ||
11 | longdblsize='16' | ||
12 | longsize='8' | ||
13 | myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux ' | ||
14 | need_va_copy='define' | ||
15 | netdb_host_type='char *' | ||
16 | nv_preserves_uv_bits='53' | ||
17 | ptrsize='8' | ||
18 | quadkind='2' | ||
19 | quadtype='long' | ||
20 | sGMTIME_max='67768036191676799' | ||
21 | sGMTIME_min='-62167219200' | ||
22 | sLOCALTIME_max='67768036191676799' | ||
23 | sLOCALTIME_min='-62167219200' | ||
24 | sPRIXU64='"lX"' | ||
25 | sPRId64='"ld"' | ||
26 | sPRIi64='"li"' | ||
27 | sPRIo64='"lo"' | ||
28 | sPRIu64='"lu"' | ||
29 | sPRIx64='"lx"' | ||
30 | selectminbits='64' | ||
31 | sizesize='8' | ||
32 | u32type='unsigned int' | ||
33 | u64type='unsigned long' | ||
34 | uidformat='"u"' | ||
35 | uquadtype='unsigned long' | ||
36 | use64bitall='define' | ||
37 | use64bitint='define' | ||
38 | uvsize='8' | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be new file mode 100644 index 0000000000..c08ce3c431 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be | |||
@@ -0,0 +1 @@ | |||
byteorder='87654321' | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le new file mode 100644 index 0000000000..277d2a9bee --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le | |||
@@ -0,0 +1 @@ | |||
byteorder='12345678' | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch b/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch new file mode 100644 index 0000000000..a00ad61d90 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.14.2/Makefile.SH | ||
4 | =================================================================== | ||
5 | --- perl-5.14.2.orig/Makefile.SH | ||
6 | +++ perl-5.14.2/Makefile.SH | ||
7 | @@ -622,7 +622,7 @@ bitcount.h: generate_uudmap$(HOST_EXE_EX | ||
8 | $(RUN) ./generate_uudmap$(HOST_EXE_EXT) uudmap.h bitcount.h | ||
9 | |||
10 | generate_uudmap$(HOST_EXE_EXT): generate_uudmap$(OBJ_EXT) | ||
11 | - $(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) $(libs) | ||
12 | + $(BUILD_CC) -o generate_uudmap$(EXE_EXT) generate_uudmap.c | ||
13 | |||
14 | miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h | ||
15 | $(CCCMD) $(PLDLFLAGS) $*.c | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff new file mode 100644 index 0000000000..1d80e954f6 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff | |||
@@ -0,0 +1,26 @@ | |||
1 | From f624a9f1206cdd44fde99c40d82e2f326db485dd Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Sat, 1 Nov 2008 15:10:16 +0200 | ||
4 | Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate | ||
5 | slower build hosts | ||
6 | |||
7 | Bug-Debian: http://bugs.debian.org/501970 | ||
8 | |||
9 | Patch-Name: debian/arm_thread_stress_timeout.diff | ||
10 | --- | ||
11 | dist/threads-shared/t/stress.t | 2 +- | ||
12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
13 | |||
14 | diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t | ||
15 | index adfd1ed..652a3e6 100644 | ||
16 | --- a/dist/threads-shared/t/stress.t | ||
17 | +++ b/dist/threads-shared/t/stress.t | ||
18 | @@ -34,7 +34,7 @@ use threads::shared; | ||
19 | { | ||
20 | my $cnt = 50; | ||
21 | |||
22 | - my $TIMEOUT = 60; | ||
23 | + my $TIMEOUT = 150; | ||
24 | |||
25 | my $mutex = 1; | ||
26 | share($mutex); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff new file mode 100644 index 0000000000..9fa937819e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff | |||
@@ -0,0 +1,37 @@ | |||
1 | From 4b63b9a433661cd13cfb1448dbfb90c5f53a53be Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Provide a sensible INSTALLDIRS default for modules installed from | ||
5 | CPAN. | ||
6 | |||
7 | Some modules which are included in core set INSTALLDIRS => 'perl' | ||
8 | explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC | ||
9 | ordering, but not ours. | ||
10 | |||
11 | Patch-Name: debian/cpan_definstalldirs.diff | ||
12 | --- | ||
13 | cpan/CPAN/lib/CPAN/FirstTime.pm | 4 ++-- | ||
14 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/cpan/CPAN/lib/CPAN/FirstTime.pm b/cpan/CPAN/lib/CPAN/FirstTime.pm | ||
17 | index 667bdca..c38c890 100644 | ||
18 | --- a/cpan/CPAN/lib/CPAN/FirstTime.pm | ||
19 | +++ b/cpan/CPAN/lib/CPAN/FirstTime.pm | ||
20 | @@ -990,7 +990,7 @@ sub init { | ||
21 | my_prompt_loop(prefer_installer => 'MB', $matcher, 'MB|EUMM|RAND'); | ||
22 | |||
23 | if (!$matcher or 'makepl_arg make_arg' =~ /$matcher/) { | ||
24 | - my_dflt_prompt(makepl_arg => "", $matcher); | ||
25 | + my_dflt_prompt(makepl_arg => "INSTALLDIRS=site", $matcher); | ||
26 | my_dflt_prompt(make_arg => "", $matcher); | ||
27 | if ( $CPAN::Config->{makepl_arg} =~ /LIBS=|INC=/ ) { | ||
28 | $CPAN::Frontend->mywarn( | ||
29 | @@ -1022,7 +1022,7 @@ sub init { | ||
30 | my_dflt_prompt(make_install_arg => $CPAN::Config->{make_arg} || "", | ||
31 | $matcher); | ||
32 | |||
33 | - my_dflt_prompt(mbuildpl_arg => "", $matcher); | ||
34 | + my_dflt_prompt(mbuildpl_arg => "--installdirs site", $matcher); | ||
35 | my_dflt_prompt(mbuild_arg => "", $matcher); | ||
36 | |||
37 | if (exists $CPAN::HandleConfig::keys{mbuild_install_build_command} | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff new file mode 100644 index 0000000000..e3e5ec9d52 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff | |||
@@ -0,0 +1,44 @@ | |||
1 | From 9825086b15f34f365a272cc8d6caf4e2044bede6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Mon, 6 Jul 2009 22:17:53 +0300 | ||
4 | Subject: Save local versions of CPANPLUS::Config::System into /etc/perl. | ||
5 | |||
6 | This is a configuration file and needs to go in /etc by policy. | ||
7 | Besides, /usr may not even be writable. | ||
8 | |||
9 | This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path. | ||
10 | |||
11 | See #533707. | ||
12 | |||
13 | Patch-Name: debian/cpanplus_config_path.diff | ||
14 | --- | ||
15 | cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | 1 + | ||
16 | cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | 3 +++ | ||
17 | 2 files changed, 4 insertions(+), 0 deletions(-) | ||
18 | |||
19 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | ||
20 | index ba1ca07..25cbe5f 100644 | ||
21 | --- a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | ||
22 | +++ b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | ||
23 | @@ -280,6 +280,7 @@ Saves the configuration to the package name you provided. | ||
24 | If this package is not C<CPANPLUS::Config::System>, it will | ||
25 | be saved in your C<.cpanplus> directory, otherwise it will | ||
26 | be attempted to be saved in the system wide directory. | ||
27 | +(On Debian systems, this system wide directory is /etc/perl.) | ||
28 | |||
29 | If no argument is provided, it will default to your personal | ||
30 | config. | ||
31 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | ||
32 | index 443d5a4..f7085a8 100644 | ||
33 | --- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | ||
34 | +++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | ||
35 | @@ -209,6 +209,9 @@ use constant CONFIG_USER_FILE => sub { | ||
36 | ) . '.pm'; | ||
37 | }; | ||
38 | use constant CONFIG_SYSTEM_FILE => sub { | ||
39 | + # Debian-specific shortcut | ||
40 | + return '/etc/perl/CPANPLUS/Config/System.pm'; | ||
41 | + | ||
42 | require CPANPLUS::Internals; | ||
43 | require File::Basename; | ||
44 | my $dir = File::Basename::dirname( | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff new file mode 100644 index 0000000000..6d05c34fbb --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff | |||
@@ -0,0 +1,55 @@ | |||
1 | From 66517b14790aa6410fd37e411dd62521e1e02b7f Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Mon, 6 Jul 2009 21:58:41 +0300 | ||
4 | Subject: Configure CPANPLUS to use the site directories by default. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/533707 | ||
7 | |||
8 | The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker) | ||
9 | or installdirs=core (Module::Build), so we need to explicitly ask for | ||
10 | the site destination to get upgraded versions into /usr/local. | ||
11 | |||
12 | See also the sister patch, debian/cpan_definstalldirs . | ||
13 | |||
14 | Patch-Name: debian/cpanplus_definstalldirs.diff | ||
15 | --- | ||
16 | cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | 30 +++++++++++++++++++++++++++ | ||
17 | 1 files changed, 30 insertions(+), 0 deletions(-) | ||
18 | create mode 100644 cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | ||
19 | |||
20 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | ||
21 | new file mode 100644 | ||
22 | index 0000000..5e6e11e | ||
23 | --- /dev/null | ||
24 | +++ b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | ||
25 | @@ -0,0 +1,30 @@ | ||
26 | +### minimal pod, so you can find it with perldoc -l, etc | ||
27 | +=pod | ||
28 | + | ||
29 | +=head1 NAME | ||
30 | + | ||
31 | +CPANPLUS::Config::System | ||
32 | + | ||
33 | +=head1 DESCRIPTION | ||
34 | + | ||
35 | +This is a CPANPLUS configuration file that sets appropriate default | ||
36 | +settings on Debian systems. | ||
37 | + | ||
38 | +The only preconfigured settings are C<makemakerflags> (set to | ||
39 | +C<INSTALLDIRS=site>) and C<buildflags> (set to C<--installdirs site>). | ||
40 | + | ||
41 | +These settings will not have any effect if | ||
42 | +C</etc/perl/CPANPLUS/Config/System.pm> is present. | ||
43 | + | ||
44 | +=cut | ||
45 | + | ||
46 | + | ||
47 | +package CPANPLUS::Config::System; | ||
48 | + | ||
49 | +sub setup { | ||
50 | + my $conf = shift; | ||
51 | + $conf->set_conf( makemakerflags => 'INSTALLDIRS=site' ); | ||
52 | + $conf->set_conf( buildflags => '--installdirs site' ); | ||
53 | +} | ||
54 | + | ||
55 | +1; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff new file mode 100644 index 0000000000..ff07ec567d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff | |||
@@ -0,0 +1,34 @@ | |||
1 | From 0d1acf7af6da3a3f933faba8459ad9ff03fe3e5b Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 16 Dec 2005 01:32:14 +1100 | ||
4 | Subject: Remove overly restrictive DB_File version check. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/340047 | ||
7 | |||
8 | Package dependencies ensure the correct library is linked at run-time. | ||
9 | |||
10 | Patch-Name: debian/db_file_ver.diff | ||
11 | --- | ||
12 | cpan/DB_File/version.c | 2 ++ | ||
13 | 1 files changed, 2 insertions(+), 0 deletions(-) | ||
14 | |||
15 | diff --git a/cpan/DB_File/version.c b/cpan/DB_File/version.c | ||
16 | index e01f6f6..544e6ee 100644 | ||
17 | --- a/cpan/DB_File/version.c | ||
18 | +++ b/cpan/DB_File/version.c | ||
19 | @@ -48,6 +48,7 @@ __getBerkeleyDBInfo() | ||
20 | |||
21 | (void)db_version(&Major, &Minor, &Patch) ; | ||
22 | |||
23 | +#ifndef DEBIAN | ||
24 | /* Check that the versions of db.h and libdb.a are the same */ | ||
25 | if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR ) | ||
26 | /* || Patch != DB_VERSION_PATCH) */ | ||
27 | @@ -55,6 +56,7 @@ __getBerkeleyDBInfo() | ||
28 | croak("\nDB_File was build with libdb version %d.%d.%d,\nbut you are attempting to run it with libdb version %d.%d.%d\n", | ||
29 | DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH, | ||
30 | Major, Minor, Patch) ; | ||
31 | +#endif /* DEBIAN */ | ||
32 | |||
33 | /* check that libdb is recent enough -- we need 2.3.4 or greater */ | ||
34 | if (Major == 2 && (Minor < 3 || (Minor == 3 && Patch < 4))) | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff new file mode 100644 index 0000000000..65a132db36 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff | |||
@@ -0,0 +1,406 @@ | |||
1 | From c2bd2059cfbba573643c748ace4ff4db4cbf015d Mon Sep 17 00:00:00 2001 | ||
2 | From: Dominic Hargreaves <dom@earth.li> | ||
3 | Date: Mon, 17 May 2010 13:23:07 +0300 | ||
4 | Subject: Point users to Debian packages of deprecated core modules | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/580034 | ||
7 | |||
8 | Class::ISA, Switch, Pod::Plainer, and (partially) Shell were | ||
9 | deprecated from the Perl core in 5.12.0. | ||
10 | |||
11 | Class::ISA, Switch, Pod::Plainer were removed from the Perl core in | ||
12 | 5.14.0. | ||
13 | |||
14 | Shell and Devel::DProf, and Perl 4 libraries, were deprecated from the | ||
15 | Perl core in 5.14.0. | ||
16 | |||
17 | To get a clean transition, perl/perl-modules is going to recommend the | ||
18 | separate Debian packages of these for one release cycle so that they will be | ||
19 | pulled in by default on upgrades. | ||
20 | |||
21 | However, on systems configured to ignore recommendations the deprecation | ||
22 | warnings will still be useful, so modify them slightly to point to the | ||
23 | separate packages instead. | ||
24 | |||
25 | Patch-Name: debian/deprecate-with-apt.diff | ||
26 | --- | ||
27 | lib/abbrev.pl | 2 +- | ||
28 | lib/assert.pl | 2 +- | ||
29 | lib/bigfloat.pl | 2 +- | ||
30 | lib/bigint.pl | 2 +- | ||
31 | lib/bigrat.pl | 2 +- | ||
32 | lib/cacheout.pl | 2 +- | ||
33 | lib/complete.pl | 2 +- | ||
34 | lib/ctime.pl | 2 +- | ||
35 | lib/deprecate.pm | 16 +++++++++++++++- | ||
36 | lib/dotsh.pl | 2 +- | ||
37 | lib/exceptions.pl | 2 +- | ||
38 | lib/fastcwd.pl | 2 +- | ||
39 | lib/find.pl | 2 +- | ||
40 | lib/finddepth.pl | 2 +- | ||
41 | lib/flush.pl | 2 +- | ||
42 | lib/getcwd.pl | 2 +- | ||
43 | lib/getopt.pl | 2 +- | ||
44 | lib/getopts.pl | 2 +- | ||
45 | lib/hostname.pl | 2 +- | ||
46 | lib/importenv.pl | 2 +- | ||
47 | lib/look.pl | 2 +- | ||
48 | lib/newgetopt.pl | 2 +- | ||
49 | lib/open2.pl | 2 +- | ||
50 | lib/open3.pl | 2 +- | ||
51 | lib/pwd.pl | 2 +- | ||
52 | lib/shellwords.pl | 2 +- | ||
53 | lib/stat.pl | 2 +- | ||
54 | lib/syslog.pl | 2 +- | ||
55 | lib/tainted.pl | 2 +- | ||
56 | lib/termcap.pl | 2 +- | ||
57 | lib/timelocal.pl | 2 +- | ||
58 | lib/validate.pl | 2 +- | ||
59 | 32 files changed, 46 insertions(+), 32 deletions(-) | ||
60 | |||
61 | diff --git a/lib/abbrev.pl b/lib/abbrev.pl | ||
62 | index d46321f..0168631 100644 | ||
63 | --- a/lib/abbrev.pl | ||
64 | +++ b/lib/abbrev.pl | ||
65 | @@ -1,4 +1,4 @@ | ||
66 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
67 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
68 | |||
69 | ;# Usage: | ||
70 | ;# %foo = (); | ||
71 | diff --git a/lib/assert.pl b/lib/assert.pl | ||
72 | index d47e006..80593c5 100644 | ||
73 | --- a/lib/assert.pl | ||
74 | +++ b/lib/assert.pl | ||
75 | @@ -1,4 +1,4 @@ | ||
76 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
77 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
78 | |||
79 | # | ||
80 | # This library is no longer being maintained, and is included for backward | ||
81 | diff --git a/lib/bigfloat.pl b/lib/bigfloat.pl | ||
82 | index 82d0f5c..c21bac6 100644 | ||
83 | --- a/lib/bigfloat.pl | ||
84 | +++ b/lib/bigfloat.pl | ||
85 | @@ -1,4 +1,4 @@ | ||
86 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
87 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
88 | |||
89 | package bigfloat; | ||
90 | require "bigint.pl"; | ||
91 | diff --git a/lib/bigint.pl b/lib/bigint.pl | ||
92 | index 6de1c53..031e8ad 100644 | ||
93 | --- a/lib/bigint.pl | ||
94 | +++ b/lib/bigint.pl | ||
95 | @@ -1,4 +1,4 @@ | ||
96 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
97 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
98 | |||
99 | package bigint; | ||
100 | # | ||
101 | diff --git a/lib/bigrat.pl b/lib/bigrat.pl | ||
102 | index aaf1713..146a8f4 100644 | ||
103 | --- a/lib/bigrat.pl | ||
104 | +++ b/lib/bigrat.pl | ||
105 | @@ -1,4 +1,4 @@ | ||
106 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
107 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
108 | |||
109 | package bigrat; | ||
110 | require "bigint.pl"; | ||
111 | diff --git a/lib/cacheout.pl b/lib/cacheout.pl | ||
112 | index a5da453..937405d 100644 | ||
113 | --- a/lib/cacheout.pl | ||
114 | +++ b/lib/cacheout.pl | ||
115 | @@ -1,4 +1,4 @@ | ||
116 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
117 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
118 | |||
119 | # | ||
120 | # This library is no longer being maintained, and is included for backward | ||
121 | diff --git a/lib/complete.pl b/lib/complete.pl | ||
122 | index 9ed041c..2ab0c6a 100644 | ||
123 | --- a/lib/complete.pl | ||
124 | +++ b/lib/complete.pl | ||
125 | @@ -1,4 +1,4 @@ | ||
126 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
127 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
128 | |||
129 | ;# | ||
130 | # | ||
131 | diff --git a/lib/ctime.pl b/lib/ctime.pl | ||
132 | index aa00d00..ac24e71 100644 | ||
133 | --- a/lib/ctime.pl | ||
134 | +++ b/lib/ctime.pl | ||
135 | @@ -1,4 +1,4 @@ | ||
136 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
137 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
138 | |||
139 | ;# ctime.pl is a simple Perl emulation for the well known ctime(3C) function. | ||
140 | # | ||
141 | diff --git a/lib/deprecate.pm b/lib/deprecate.pm | ||
142 | index 7562c69..fc548b0 100644 | ||
143 | --- a/lib/deprecate.pm | ||
144 | +++ b/lib/deprecate.pm | ||
145 | @@ -7,6 +7,14 @@ our $VERSION = 0.02; | ||
146 | our %Config; | ||
147 | unless (%Config) { require Config; *Config = \%Config::Config; } | ||
148 | |||
149 | +# Debian-specific change: recommend the separate Debian packages of | ||
150 | +# deprecated modules where available | ||
151 | + | ||
152 | +my %DEBIAN_PACKAGES = ( | ||
153 | + "Shell" => "libshell-perl", | ||
154 | + "Devel::DProf" => "libdevel-dprof-perl" | ||
155 | +); | ||
156 | + | ||
157 | # This isn't a public API. It's internal to code maintained by the perl-porters | ||
158 | # If you would like it to be a public API, please send a patch with | ||
159 | # documentation and tests. Until then, it may change without warning. | ||
160 | @@ -58,9 +66,15 @@ EOM | ||
161 | if (defined $callers_bitmask | ||
162 | && (vec($callers_bitmask, $warnings::Offsets{deprecated}, 1) | ||
163 | || vec($callers_bitmask, $warnings::Offsets{all}, 1))) { | ||
164 | - warn <<"EOM"; | ||
165 | + if (my $deb = $DEBIAN_PACKAGES{$package}) { | ||
166 | + warn <<"EOM"; | ||
167 | +$package will be removed from the Perl core distribution in the next major release. Please install the separate $deb package. It is being used at $call_file, line $call_line. | ||
168 | +EOM | ||
169 | + } else { | ||
170 | + warn <<"EOM"; | ||
171 | $package will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at $call_file, line $call_line. | ||
172 | EOM | ||
173 | + } | ||
174 | } | ||
175 | } | ||
176 | } | ||
177 | diff --git a/lib/dotsh.pl b/lib/dotsh.pl | ||
178 | index 92f1f4c..4085122 100644 | ||
179 | --- a/lib/dotsh.pl | ||
180 | +++ b/lib/dotsh.pl | ||
181 | @@ -1,4 +1,4 @@ | ||
182 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
183 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
184 | |||
185 | # | ||
186 | # @(#)dotsh.pl 03/19/94 | ||
187 | diff --git a/lib/exceptions.pl b/lib/exceptions.pl | ||
188 | index 8af64c8..b5b1427 100644 | ||
189 | --- a/lib/exceptions.pl | ||
190 | +++ b/lib/exceptions.pl | ||
191 | @@ -1,4 +1,4 @@ | ||
192 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
193 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
194 | |||
195 | # exceptions.pl | ||
196 | # tchrist@convex.com | ||
197 | diff --git a/lib/fastcwd.pl b/lib/fastcwd.pl | ||
198 | index 70007a1..2c7c42e 100644 | ||
199 | --- a/lib/fastcwd.pl | ||
200 | +++ b/lib/fastcwd.pl | ||
201 | @@ -1,4 +1,4 @@ | ||
202 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
203 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
204 | |||
205 | # By John Bazik | ||
206 | # | ||
207 | diff --git a/lib/find.pl b/lib/find.pl | ||
208 | index 8e1b42c..7fb2fbf 100644 | ||
209 | --- a/lib/find.pl | ||
210 | +++ b/lib/find.pl | ||
211 | @@ -1,4 +1,4 @@ | ||
212 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
213 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
214 | |||
215 | # This library is deprecated and unmaintained. It is included for | ||
216 | # compatibility with Perl 4 scripts which may use it, but it will be | ||
217 | diff --git a/lib/finddepth.pl b/lib/finddepth.pl | ||
218 | index 479905f..c07cea5 100644 | ||
219 | --- a/lib/finddepth.pl | ||
220 | +++ b/lib/finddepth.pl | ||
221 | @@ -1,4 +1,4 @@ | ||
222 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
223 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
224 | |||
225 | # This library is deprecated and unmaintained. It is included for | ||
226 | # compatibility with Perl 4 scripts which may use it, but it will be | ||
227 | diff --git a/lib/flush.pl b/lib/flush.pl | ||
228 | index c427976..e5ed0ae 100644 | ||
229 | --- a/lib/flush.pl | ||
230 | +++ b/lib/flush.pl | ||
231 | @@ -1,4 +1,4 @@ | ||
232 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
233 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
234 | |||
235 | # | ||
236 | # This library is no longer being maintained, and is included for backward | ||
237 | diff --git a/lib/getcwd.pl b/lib/getcwd.pl | ||
238 | index 77b2442..3810a99 100644 | ||
239 | --- a/lib/getcwd.pl | ||
240 | +++ b/lib/getcwd.pl | ||
241 | @@ -1,4 +1,4 @@ | ||
242 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
243 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
244 | |||
245 | # By Brandon S. Allbery | ||
246 | # | ||
247 | diff --git a/lib/getopt.pl b/lib/getopt.pl | ||
248 | index 1d4008a..019a165 100644 | ||
249 | --- a/lib/getopt.pl | ||
250 | +++ b/lib/getopt.pl | ||
251 | @@ -1,4 +1,4 @@ | ||
252 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
253 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
254 | |||
255 | ;# $RCSfile: getopt.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:23:58 $ | ||
256 | # | ||
257 | diff --git a/lib/getopts.pl b/lib/getopts.pl | ||
258 | index 37ecb4a..3d27418 100644 | ||
259 | --- a/lib/getopts.pl | ||
260 | +++ b/lib/getopts.pl | ||
261 | @@ -1,4 +1,4 @@ | ||
262 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
263 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
264 | |||
265 | ;# getopts.pl - a better getopt.pl | ||
266 | # | ||
267 | diff --git a/lib/hostname.pl b/lib/hostname.pl | ||
268 | index f57375e..b055d30 100644 | ||
269 | --- a/lib/hostname.pl | ||
270 | +++ b/lib/hostname.pl | ||
271 | @@ -1,4 +1,4 @@ | ||
272 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
273 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
274 | |||
275 | # From: asherman@fmrco.com (Aaron Sherman) | ||
276 | # | ||
277 | diff --git a/lib/importenv.pl b/lib/importenv.pl | ||
278 | index 625edf6..52ee722 100644 | ||
279 | --- a/lib/importenv.pl | ||
280 | +++ b/lib/importenv.pl | ||
281 | @@ -1,4 +1,4 @@ | ||
282 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
283 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
284 | |||
285 | # This library is no longer being maintained, and is included for backward | ||
286 | # compatibility with Perl 4 programs which may require it. | ||
287 | diff --git a/lib/look.pl b/lib/look.pl | ||
288 | index 7be55b2..12dcace 100644 | ||
289 | --- a/lib/look.pl | ||
290 | +++ b/lib/look.pl | ||
291 | @@ -1,4 +1,4 @@ | ||
292 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
293 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
294 | |||
295 | ;# Usage: &look(*FILEHANDLE,$key,$dict,$fold) | ||
296 | # | ||
297 | diff --git a/lib/newgetopt.pl b/lib/newgetopt.pl | ||
298 | index 4ac9470..08df6cb 100644 | ||
299 | --- a/lib/newgetopt.pl | ||
300 | +++ b/lib/newgetopt.pl | ||
301 | @@ -1,4 +1,4 @@ | ||
302 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
303 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
304 | |||
305 | # This library is no longer being maintained, and is included for backward | ||
306 | # compatibility with Perl 4 programs which may require it. | ||
307 | diff --git a/lib/open2.pl b/lib/open2.pl | ||
308 | index ceb5653..a05f2ab 100644 | ||
309 | --- a/lib/open2.pl | ||
310 | +++ b/lib/open2.pl | ||
311 | @@ -1,4 +1,4 @@ | ||
312 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
313 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
314 | |||
315 | # This legacy library is deprecated and will be removed in a future | ||
316 | # release of perl. | ||
317 | diff --git a/lib/open3.pl b/lib/open3.pl | ||
318 | index 9f4d5a4..27f7ab4 100644 | ||
319 | --- a/lib/open3.pl | ||
320 | +++ b/lib/open3.pl | ||
321 | @@ -1,4 +1,4 @@ | ||
322 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
323 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
324 | |||
325 | # This legacy library is deprecated and will be removed in a future | ||
326 | # release of perl. | ||
327 | diff --git a/lib/pwd.pl b/lib/pwd.pl | ||
328 | index bd8123b..bdace6e 100644 | ||
329 | --- a/lib/pwd.pl | ||
330 | +++ b/lib/pwd.pl | ||
331 | @@ -1,4 +1,4 @@ | ||
332 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
333 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
334 | |||
335 | ;# pwd.pl - keeps track of current working directory in PWD environment var | ||
336 | ;# | ||
337 | diff --git a/lib/shellwords.pl b/lib/shellwords.pl | ||
338 | index b562f5f..7f16375 100644 | ||
339 | --- a/lib/shellwords.pl | ||
340 | +++ b/lib/shellwords.pl | ||
341 | @@ -1,4 +1,4 @@ | ||
342 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
343 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
344 | |||
345 | ;# This legacy library is deprecated and will be removed in a future | ||
346 | ;# release of perl. | ||
347 | diff --git a/lib/stat.pl b/lib/stat.pl | ||
348 | index feda273..910ce1c 100644 | ||
349 | --- a/lib/stat.pl | ||
350 | +++ b/lib/stat.pl | ||
351 | @@ -1,4 +1,4 @@ | ||
352 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
353 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
354 | |||
355 | ;# This legacy library is deprecated and will be removed in a future | ||
356 | ;# release of perl. | ||
357 | diff --git a/lib/syslog.pl b/lib/syslog.pl | ||
358 | index 7504a5d..4c2b95f 100644 | ||
359 | --- a/lib/syslog.pl | ||
360 | +++ b/lib/syslog.pl | ||
361 | @@ -1,4 +1,4 @@ | ||
362 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
363 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
364 | |||
365 | # | ||
366 | # syslog.pl | ||
367 | diff --git a/lib/tainted.pl b/lib/tainted.pl | ||
368 | index e88bca1..d58c765 100644 | ||
369 | --- a/lib/tainted.pl | ||
370 | +++ b/lib/tainted.pl | ||
371 | @@ -1,4 +1,4 @@ | ||
372 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
373 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
374 | |||
375 | # This legacy library is deprecated and will be removed in a future | ||
376 | # release of perl. | ||
377 | diff --git a/lib/termcap.pl b/lib/termcap.pl | ||
378 | index a84cba3..e641f4d 100644 | ||
379 | --- a/lib/termcap.pl | ||
380 | +++ b/lib/termcap.pl | ||
381 | @@ -1,4 +1,4 @@ | ||
382 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
383 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
384 | |||
385 | ;# $RCSfile: termcap.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:16 $ | ||
386 | # | ||
387 | diff --git a/lib/timelocal.pl b/lib/timelocal.pl | ||
388 | index fefb9da..2297888 100644 | ||
389 | --- a/lib/timelocal.pl | ||
390 | +++ b/lib/timelocal.pl | ||
391 | @@ -1,4 +1,4 @@ | ||
392 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
393 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
394 | |||
395 | ;# timelocal.pl | ||
396 | ;# | ||
397 | diff --git a/lib/validate.pl b/lib/validate.pl | ||
398 | index fc2d16a..1a8aef4 100644 | ||
399 | --- a/lib/validate.pl | ||
400 | +++ b/lib/validate.pl | ||
401 | @@ -1,4 +1,4 @@ | ||
402 | -warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
403 | +warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n"; | ||
404 | |||
405 | ;# The validate routine takes a single multiline string consisting of | ||
406 | ;# lines containing a filename plus a file test to try on it. (The | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff new file mode 100644 index 0000000000..80c0acb39d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff | |||
@@ -0,0 +1,30 @@ | |||
1 | From 90c7967530102c66bbff25d89273d3f0bf189a83 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Fri, 10 Apr 2009 01:17:43 +0300 | ||
4 | Subject: Disable zlib bundling in Compress::Raw::Zlib | ||
5 | |||
6 | Compress::Raw::Zlib statically links its bundled version of zlib | ||
7 | by default, but we use the system library instead. | ||
8 | |||
9 | Patch-Name: debian/disable-zlib-bundling.diff | ||
10 | --- | ||
11 | cpan/Compress-Raw-Zlib/config.in | 6 +++--- | ||
12 | 1 files changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in | ||
15 | index c56cc03..2c6659b 100644 | ||
16 | --- a/cpan/Compress-Raw-Zlib/config.in | ||
17 | +++ b/cpan/Compress-Raw-Zlib/config.in | ||
18 | @@ -16,9 +16,9 @@ | ||
19 | # Setting the Gzip OS Code | ||
20 | # | ||
21 | |||
22 | -BUILD_ZLIB = True | ||
23 | -INCLUDE = ./zlib-src | ||
24 | -LIB = ./zlib-src | ||
25 | +BUILD_ZLIB = False | ||
26 | +INCLUDE = /usr/include | ||
27 | +LIB = /usr/lib | ||
28 | |||
29 | OLD_ZLIB = False | ||
30 | GZIP_OS_CODE = AUTO_DETECT | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff new file mode 100644 index 0000000000..a118da341c --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff | |||
@@ -0,0 +1,36 @@ | |||
1 | From 16ebe1f5232621d8894aa6c6210fdf2fc9b54a84 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
4 | Subject: Replace generic man(1) instructions with Debian-specific | ||
5 | information. | ||
6 | |||
7 | Indicate that the user needs to install the perl-doc package. | ||
8 | |||
9 | Patch-Name: debian/doc_info.diff | ||
10 | --- | ||
11 | pod/perl.pod | 12 ++++++++++-- | ||
12 | 1 files changed, 10 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/pod/perl.pod b/pod/perl.pod | ||
15 | index 29cabf1..529ad6f 100644 | ||
16 | --- a/pod/perl.pod | ||
17 | +++ b/pod/perl.pod | ||
18 | @@ -261,8 +261,16 @@ For ease of access, the Perl manual has been split up into several sections. | ||
19 | perlwin32 Perl notes for Windows | ||
20 | |||
21 | |||
22 | -On a Unix-like system, these documentation files will usually also be | ||
23 | -available as manpages for use with the F<man> program. | ||
24 | +On Debian systems, you need to install the B<perl-doc> package which | ||
25 | +contains the majority of the standard Perl documentation and the | ||
26 | +F<perldoc> program. | ||
27 | + | ||
28 | +Extensive additional documentation for Perl modules is available, both | ||
29 | +those distributed with Perl and third-party modules which are packaged | ||
30 | +or locally installed. | ||
31 | + | ||
32 | +You should be able to view Perl's documentation with your man(1) | ||
33 | +program or perldoc(1). | ||
34 | |||
35 | In general, if something strange has gone wrong with your program and you're | ||
36 | not sure where you should look for help, try the B<-w> switch first. It will | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff new file mode 100644 index 0000000000..7c33e90fda --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff | |||
@@ -0,0 +1,53 @@ | |||
1 | From e9fd6e7729b9ebd9bc74b8cf295cd3a7f5aa5472 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/290336 | ||
7 | |||
8 | - ignore missing directories, | ||
9 | - follow symlinks (/usr/share/perl/5.8 -> 5.8.4). | ||
10 | - filter "." out when running "enc2xs -C", it's unnecessary and causes | ||
11 | issues with follow => 1 (see #603686 and [rt.cpan.org #64585]) | ||
12 | |||
13 | Patch-Name: debian/enc2xs_inc.diff | ||
14 | --- | ||
15 | cpan/Encode/bin/enc2xs | 8 ++++---- | ||
16 | 1 files changed, 4 insertions(+), 4 deletions(-) | ||
17 | |||
18 | diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs | ||
19 | index 773c0a0..bc1ae1b 100644 | ||
20 | --- a/cpan/Encode/bin/enc2xs | ||
21 | +++ b/cpan/Encode/bin/enc2xs | ||
22 | @@ -924,11 +924,11 @@ use vars qw( | ||
23 | sub find_e2x{ | ||
24 | eval { require File::Find; }; | ||
25 | my (@inc, %e2x_dir); | ||
26 | - for my $inc (@INC){ | ||
27 | + for my $inc (grep -d, @INC){ | ||
28 | push @inc, $inc unless $inc eq '.'; #skip current dir | ||
29 | } | ||
30 | File::Find::find( | ||
31 | - sub { | ||
32 | + { wanted => sub { | ||
33 | my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, | ||
34 | $atime,$mtime,$ctime,$blksize,$blocks) | ||
35 | = lstat($_) or return; | ||
36 | @@ -938,7 +938,7 @@ sub find_e2x{ | ||
37 | $e2x_dir{$File::Find::dir} ||= $mtime; | ||
38 | } | ||
39 | return; | ||
40 | - }, @inc); | ||
41 | + }, follow => 1}, @inc); | ||
42 | warn join("\n", keys %e2x_dir), "\n"; | ||
43 | for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){ | ||
44 | $_E2X = $d; | ||
45 | @@ -1005,7 +1005,7 @@ sub make_configlocal_pm { | ||
46 | $LocalMod{$enc} ||= $mod; | ||
47 | } | ||
48 | }; | ||
49 | - File::Find::find({wanted => $wanted}, @INC); | ||
50 | + File::Find::find({wanted => $wanted, follow => 1}, grep -d && !/^\./, @INC); | ||
51 | $_ModLines = ""; | ||
52 | for my $enc ( sort keys %LocalMod ) { | ||
53 | $_ModLines .= | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff new file mode 100644 index 0000000000..0f3bfa6667 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff | |||
@@ -0,0 +1,35 @@ | |||
1 | From 973bed42db538804179f39d66dab37c82c6ade24 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 16 Dec 2005 01:32:14 +1100 | ||
4 | Subject: Remove Errno version check due to upgrade problems with long-running | ||
5 | processes. | ||
6 | |||
7 | Bug-Debian: http://bugs.debian.org/343351 | ||
8 | |||
9 | Remove version check which can cause problems for long running | ||
10 | processes embedding perl when upgrading to a newer version, | ||
11 | compatible, but built on a different machine. | ||
12 | |||
13 | Patch-Name: debian/errno_ver.diff | ||
14 | --- | ||
15 | ext/Errno/Errno_pm.PL | 5 ----- | ||
16 | 1 files changed, 0 insertions(+), 5 deletions(-) | ||
17 | |||
18 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL | ||
19 | index 56bc815..01f510a 100644 | ||
20 | --- a/ext/Errno/Errno_pm.PL | ||
21 | +++ b/ext/Errno/Errno_pm.PL | ||
22 | @@ -332,13 +332,8 @@ EOF | ||
23 | |||
24 | package Errno; | ||
25 | require Exporter; | ||
26 | -use Config; | ||
27 | use strict; | ||
28 | |||
29 | -"\$Config{'archname'}-\$Config{'osvers'}" eq | ||
30 | -"$Config{'archname'}-$Config{'osvers'}" or | ||
31 | - die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})"; | ||
32 | - | ||
33 | our \$VERSION = "$VERSION"; | ||
34 | \$VERSION = eval \$VERSION; | ||
35 | our \@ISA = 'Exporter'; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff new file mode 100644 index 0000000000..4c2da327d5 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff | |||
@@ -0,0 +1,23 @@ | |||
1 | From 334ac01a8306485ed901f4fb45d79f39a944fe77 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: EU:MM: Set location of libperl.a to /usr/lib | ||
5 | |||
6 | Patch-Name: debian/extutils_set_libperl_path.diff | ||
7 | --- | ||
8 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +- | ||
9 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
10 | |||
11 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
12 | index 4ee6b3f..42bbb83 100644 | ||
13 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
14 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
15 | @@ -2409,7 +2409,7 @@ MAP_PRELIBS = $Config{perllibs} $Config{cryptlib} | ||
16 | ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/; | ||
17 | } | ||
18 | unless ($libperl && -f $lperl) { # Ilya's code... | ||
19 | - my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE"; | ||
20 | + my $dir = $self->{PERL_SRC} || "/usr/lib"; | ||
21 | $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL}; | ||
22 | $libperl ||= "libperl$self->{LIB_EXT}"; | ||
23 | $libperl = "$dir/$libperl"; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff new file mode 100644 index 0000000000..bd90af9b39 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff | |||
@@ -0,0 +1,44 @@ | |||
1 | From a46a7107fb045ffa6047488b8002fec97b621a11 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
4 | Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets. | ||
5 | |||
6 | Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the | ||
7 | time the rule is evaluated rather than when the Makefile is created. | ||
8 | |||
9 | This is required when building packages with dpkg-buildpackage and fakeroot, | ||
10 | since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build" | ||
11 | rule where the Makefile is created, but is for the clean/binary* targets. | ||
12 | |||
13 | Patch-Name: debian/fakeroot.diff | ||
14 | --- | ||
15 | Makefile.SH | 9 ++------- | ||
16 | 1 files changed, 2 insertions(+), 7 deletions(-) | ||
17 | |||
18 | diff --git a/Makefile.SH b/Makefile.SH | ||
19 | index eb6326a..1dac585 100755 | ||
20 | --- a/Makefile.SH | ||
21 | +++ b/Makefile.SH | ||
22 | @@ -36,12 +36,7 @@ case "$useshrplib" in | ||
23 | true) | ||
24 | # Prefix all runs of 'miniperl' and 'perl' with | ||
25 | # $ldlibpth so that ./perl finds *this* shared libperl. | ||
26 | - case "$LD_LIBRARY_PATH" in | ||
27 | - '') | ||
28 | - ldlibpth="LD_LIBRARY_PATH=`pwd`";; | ||
29 | - *) | ||
30 | - ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";; | ||
31 | - esac | ||
32 | + ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH' | ||
33 | |||
34 | pldlflags="$cccdlflags" | ||
35 | static_ldflags='' | ||
36 | @@ -112,7 +107,7 @@ true) | ||
37 | ;; | ||
38 | esac | ||
39 | case "$ldlibpthname" in | ||
40 | - '') ;; | ||
41 | + ''|LD_LIBRARY_PATH) ;; | ||
42 | *) | ||
43 | case "$osname" in | ||
44 | os2) | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff new file mode 100644 index 0000000000..16de7ad022 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff | |||
@@ -0,0 +1,35 @@ | |||
1 | From ca66b95be369b47a6d372c3653be57cd737f7f21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Marschke <andreas.marschke@googlemail.com> | ||
3 | Date: Sat, 17 Sep 2011 11:38:42 +0100 | ||
4 | Subject: Configure CPAN::Distribution with correct name of html2text | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/640479 | ||
7 | Patch-Name: debian/find_html2text.diff | ||
8 | |||
9 | If you use cpan from Debian you usually wind up trying to read online | ||
10 | documentation through it. Unfortunately cpan can't find the | ||
11 | html2text.pl script even though it is installed using the Debian | ||
12 | package 'html2text'. | ||
13 | |||
14 | Please see the attached patch for a quick fix of this issue. | ||
15 | |||
16 | [Maintainer's note: html2text in Debian is not the same implementation | ||
17 | as the html2text.pl which is expected, but should provide similar | ||
18 | functionality]. | ||
19 | --- | ||
20 | cpan/CPAN/lib/CPAN/Distribution.pm | 2 +- | ||
21 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
22 | |||
23 | diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm b/cpan/CPAN/lib/CPAN/Distribution.pm | ||
24 | index 637ab27..a8193d9 100644 | ||
25 | --- a/cpan/CPAN/lib/CPAN/Distribution.pm | ||
26 | +++ b/cpan/CPAN/lib/CPAN/Distribution.pm | ||
27 | @@ -3715,7 +3715,7 @@ sub _display_url { | ||
28 | if $CPAN::DEBUG; | ||
29 | |||
30 | # should we define it in the config instead? | ||
31 | - my $html_converter = "html2text.pl"; | ||
32 | + my $html_converter = "html2text"; | ||
33 | |||
34 | my $web_browser = $CPAN::Config->{'lynx'} || undef; | ||
35 | my $web_browser_out = $web_browser | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff new file mode 100644 index 0000000000..3bda8f7099 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff | |||
@@ -0,0 +1,31 @@ | |||
1 | From f0e3a51bd7286788e410510af86a6c07edac4445 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Mon, 30 May 2011 22:54:24 +0300 | ||
4 | Subject: Document that CCFLAGS should include $Config{ccflags} | ||
5 | |||
6 | Bug: https://rt.cpan.org/Public/Bug/Display.html?id=68613 | ||
7 | Bug-Debian: http://bugs.debian.org/628522 | ||
8 | |||
9 | Compiling XS extensions without $Config{ccflags} can break the | ||
10 | binary interface on some platforms. | ||
11 | |||
12 | Patch-Name: fixes/document_makemaker_ccflags.diff | ||
13 | --- | ||
14 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | 4 ++++ | ||
15 | 1 files changed, 4 insertions(+), 0 deletions(-) | ||
16 | |||
17 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | ||
18 | index be9624e..c56ca8f 100644 | ||
19 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | ||
20 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | ||
21 | @@ -1524,6 +1524,10 @@ currently used by MakeMaker but may be handy in Makefile.PLs. | ||
22 | String that will be included in the compiler call command line between | ||
23 | the arguments INC and OPTIMIZE. | ||
24 | |||
25 | +The default value is taken from $Config{ccflags}. When overriding | ||
26 | +CCFLAGS, make sure to include the $Config{ccflags} settings to avoid | ||
27 | +binary incompatibilities. | ||
28 | + | ||
29 | =item CONFIG | ||
30 | |||
31 | Arrayref. E.g. [qw(archname manext)] defines ARCHNAME & MANEXT from | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff new file mode 100644 index 0000000000..cd86a76dea --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff | |||
@@ -0,0 +1,86 @@ | |||
1 | From 0c91624f1f9ec46a6f13cad3031b706213233479 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Thu, 28 Apr 2011 09:18:54 +0300 | ||
4 | Subject: Append CFLAGS and LDFLAGS to their Config.pm counterparts in | ||
5 | EU::CBuilder | ||
6 | |||
7 | Bug: http://rt.perl.org/rt3//Public/Bug/Display.html?id=89478 | ||
8 | Bug-Debian: http://bugs.debian.org/624460 | ||
9 | Origin: upstream, http://perl5.git.perl.org/perl.git/commitdiff/011e8fb476b5fb27c9aa613360d918aa0b798b3d | ||
10 | |||
11 | Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4), | ||
12 | CFLAGS and LDFLAGS from the environment have overridden the Config.pm | ||
13 | ccflags and ldflags settings. This can cause binary incompatibilities | ||
14 | between the core Perl and extensions built with EU::CBuilder. | ||
15 | |||
16 | Append to the Config.pm values rather than overriding them. | ||
17 | |||
18 | Patch-Name: fixes/extutils-cbuilder-cflags.diff | ||
19 | --- | ||
20 | .../lib/ExtUtils/CBuilder/Base.pm | 6 +++- | ||
21 | dist/ExtUtils-CBuilder/t/04-base.t | 25 +++++++++++++++++++- | ||
22 | 2 files changed, 28 insertions(+), 3 deletions(-) | ||
23 | |||
24 | diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm | ||
25 | index b572312..2255c51 100644 | ||
26 | --- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm | ||
27 | +++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm | ||
28 | @@ -40,11 +40,13 @@ sub new { | ||
29 | $self->{config}{$k} = $v unless exists $self->{config}{$k}; | ||
30 | } | ||
31 | $self->{config}{cc} = $ENV{CC} if defined $ENV{CC}; | ||
32 | - $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS}; | ||
33 | + $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS}) | ||
34 | + if defined $ENV{CFLAGS}; | ||
35 | $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX}; | ||
36 | $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS}; | ||
37 | $self->{config}{ld} = $ENV{LD} if defined $ENV{LD}; | ||
38 | - $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS}; | ||
39 | + $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS}) | ||
40 | + if defined $ENV{LDFLAGS}; | ||
41 | |||
42 | unless ( exists $self->{config}{cxx} ) { | ||
43 | my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/); | ||
44 | diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t | ||
45 | index db0ef98..49819a1 100644 | ||
46 | --- a/dist/ExtUtils-CBuilder/t/04-base.t | ||
47 | +++ b/dist/ExtUtils-CBuilder/t/04-base.t | ||
48 | @@ -1,7 +1,7 @@ | ||
49 | #! perl -w | ||
50 | |||
51 | use strict; | ||
52 | -use Test::More tests => 50; | ||
53 | +use Test::More tests => 64; | ||
54 | use Config; | ||
55 | use Cwd; | ||
56 | use File::Path qw( mkpath ); | ||
57 | @@ -328,6 +328,29 @@ is_deeply( $mksymlists_args, | ||
58 | "_prepare_mksymlists_args(): got expected arguments for Mksymlists", | ||
59 | ); | ||
60 | |||
61 | +my %testvars = ( | ||
62 | + CFLAGS => 'ccflags', | ||
63 | + LDFLAGS => 'ldflags', | ||
64 | +); | ||
65 | + | ||
66 | +while (my ($VAR, $var) = each %testvars) { | ||
67 | + local $ENV{$VAR}; | ||
68 | + $base = ExtUtils::CBuilder::Base->new( quiet => 1 ); | ||
69 | + ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" ); | ||
70 | + isa_ok( $base, 'ExtUtils::CBuilder::Base' ); | ||
71 | + like($base->{config}{$var}, qr/\Q$Config{$var}/, | ||
72 | + "honours $var from Config.pm"); | ||
73 | + | ||
74 | + $ENV{$VAR} = "-foo -bar"; | ||
75 | + $base = ExtUtils::CBuilder::Base->new( quiet => 1 ); | ||
76 | + ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" ); | ||
77 | + isa_ok( $base, 'ExtUtils::CBuilder::Base' ); | ||
78 | + like($base->{config}{$var}, qr/\Q$ENV{$VAR}/, | ||
79 | + "honours $VAR from the environment"); | ||
80 | + like($base->{config}{$var}, qr/\Q$Config{$var}/, | ||
81 | + "doesn't override $var from Config.pm with $VAR from the environment"); | ||
82 | +} | ||
83 | + | ||
84 | ##### | ||
85 | |||
86 | for ($source_file, $object_file, $lib_file) { | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff new file mode 100644 index 0000000000..b18b464b07 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff | |||
@@ -0,0 +1,69 @@ | |||
1 | From 37969e249dfc593ebabfcb682893b6c69dc6b313 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Wed, 18 May 2011 21:44:06 -0700 | ||
4 | Subject: Make h2ph correctly search gcc include directories | ||
5 | |||
6 | Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=90122 | ||
7 | Bug-Debian: http://bugs.debian.org/625808 | ||
8 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/e7ec705d9b91d35fa99dc50d0a232b6372160a77 | ||
9 | |||
10 | System header conversion with "h2ph -a" is currently broken on Ubuntu | ||
11 | Natty and Oneiric (unless the gcc-multilib package is installed for | ||
12 | backward compatibility), resulting in things like | ||
13 | |||
14 | # perl -e 'require "syscall.ph"' | ||
15 | Can't locate asm/unistd.ph in @INC [...] | ||
16 | |||
17 | This happens because Ubuntu has switched to a 'multiarch' setup, see | ||
18 | <https://wiki.ubuntu.com/MultiarchSpec> for details. | ||
19 | |||
20 | The asm subdirectory isn't in $Config{usrinc} anymore: /usr/include/asm | ||
21 | is now /usr/include/x86_64-linux-gnu/asm. (The third component of the | ||
22 | new path varies with the actual architecture.) | ||
23 | |||
24 | gcc --print-search-dirs doesn't really tell anything about where gcc | ||
25 | looks for the include directories, it was just used to find the gcc | ||
26 | internal directory prefix. | ||
27 | |||
28 | Parse the output of "gcc -v -E" instead, and append $Config{usrinc} | ||
29 | for safety. Duplicates shouldn't matter. | ||
30 | |||
31 | The h2ph "-a" switch isn't currently tested automatically, and that | ||
32 | seems nontrivial to do portably. Manual testing was done with | ||
33 | |||
34 | # mkdir ttt | ||
35 | # ./perl -Ilib ./utils/h2ph -a -d $(pwd)/ttt syscall.h | ||
36 | |||
37 | The gcc invocation has been tested to work with gcc 4.6, 4.1, and 3.3. | ||
38 | |||
39 | http://bugs.debian.org/625808 | ||
40 | https://bugs.launchpad.net/bugs/777903 | ||
41 | |||
42 | Patch-Name: fixes/h2ph-multiarch.diff | ||
43 | --- | ||
44 | utils/h2ph.PL | 12 ++---------- | ||
45 | 1 files changed, 2 insertions(+), 10 deletions(-) | ||
46 | |||
47 | diff --git a/utils/h2ph.PL b/utils/h2ph.PL | ||
48 | index 87f3c7d..4545d6d 100644 | ||
49 | --- a/utils/h2ph.PL | ||
50 | +++ b/utils/h2ph.PL | ||
51 | @@ -761,16 +761,8 @@ sub queue_includes_from | ||
52 | # non-GCC?) C compilers, but gcc uses additional include directories. | ||
53 | sub inc_dirs | ||
54 | { | ||
55 | - my $from_gcc = `LC_ALL=C $Config{cc} -v 2>&1`; | ||
56 | - if( !( $from_gcc =~ s:^Reading specs from (.*?)/specs\b.*:$1/include:s ) ) | ||
57 | - { # gcc-4+ : | ||
58 | - $from_gcc = `LC_ALL=C $Config{cc} -print-search-dirs 2>&1`; | ||
59 | - if ( !($from_gcc =~ s/^install:\s*([^\s]+[^\s\/])([\s\/]*).*$/$1\/include/s) ) | ||
60 | - { | ||
61 | - $from_gcc = ''; | ||
62 | - }; | ||
63 | - }; | ||
64 | - length($from_gcc) ? ($from_gcc, $from_gcc . "-fixed", $Config{usrinc}) : ($Config{usrinc}); | ||
65 | + my $from_gcc = `LC_ALL=C $Config{cc} -v -E - < /dev/null 2>&1 | awk '/^#include/, /^End of search list/' | grep '^ '`; | ||
66 | + length($from_gcc) ? (split(' ', $from_gcc), $Config{usrinc}) : ($Config{usrinc}); | ||
67 | } | ||
68 | |||
69 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff new file mode 100644 index 0000000000..901f98d344 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff | |||
@@ -0,0 +1,30 @@ | |||
1 | From f66e8575cb0ca11171f43efe0f9e3c6e790b75bc Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuel Thibault <sthibault@debian.org> | ||
3 | Date: Wed, 4 Aug 2010 13:34:05 +0300 | ||
4 | Subject: Make hints/gnu.sh append to $ccflags rather than overriding them | ||
5 | |||
6 | Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=92244 | ||
7 | Bug-Debian: http://bugs.debian.org/587901 | ||
8 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/a190e648879 | ||
9 | |||
10 | Don't override possible extra $ccflags values given to Configure | ||
11 | on GNU/Hurd. | ||
12 | |||
13 | Patch-Name: fixes/hurd-ccflags.diff | ||
14 | --- | ||
15 | hints/gnu.sh | 2 +- | ||
16 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
17 | |||
18 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
19 | index 2cfce54..c1ba2db 100644 | ||
20 | --- a/hints/gnu.sh | ||
21 | +++ b/hints/gnu.sh | ||
22 | @@ -19,7 +19,7 @@ lddlflags='-shared' | ||
23 | ccdlflags='-Wl,-E' | ||
24 | |||
25 | # Debian bug #258618 | ||
26 | -ccflags='-D_GNU_SOURCE' | ||
27 | +ccflags="-D_GNU_SOURCE $ccflags" | ||
28 | |||
29 | # The following routines are only available as stubs in GNU libc. | ||
30 | # XXX remove this once metaconf detects the GNU libc stubs. | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff new file mode 100644 index 0000000000..1ba9cbd7a4 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff | |||
@@ -0,0 +1,48 @@ | |||
1 | From d6fd7595fcd04b332e7449f59ea298639f10a183 Mon Sep 17 00:00:00 2001 | ||
2 | From: Pino Toscano <pino@debian.org> | ||
3 | Date: Wed, 10 Aug 2011 08:11:33 +0300 | ||
4 | Subject: Improve general GNU hints, needed for GNU/Hurd. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/636609 | ||
7 | |||
8 | Patch-Name: fixes/hurd-hints.diff | ||
9 | --- | ||
10 | ext/ODBM_File/hints/gnu.pl | 1 + | ||
11 | hints/gnu.sh | 12 ++++++++++++ | ||
12 | 2 files changed, 13 insertions(+), 0 deletions(-) | ||
13 | create mode 100644 ext/ODBM_File/hints/gnu.pl | ||
14 | |||
15 | diff --git a/ext/ODBM_File/hints/gnu.pl b/ext/ODBM_File/hints/gnu.pl | ||
16 | new file mode 100644 | ||
17 | index 0000000..db63567 | ||
18 | --- /dev/null | ||
19 | +++ b/ext/ODBM_File/hints/gnu.pl | ||
20 | @@ -0,0 +1 @@ | ||
21 | +do './hints/linux.pl' or die $@; | ||
22 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
23 | index c1ba2db..f075642 100644 | ||
24 | --- a/hints/gnu.sh | ||
25 | +++ b/hints/gnu.sh | ||
26 | @@ -8,10 +8,22 @@ set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'` | ||
27 | shift | ||
28 | libswanted="$*" | ||
29 | |||
30 | +# Debian 4.0 puts ndbm in the -lgdbm_compat library. | ||
31 | +libswanted="$libswanted gdbm_compat" | ||
32 | + | ||
33 | case "$optimize" in | ||
34 | '') optimize='-O2' ;; | ||
35 | esac | ||
36 | |||
37 | +case "$plibpth" in | ||
38 | +'') plibpth=`gcc -print-search-dirs | grep libraries | | ||
39 | + cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'` | ||
40 | + set X $plibpth # Collapse all entries on one line | ||
41 | + shift | ||
42 | + plibpth="$*" | ||
43 | + ;; | ||
44 | +esac | ||
45 | + | ||
46 | # Flags needed to produce shared libraries. | ||
47 | lddlflags='-shared' | ||
48 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff new file mode 100644 index 0000000000..204e9992a9 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff | |||
@@ -0,0 +1,73 @@ | |||
1 | From e25298a339dd6679f1b080f0125ac1b237b87950 Mon Sep 17 00:00:00 2001 | ||
2 | From: David Mitchell <davem@iabyn.com> | ||
3 | Date: Tue, 28 Jun 2011 17:04:40 +0100 | ||
4 | Subject: RT 64804: tainting with index() of a constant | ||
5 | |||
6 | Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=64804 | ||
7 | Bug-Debian: http://bugs.debian.org/291450 | ||
8 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/3b36395d31cf0a2f3a017505cd0ea857a7acb5d1 | ||
9 | |||
10 | At compile time, ck_index with a tainted constant set PL_tainted, | ||
11 | which remained on during the rest of compilation, tainting all other | ||
12 | constants. | ||
13 | |||
14 | Fix this by saving and restoring PL_tainted across the call to | ||
15 | fbm_compile, which is what sets PL_tainted. | ||
16 | |||
17 | Patch-Name: fixes/index-tainting.diff | ||
18 | --- | ||
19 | op.c | 5 ++++- | ||
20 | t/op/taint.t | 16 +++++++++++++++- | ||
21 | 2 files changed, 19 insertions(+), 2 deletions(-) | ||
22 | |||
23 | diff --git a/op.c b/op.c | ||
24 | index e21b9a4..973df13 100644 | ||
25 | --- a/op.c | ||
26 | +++ b/op.c | ||
27 | @@ -7780,8 +7780,11 @@ Perl_ck_index(pTHX_ OP *o) | ||
28 | OP *kid = cLISTOPo->op_first->op_sibling; /* get past pushmark */ | ||
29 | if (kid) | ||
30 | kid = kid->op_sibling; /* get past "big" */ | ||
31 | - if (kid && kid->op_type == OP_CONST) | ||
32 | + if (kid && kid->op_type == OP_CONST) { | ||
33 | + const bool save_taint = PL_tainted; | ||
34 | fbm_compile(((SVOP*)kid)->op_sv, 0); | ||
35 | + PL_tainted = save_taint; | ||
36 | + } | ||
37 | } | ||
38 | return ck_fun(o); | ||
39 | } | ||
40 | diff --git a/t/op/taint.t b/t/op/taint.t | ||
41 | index 9df6fee..a300b9b 100644 | ||
42 | --- a/t/op/taint.t | ||
43 | +++ b/t/op/taint.t | ||
44 | @@ -17,7 +17,7 @@ BEGIN { | ||
45 | use strict; | ||
46 | use Config; | ||
47 | |||
48 | -plan tests => 774; | ||
49 | +plan tests => 778; | ||
50 | |||
51 | $| = 1; | ||
52 | |||
53 | @@ -2144,6 +2144,20 @@ end | ||
54 | is_tainted $dest, "ucfirst(tainted) taints its return value"; | ||
55 | } | ||
56 | |||
57 | + | ||
58 | +# tainted constants and index() | ||
59 | +# RT 64804; http://bugs.debian.org/291450 | ||
60 | +{ | ||
61 | + ok(tainted $old_env_path, "initial taintedness"); | ||
62 | + BEGIN { no strict 'refs'; my $v = $old_env_path; *{"::C"} = sub () { $v }; } | ||
63 | + ok(tainted C, "constant is tainted properly"); | ||
64 | + ok(!tainted "", "tainting not broken yet"); | ||
65 | + index(undef, C); | ||
66 | + ok(!tainted "", "tainting still works after index() of the constant"); | ||
67 | +} | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | # This may bomb out with the alarm signal so keep it last | ||
72 | SKIP: { | ||
73 | skip "No alarm()" unless $Config{d_alarm}; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff new file mode 100644 index 0000000000..1c9009b32a --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff | |||
@@ -0,0 +1,37 @@ | |||
1 | From 9266292f705f2a3b6e5b97fa50e5f2be31371d5c Mon Sep 17 00:00:00 2001 | ||
2 | From: Dominic Hargreaves <dom@earth.li> | ||
3 | Date: Mon, 2 May 2011 10:35:04 +0100 | ||
4 | Subject: Fix failing tilde test when run under a UID without a passwd entry | ||
5 | |||
6 | Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67893 | ||
7 | Bug-Debian: http://bugs.debian.org/624850 | ||
8 | |||
9 | Patch-Name: fixes/module-build-home-directory.diff | ||
10 | --- | ||
11 | cpan/Module-Build/t/tilde.t | 6 ++++-- | ||
12 | 1 files changed, 4 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/cpan/Module-Build/t/tilde.t b/cpan/Module-Build/t/tilde.t | ||
15 | index fac821b..04f0210 100644 | ||
16 | --- a/cpan/Module-Build/t/tilde.t | ||
17 | +++ b/cpan/Module-Build/t/tilde.t | ||
18 | @@ -46,7 +46,8 @@ SKIP: { | ||
19 | |||
20 | unless (defined $home) { | ||
21 | my @info = eval { getpwuid $> }; | ||
22 | - skip "No home directory for tilde-expansion tests", 15 if $@; | ||
23 | + skip "No home directory for tilde-expansion tests", 15 if $@ | ||
24 | + or !defined $info[7]; | ||
25 | $home = $info[7]; | ||
26 | } | ||
27 | |||
28 | @@ -95,7 +96,8 @@ SKIP: { | ||
29 | # Again, with named users | ||
30 | SKIP: { | ||
31 | my @info = eval { getpwuid $> }; | ||
32 | - skip "No home directory for tilde-expansion tests", 1 if $@; | ||
33 | + skip "No home directory for tilde-expansion tests", 1 if $@ | ||
34 | + or !defined $info[7] or !defined $info[0]; | ||
35 | my ($me, $home) = @info[0,7]; | ||
36 | |||
37 | my $expected = "$home/fooxzy"; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff new file mode 100644 index 0000000000..549fc1007d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff | |||
@@ -0,0 +1,25 @@ | |||
1 | From ab32eba7fcc45d864c22e8f4ee02e0a6712070e0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Thu, 20 Sep 2007 19:47:14 +1000 | ||
4 | Subject: Document the Net::SMTP 'Port' option | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/100195 | ||
7 | Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038 | ||
8 | |||
9 | Patch-Name: fixes/net_smtp_docs.diff | ||
10 | --- | ||
11 | cpan/libnet/Net/SMTP.pm | 1 + | ||
12 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/cpan/libnet/Net/SMTP.pm b/cpan/libnet/Net/SMTP.pm | ||
15 | index a28496d..07b2498 100644 | ||
16 | --- a/cpan/libnet/Net/SMTP.pm | ||
17 | +++ b/cpan/libnet/Net/SMTP.pm | ||
18 | @@ -625,6 +625,7 @@ Net::SMTP will attempt to extract the address from the value passed. | ||
19 | |||
20 | B<Debug> - Enable debugging information | ||
21 | |||
22 | +B<Port> - Select a port on the remote host to connect to (default is 25) | ||
23 | |||
24 | Example: | ||
25 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff new file mode 100644 index 0000000000..eb0eb0bf44 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff | |||
@@ -0,0 +1,145 @@ | |||
1 | From c6b1fdd18dab0236458502564e54c180bb0ce341 Mon Sep 17 00:00:00 2001 | ||
2 | From: Keith Thompson <kst@mib.org> | ||
3 | Date: Fri, 29 Jul 2011 17:17:00 -0700 | ||
4 | Subject: Fix typos in several pod/perl*.pod files | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/637816 | ||
7 | Origin: http://perl5.git.perl.org/perl.git/commit/7698aede74509727f7bca31c58fc7a53b182315d | ||
8 | Patch-Name: fixes/pod_fixes.diff | ||
9 | --- | ||
10 | pod/perlfunc.pod | 8 ++++---- | ||
11 | pod/perlglossary.pod | 10 +++++----- | ||
12 | pod/perlmod.pod | 4 ++-- | ||
13 | pod/perlretut.pod | 6 +++--- | ||
14 | 4 files changed, 14 insertions(+), 14 deletions(-) | ||
15 | |||
16 | diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod | ||
17 | index 2ee3637..719a740 100644 | ||
18 | --- a/pod/perlfunc.pod | ||
19 | +++ b/pod/perlfunc.pod | ||
20 | @@ -3918,7 +3918,7 @@ count. A numeric repeat count may optionally be enclosed in brackets, as | ||
21 | in C<pack("C[80]", @arr)>. The repeat count gobbles that many values from | ||
22 | the LIST when used with all format types other than C<a>, C<A>, C<Z>, C<b>, | ||
23 | C<B>, C<h>, C<H>, C<@>, C<.>, C<x>, C<X>, and C<P>, where it means | ||
24 | -something else, dscribed below. Supplying a C<*> for the repeat count | ||
25 | +something else, described below. Supplying a C<*> for the repeat count | ||
26 | instead of a number means to use however many items are left, except for: | ||
27 | |||
28 | =over | ||
29 | @@ -5870,7 +5870,7 @@ sometimes saying the opposite, for example) the results are not | ||
30 | well-defined. | ||
31 | |||
32 | Because C<< <=> >> returns C<undef> when either operand is C<NaN> | ||
33 | -(not-a-number), and laso because C<sort> raises an exception unless the | ||
34 | +(not-a-number), and also because C<sort> raises an exception unless the | ||
35 | result of a comparison is defined, be careful when sorting with a | ||
36 | comparison function like C<< $a <=> $b >> any lists that might contain a | ||
37 | C<NaN>. The following example takes advantage that C<NaN != NaN> to | ||
38 | @@ -5958,7 +5958,7 @@ specified. | ||
39 | |||
40 | A pattern matching the empty string (not to be confused with | ||
41 | an empty pattern C<//>, which is just one member of the set of patterns | ||
42 | -matching the epmty string), splits EXPR into individual | ||
43 | +matching the empty string), splits EXPR into individual | ||
44 | characters. For example: | ||
45 | |||
46 | print join(':', split(/ */, 'hi there')), "\n"; | ||
47 | @@ -6222,7 +6222,7 @@ For example: | ||
48 | printf '<%.1e>', 10; # prints "<1.0e+01>" | ||
49 | |||
50 | For "g" and "G", this specifies the maximum number of digits to show, | ||
51 | -including thoe prior to the decimal point and those after it; for | ||
52 | +including those prior to the decimal point and those after it; for | ||
53 | example: | ||
54 | |||
55 | # These examples are subject to system-specific variation. | ||
56 | diff --git a/pod/perlglossary.pod b/pod/perlglossary.pod | ||
57 | index 639ce33..191371c 100644 | ||
58 | --- a/pod/perlglossary.pod | ||
59 | +++ b/pod/perlglossary.pod | ||
60 | @@ -507,7 +507,7 @@ the class (its L<objects|/object>). See also L</inheritance>. | ||
61 | |||
62 | =item class method | ||
63 | |||
64 | -A L</method> whose L</invocand> is a L</package> name, not an | ||
65 | +A L</method> whose L</invocant> is a L</package> name, not an | ||
66 | L</object> reference. A method associated with the class as a whole. | ||
67 | |||
68 | =item client | ||
69 | @@ -1470,7 +1470,7 @@ Perl, C<print STDOUT "$foo\n";> can be understood as "verb | ||
70 | indirect-object object" where L</STDOUT> is the recipient of the | ||
71 | L<print|perlfunc/print> action, and C<"$foo"> is the object being | ||
72 | printed. Similarly, when invoking a L</method>, you might place the | ||
73 | -invocand between the method and its arguments: | ||
74 | +invocant between the method and its arguments: | ||
75 | |||
76 | $gollum = new Pathetic::Creature "Smeagol"; | ||
77 | give $gollum "Fisssssh!"; | ||
78 | @@ -1548,11 +1548,11 @@ of compiler that takes a program and turns it into a more executable | ||
79 | form (L<syntax trees|/syntax tree>) within the I<perl> process itself, | ||
80 | which the Perl L</run time> system then interprets. | ||
81 | |||
82 | -=item invocand | ||
83 | +=item invocant | ||
84 | |||
85 | The agent on whose behalf a L</method> is invoked. In a L</class> | ||
86 | -method, the invocand is a package name. In an L</instance> method, | ||
87 | -the invocand is an object reference. | ||
88 | +method, the invocant is a package name. In an L</instance> method, | ||
89 | +the invocant is an object reference. | ||
90 | |||
91 | =item invocation | ||
92 | |||
93 | diff --git a/pod/perlmod.pod b/pod/perlmod.pod | ||
94 | index 5266f19..17de73e 100644 | ||
95 | --- a/pod/perlmod.pod | ||
96 | +++ b/pod/perlmod.pod | ||
97 | @@ -571,7 +571,7 @@ like for example handle the cloning of non-Perl data, if necessary. | ||
98 | C<CLONE> will be called once as a class method for every package that has it | ||
99 | defined (or inherits it). It will be called in the context of the new thread, | ||
100 | so all modifications are made in the new area. Currently CLONE is called with | ||
101 | -no parameters other than the invocand package name, but code should not assume | ||
102 | +no parameters other than the invocant package name, but code should not assume | ||
103 | that this will remain unchanged, as it is likely that in future extra parameters | ||
104 | will be passed in to give more information about the state of cloning. | ||
105 | |||
106 | @@ -593,7 +593,7 @@ to make use of the objects, then a more sophisticated approach is | ||
107 | needed. | ||
108 | |||
109 | Like C<CLONE>, C<CLONE_SKIP> is currently called with no parameters other | ||
110 | -than the invocand package name, although that may change. Similarly, to | ||
111 | +than the invocant package name, although that may change. Similarly, to | ||
112 | allow for future expansion, the return value should be a single C<0> or | ||
113 | C<1> value. | ||
114 | |||
115 | diff --git a/pod/perlretut.pod b/pod/perlretut.pod | ||
116 | index ea80594..1c65f5b 100644 | ||
117 | --- a/pod/perlretut.pod | ||
118 | +++ b/pod/perlretut.pod | ||
119 | @@ -781,7 +781,7 @@ so may lead to surprising and unsatisfactory results. | ||
120 | =head2 Relative backreferences | ||
121 | |||
122 | Counting the opening parentheses to get the correct number for a | ||
123 | -backreference is errorprone as soon as there is more than one | ||
124 | +backreference is error-prone as soon as there is more than one | ||
125 | capturing group. A more convenient technique became available | ||
126 | with Perl 5.10: relative backreferences. To refer to the immediately | ||
127 | preceding capture group one now may write C<\g{-1}>, the next but | ||
128 | @@ -1537,7 +1537,7 @@ the regexp in the I<last successful match> is used instead. So we have | ||
129 | |||
130 | =head3 Global matching | ||
131 | |||
132 | -The final two modifiers we will disccuss here, | ||
133 | +The final two modifiers we will discuss here, | ||
134 | C<//g> and C<//c>, concern multiple matches. | ||
135 | The modifier C<//g> stands for global matching and allows the | ||
136 | matching operator to match within a string as many times as possible. | ||
137 | @@ -1870,7 +1870,7 @@ substituted. | ||
138 | |||
139 | C<\Q>, C<\L>, C<\l>, C<\U>, C<\u> and C<\E> are actually part of | ||
140 | double-quotish syntax, and not part of regexp syntax proper. They will | ||
141 | -work if they appear in a regular expression embeddded directly in a | ||
142 | +work if they appear in a regular expression embedded directly in a | ||
143 | program, but not when contained in a string that is interpolated in a | ||
144 | pattern. | ||
145 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff new file mode 100644 index 0000000000..a84c9f9e3e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff | |||
@@ -0,0 +1,153 @@ | |||
1 | From 0d1ab4f799eb14d5488fcc959f4a6bdec548b370 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Respect umask during installation | ||
5 | |||
6 | This is needed to satisfy Debian policy regarding group-writable | ||
7 | site directories. | ||
8 | |||
9 | Patch-Name: fixes/respect_umask.diff | ||
10 | --- | ||
11 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 18 +++++++++--------- | ||
12 | dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++++++--------- | ||
13 | 2 files changed, 18 insertions(+), 18 deletions(-) | ||
14 | |||
15 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
16 | index 6964eea..865d36d 100644 | ||
17 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
18 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
19 | @@ -2053,7 +2053,7 @@ doc__install : doc_site_install | ||
20 | $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site | ||
21 | |||
22 | pure_perl_install :: all | ||
23 | - $(NOECHO) $(MOD_INSTALL) \ | ||
24 | + $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
25 | read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
26 | write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
27 | $(INST_LIB) $(DESTINSTALLPRIVLIB) \ | ||
28 | @@ -2067,7 +2067,7 @@ pure_perl_install :: all | ||
29 | |||
30 | |||
31 | pure_site_install :: all | ||
32 | - $(NOECHO) $(MOD_INSTALL) \ | ||
33 | + $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
34 | read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ | ||
35 | write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \ | ||
36 | $(INST_LIB) $(DESTINSTALLSITELIB) \ | ||
37 | @@ -2080,7 +2080,7 @@ pure_site_install :: all | ||
38 | }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{ | ||
39 | |||
40 | pure_vendor_install :: all | ||
41 | - $(NOECHO) $(MOD_INSTALL) \ | ||
42 | + $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
43 | read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ | ||
44 | write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \ | ||
45 | $(INST_LIB) $(DESTINSTALLVENDORLIB) \ | ||
46 | @@ -2092,8 +2092,8 @@ pure_vendor_install :: all | ||
47 | |||
48 | doc_perl_install :: all | ||
49 | $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
50 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
51 | - -$(NOECHO) $(DOC_INSTALL) \ | ||
52 | + -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
53 | + -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
54 | "Module" "$(NAME)" \ | ||
55 | "installed into" "$(INSTALLPRIVLIB)" \ | ||
56 | LINKTYPE "$(LINKTYPE)" \ | ||
57 | @@ -2103,8 +2103,8 @@ doc_perl_install :: all | ||
58 | |||
59 | doc_site_install :: all | ||
60 | $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
61 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
62 | - -$(NOECHO) $(DOC_INSTALL) \ | ||
63 | + -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
64 | + -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
65 | "Module" "$(NAME)" \ | ||
66 | "installed into" "$(INSTALLSITELIB)" \ | ||
67 | LINKTYPE "$(LINKTYPE)" \ | ||
68 | @@ -2114,8 +2114,8 @@ doc_site_install :: all | ||
69 | |||
70 | doc_vendor_install :: all | ||
71 | $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
72 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
73 | - -$(NOECHO) $(DOC_INSTALL) \ | ||
74 | + -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
75 | + -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
76 | "Module" "$(NAME)" \ | ||
77 | "installed into" "$(INSTALLVENDORLIB)" \ | ||
78 | LINKTYPE "$(LINKTYPE)" \ | ||
79 | diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm | ||
80 | index 3b030a5..cb0e9e0 100644 | ||
81 | --- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm | ||
82 | +++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm | ||
83 | @@ -468,7 +468,7 @@ sub _can_write_dir { | ||
84 | |||
85 | =pod | ||
86 | |||
87 | -=item _mkpath($dir,$show,$mode,$verbose,$dry_run) | ||
88 | +=item _mkpath($dir,$show,$verbose,$dry_run) | ||
89 | |||
90 | Wrapper around File::Path::mkpath() to handle errors. | ||
91 | |||
92 | @@ -485,13 +485,13 @@ writable. | ||
93 | =cut | ||
94 | |||
95 | sub _mkpath { | ||
96 | - my ($dir,$show,$mode,$verbose,$dry_run)=@_; | ||
97 | + my ($dir,$show,$verbose,$dry_run)=@_; | ||
98 | if ( $verbose && $verbose > 1 && ! -d $dir) { | ||
99 | $show= 1; | ||
100 | - printf "mkpath(%s,%d,%#o)\n", $dir, $show, $mode; | ||
101 | + printf "mkpath(%s,%d)\n", $dir, $show; | ||
102 | } | ||
103 | if (!$dry_run) { | ||
104 | - if ( ! eval { File::Path::mkpath($dir,$show,$mode); 1 } ) { | ||
105 | + if ( ! eval { File::Path::mkpath($dir,$show); 1 } ) { | ||
106 | _choke("Can't create '$dir'","$@"); | ||
107 | } | ||
108 | |||
109 | @@ -796,7 +796,7 @@ sub install { #XXX OS-SPECIFIC | ||
110 | _chdir($cwd); | ||
111 | } | ||
112 | foreach my $targetdir (sort keys %check_dirs) { | ||
113 | - _mkpath( $targetdir, 0, 0755, $verbose, $dry_run ); | ||
114 | + _mkpath( $targetdir, 0, $verbose, $dry_run ); | ||
115 | } | ||
116 | foreach my $found (@found_files) { | ||
117 | my ($diff, $ffd, $origfile, $mode, $size, $atime, $mtime, | ||
118 | @@ -810,7 +810,7 @@ sub install { #XXX OS-SPECIFIC | ||
119 | $targetfile= _unlink_or_rename( $targetfile, 'tryhard', 'install' ) | ||
120 | unless $dry_run; | ||
121 | } elsif ( ! -d $targetdir ) { | ||
122 | - _mkpath( $targetdir, 0, 0755, $verbose, $dry_run ); | ||
123 | + _mkpath( $targetdir, 0, $verbose, $dry_run ); | ||
124 | } | ||
125 | print "Installing $targetfile\n"; | ||
126 | |||
127 | @@ -850,7 +850,7 @@ sub install { #XXX OS-SPECIFIC | ||
128 | |||
129 | if ($pack{'write'}) { | ||
130 | $dir = install_rooted_dir(dirname($pack{'write'})); | ||
131 | - _mkpath( $dir, 0, 0755, $verbose, $dry_run ); | ||
132 | + _mkpath( $dir, 0, $verbose, $dry_run ); | ||
133 | print "Writing $pack{'write'}\n" if $verbose; | ||
134 | $packlist->write(install_rooted_file($pack{'write'})) unless $dry_run; | ||
135 | } | ||
136 | @@ -1190,7 +1190,7 @@ be prepended as a directory to each installed file (and directory). | ||
137 | sub pm_to_blib { | ||
138 | my($fromto,$autodir,$pm_filter) = @_; | ||
139 | |||
140 | - _mkpath($autodir,0,0755); | ||
141 | + _mkpath($autodir,0); | ||
142 | while(my($from, $to) = each %$fromto) { | ||
143 | if( -f $to && -s $from == -s $to && -M $to < -M $from ) { | ||
144 | print "Skip $to (unchanged)\n"; | ||
145 | @@ -1213,7 +1213,7 @@ sub pm_to_blib { | ||
146 | # we wont try hard here. its too likely to mess things up. | ||
147 | forceunlink($to); | ||
148 | } else { | ||
149 | - _mkpath(dirname($to),0,0755); | ||
150 | + _mkpath(dirname($to),0); | ||
151 | } | ||
152 | if ($need_filtering) { | ||
153 | run_filter($pm_filter, $from, $to); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch new file mode 100644 index 0000000000..e29e9b0c04 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 9ba88d73444c22788b7c2a212e15dbfe3da2a1af Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Wed, 3 Aug 2011 22:36:24 +0300 | ||
4 | Subject: Use a socket timeout on GNU/kFreeBSD to catch ICMP port unreachable | ||
5 | messages | ||
6 | |||
7 | Bug: http://rt.cpan.org/Ticket/Display.html?id=69997 | ||
8 | Bug-Debian: http://bugs.debian.org/627821 | ||
9 | |||
10 | Without this, openlog() on a UDP socket may succeed on the FreeBSD kernel | ||
11 | even when there's no listener, causing test failures. | ||
12 | |||
13 | It seems probable that all FreeBSD-based systems suffer from the | ||
14 | same issue, but that's for upstream to decide. | ||
15 | |||
16 | Patch-Name: fixes/sys-syslog-socket-timeout-kfreebsd.patch | ||
17 | --- | ||
18 | cpan/Sys-Syslog/Syslog.pm | 5 ++++- | ||
19 | 1 files changed, 4 insertions(+), 1 deletions(-) | ||
20 | |||
21 | diff --git a/cpan/Sys-Syslog/Syslog.pm b/cpan/Sys-Syslog/Syslog.pm | ||
22 | index 002e6e4..b445c66 100644 | ||
23 | --- a/cpan/Sys-Syslog/Syslog.pm | ||
24 | +++ b/cpan/Sys-Syslog/Syslog.pm | ||
25 | @@ -138,7 +138,10 @@ my @fallbackMethods = (); | ||
26 | # happy, the timeout is now zero by default on all systems | ||
27 | # except on OSX where it is set to 250 msec, and can be set | ||
28 | # with the infamous setlogsock() function. | ||
29 | -$sock_timeout = 0.25 if $^O =~ /darwin/; | ||
30 | +# | ||
31 | +# Debian change: include Debian GNU/kFreeBSD, lower to 1ms | ||
32 | +# see [rt.cpan.org #69997] | ||
33 | +$sock_timeout = 0.001 if $^O =~ /darwin|gnukfreebsd/; | ||
34 | |||
35 | # coderef for a nicer handling of errors | ||
36 | my $err_sub = $options{nofatal} ? \&warnings::warnif : \&croak; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff new file mode 100644 index 0000000000..ab0133d92f --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff | |||
@@ -0,0 +1,27 @@ | |||
1 | From ab89a31d1f46388a61953349c3546e4082cd38de Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Debian policy doesn't install .packlist files for core or vendor. | ||
5 | |||
6 | Patch-Name: debian/instmodsh_doc.diff | ||
7 | --- | ||
8 | cpan/ExtUtils-MakeMaker/bin/instmodsh | 4 +++- | ||
9 | 1 files changed, 3 insertions(+), 1 deletions(-) | ||
10 | |||
11 | diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
12 | index 5874aa6..6a2f03e 100644 | ||
13 | --- a/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
14 | +++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
15 | @@ -18,9 +18,11 @@ instmodsh - A shell to examine installed modules | ||
16 | |||
17 | =head1 DESCRIPTION | ||
18 | |||
19 | -A little interface to ExtUtils::Installed to examine installed modules, | ||
20 | +A little interface to ExtUtils::Installed to examine locally* installed modules, | ||
21 | validate your packlists and even create a tarball from an installed module. | ||
22 | |||
23 | +*On Debian system, B<core> and B<vendor> modules are managed by C<dpkg>. | ||
24 | + | ||
25 | =head1 SEE ALSO | ||
26 | |||
27 | ExtUtils::Installed | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff new file mode 100644 index 0000000000..d38b04b613 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff | |||
@@ -0,0 +1,24 @@ | |||
1 | From 704f6017119ce0301a9105944512120a38a43a02 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
4 | Subject: Remove standard libs from LD_RUN_PATH as per Debian policy. | ||
5 | |||
6 | Patch-Name: debian/ld_run_path.diff | ||
7 | --- | ||
8 | .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++ | ||
9 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
12 | index cf4826f..eb212b5 100644 | ||
13 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
14 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
15 | @@ -54,6 +54,9 @@ sub _unix_os2_ext { | ||
16 | my($pwd) = cwd(); # from Cwd.pm | ||
17 | my($found) = 0; | ||
18 | |||
19 | + # Debian-specific: don't use LD_RUN_PATH for standard dirs | ||
20 | + $ld_run_path_seen{$_}++ for @libpath; | ||
21 | + | ||
22 | foreach my $thislib (split ' ', $potential_libs) { | ||
23 | |||
24 | # Handle possible linker path arguments. | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff new file mode 100644 index 0000000000..6604d35c5b --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff | |||
@@ -0,0 +1,37 @@ | |||
1 | From 7465b6d008187580eabe655b9c8e75351d3d24b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be | ||
5 | writable. | ||
6 | |||
7 | Patch-Name: debian/libnet_config_path.diff | ||
8 | --- | ||
9 | cpan/libnet/Net/Config.pm | 7 +++---- | ||
10 | 1 files changed, 3 insertions(+), 4 deletions(-) | ||
11 | |||
12 | diff --git a/cpan/libnet/Net/Config.pm b/cpan/libnet/Net/Config.pm | ||
13 | index db51c1f..8404593 100644 | ||
14 | --- a/cpan/libnet/Net/Config.pm | ||
15 | +++ b/cpan/libnet/Net/Config.pm | ||
16 | @@ -57,9 +57,8 @@ my %nc = ( | ||
17 | } | ||
18 | TRY_INTERNET_CONFIG | ||
19 | |||
20 | -my $file = __FILE__; | ||
21 | +my $file = '/etc/perl/Net/libnet.cfg'; | ||
22 | my $ref; | ||
23 | -$file =~ s/Config.pm/libnet.cfg/; | ||
24 | if (-f $file) { | ||
25 | $ref = eval { local $SIG{__DIE__}; do $file }; | ||
26 | if (ref($ref) eq 'HASH') { | ||
27 | @@ -132,8 +131,8 @@ Net::Config - Local configuration data for libnet | ||
28 | C<Net::Config> holds configuration data for the modules in the libnet | ||
29 | distribution. During installation you will be asked for these values. | ||
30 | |||
31 | -The configuration data is held globally in a file in the perl installation | ||
32 | -tree, but a user may override any of these values by providing their own. This | ||
33 | +The configuration data is held globally in C</etc/perl/Net/libnet.cfg>, | ||
34 | +but a user may override any of these values by providing their own. This | ||
35 | can be done by having a C<.libnetrc> file in their home directory. This file | ||
36 | should return a reference to a HASH containing the keys described below. | ||
37 | For example | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff new file mode 100644 index 0000000000..cc3e0507f8 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff | |||
@@ -0,0 +1,26 @@ | |||
1 | From d70e88badfcc6edd05e884597f19fbbdcf2cf6a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Note that libperl-dev package is required for embedded linking | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/186778 | ||
7 | |||
8 | Patch-Name: debian/libperl_embed_doc.diff | ||
9 | --- | ||
10 | lib/ExtUtils/Embed.pm | 3 +++ | ||
11 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
12 | |||
13 | diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm | ||
14 | index 9710630..86f13b5 100644 | ||
15 | --- a/lib/ExtUtils/Embed.pm | ||
16 | +++ b/lib/ExtUtils/Embed.pm | ||
17 | @@ -305,6 +305,9 @@ and extensions in your C/C++ applications. | ||
18 | Typically, an application B<Makefile> will invoke ExtUtils::Embed | ||
19 | functions while building your application. | ||
20 | |||
21 | +Note that on Debian systems the B<libperl-dev> package is required for | ||
22 | +compiling applications which embed an interpreter. | ||
23 | + | ||
24 | =head1 @EXPORT | ||
25 | |||
26 | ExtUtils::Embed exports the following functions: | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff new file mode 100644 index 0000000000..f1dfe36043 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff | |||
@@ -0,0 +1,46 @@ | |||
1 | From 55a718425dc4612ac01850ef786f75f072b20b9e Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Mon, 8 Sep 2008 20:48:14 +0300 | ||
4 | Subject: Disable some threads tests on m68k for now due to missing TLS. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/495826 | ||
7 | Bug-Debian: http://bugs.debian.org/517938 | ||
8 | |||
9 | Patch-Name: debian/m68k_thread_stress.diff | ||
10 | --- | ||
11 | dist/threads-shared/t/stress.t | 4 ++++ | ||
12 | dist/threads-shared/t/waithires.t | 6 ++++++ | ||
13 | 2 files changed, 10 insertions(+), 0 deletions(-) | ||
14 | |||
15 | diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t | ||
16 | index 652a3e6..2f1b576 100644 | ||
17 | --- a/dist/threads-shared/t/stress.t | ||
18 | +++ b/dist/threads-shared/t/stress.t | ||
19 | @@ -11,6 +11,10 @@ BEGIN { | ||
20 | print("1..0 # SKIP Broken under HP-UX 10.20\n"); | ||
21 | exit(0); | ||
22 | } | ||
23 | + if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) { | ||
24 | + print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n"); | ||
25 | + exit(0); | ||
26 | + } | ||
27 | } | ||
28 | |||
29 | use ExtUtils::testlib; | ||
30 | diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t | ||
31 | index 3c3e852..349c5b4 100644 | ||
32 | --- a/dist/threads-shared/t/waithires.t | ||
33 | +++ b/dist/threads-shared/t/waithires.t | ||
34 | @@ -16,6 +16,12 @@ BEGIN { | ||
35 | if (! eval 'use Time::HiRes "time"; 1') { | ||
36 | Test::skip_all('Time::HiRes not available'); | ||
37 | } | ||
38 | + | ||
39 | + if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) { | ||
40 | + print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n"); | ||
41 | + exit(0); | ||
42 | + } | ||
43 | + | ||
44 | } | ||
45 | |||
46 | use ExtUtils::testlib; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff new file mode 100644 index 0000000000..2cc0946f51 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff | |||
@@ -0,0 +1,99 @@ | |||
1 | From 11633e598640b02e19329f323623af254fbac451 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
4 | Subject: Tweak @INC ordering for Debian | ||
5 | |||
6 | Our order is: | ||
7 | |||
8 | etc (for config files) | ||
9 | site (5.8.1) | ||
10 | vendor (all) | ||
11 | core (5.8.1) | ||
12 | site (version-indep) | ||
13 | site (pre-5.8.1) | ||
14 | |||
15 | The rationale being that an admin (via site), or module packager | ||
16 | (vendor) can chose to shadow core modules when there is a newer | ||
17 | version than is included in core. | ||
18 | |||
19 | Patch-Name: debian/mod_paths.diff | ||
20 | --- | ||
21 | perl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
22 | 1 files changed, 58 insertions(+), 0 deletions(-) | ||
23 | |||
24 | diff --git a/perl.c b/perl.c | ||
25 | index f756e02..d26dcb0 100644 | ||
26 | --- a/perl.c | ||
27 | +++ b/perl.c | ||
28 | @@ -4219,6 +4219,11 @@ S_init_perllib(pTHX) | ||
29 | INCPUSH_ADD_SUB_DIRS|INCPUSH_CAN_RELOCATE); | ||
30 | #endif | ||
31 | |||
32 | +#ifdef DEBIAN | ||
33 | + /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */ | ||
34 | + S_incpush_use_sep(aTHX_ STR_WITH_LEN("/etc/perl"), 0x0); | ||
35 | +#endif | ||
36 | + | ||
37 | #ifdef SITEARCH_EXP | ||
38 | /* sitearch is always relative to sitelib on Windows for | ||
39 | * DLL-based path intuition to work correctly */ | ||
40 | @@ -4336,6 +4341,59 @@ S_init_perllib(pTHX) | ||
41 | INCPUSH_ADD_OLD_VERS|INCPUSH_CAN_RELOCATE); | ||
42 | #endif | ||
43 | |||
44 | +#ifdef DEBIAN | ||
45 | + /* Non-versioned site directory for local modules and for | ||
46 | + compatability with the previous packages' site dirs */ | ||
47 | + S_incpush_use_sep(aTHX_ STR_WITH_LEN("/usr/local/lib/site_perl"), | ||
48 | + INCPUSH_ADD_SUB_DIRS); | ||
49 | + | ||
50 | +#ifdef PERL_INC_VERSION_LIST | ||
51 | + { | ||
52 | + struct stat s; | ||
53 | + | ||
54 | + /* add small buffer in case old versions are longer than the | ||
55 | + current version */ | ||
56 | + char sitearch[sizeof(SITEARCH_EXP)+16] = SITEARCH_EXP; | ||
57 | + char sitelib[sizeof(SITELIB_EXP)+16] = SITELIB_EXP; | ||
58 | + char const *vers[] = { PERL_INC_VERSION_LIST }; | ||
59 | + char const **p; | ||
60 | + | ||
61 | + char *arch_vers = strrchr(sitearch, '/'); | ||
62 | + char *lib_vers = strrchr(sitelib, '/'); | ||
63 | + | ||
64 | + if (arch_vers && isdigit(*++arch_vers)) | ||
65 | + *arch_vers = 0; | ||
66 | + else | ||
67 | + arch_vers = 0; | ||
68 | + | ||
69 | + if (lib_vers && isdigit(*++lib_vers)) | ||
70 | + *lib_vers = 0; | ||
71 | + else | ||
72 | + lib_vers = 0; | ||
73 | + | ||
74 | + /* there is some duplication here as incpush does something | ||
75 | + similar internally, but required as sitearch is not a | ||
76 | + subdirectory of sitelib */ | ||
77 | + for (p = vers; *p; p++) | ||
78 | + { | ||
79 | + if (arch_vers) | ||
80 | + { | ||
81 | + strcpy(arch_vers, *p); | ||
82 | + if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode)) | ||
83 | + S_incpush_use_sep(aTHX_ sitearch, strlen(sitearch), 0x0); | ||
84 | + } | ||
85 | + | ||
86 | + if (lib_vers) | ||
87 | + { | ||
88 | + strcpy(lib_vers, *p); | ||
89 | + if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode)) | ||
90 | + S_incpush_use_sep(aTHX_ sitelib, strlen(sitelib), 0x0); | ||
91 | + } | ||
92 | + } | ||
93 | + } | ||
94 | +#endif | ||
95 | +#endif | ||
96 | + | ||
97 | #ifdef PERL_OTHERLIBDIRS | ||
98 | S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_OTHERLIBDIRS), | ||
99 | INCPUSH_ADD_OLD_VERS|INCPUSH_ADD_ARCHONLY_SUB_DIRS | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff new file mode 100644 index 0000000000..b11433fb5e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff | |||
@@ -0,0 +1,35 @@ | |||
1 | From fbb5f07872d45bac76b5c3c83b50a19aa5da10b0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Thu, 8 May 2008 14:32:33 +0300 | ||
4 | Subject: Adjust Module::Build manual page extensions for the Debian Perl | ||
5 | policy | ||
6 | |||
7 | Bug-Debian: http://bugs.debian.org/479460 | ||
8 | |||
9 | Patch-Name: debian/module_build_man_extensions.diff | ||
10 | --- | ||
11 | cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++-- | ||
12 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm | ||
15 | index fba916a..82df4cc 100644 | ||
16 | --- a/cpan/Module-Build/lib/Module/Build/Base.pm | ||
17 | +++ b/cpan/Module-Build/lib/Module/Build/Base.pm | ||
18 | @@ -3246,7 +3246,7 @@ sub manify_bin_pods { | ||
19 | foreach my $file (keys %$files) { | ||
20 | # Pod::Simple based parsers only support one document per instance. | ||
21 | # This is expected to change in a future version (Pod::Simple > 3.03). | ||
22 | - my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1 | ||
23 | + my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p | ||
24 | my $manpage = $self->man1page_name( $file ) . '.' . | ||
25 | $self->config( 'man1ext' ); | ||
26 | my $outfile = File::Spec->catfile($mandir, $manpage); | ||
27 | @@ -3271,7 +3271,7 @@ sub manify_lib_pods { | ||
28 | while (my ($file, $relfile) = each %$files) { | ||
29 | # Pod::Simple based parsers only support one document per instance. | ||
30 | # This is expected to change in a future version (Pod::Simple > 3.03). | ||
31 | - my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3 | ||
32 | + my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm | ||
33 | my $manpage = $self->man3page_name( $relfile ) . '.' . | ||
34 | $self->config( 'man3ext' ); | ||
35 | my $outfile = File::Spec->catfile( $mandir, $manpage); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff new file mode 100644 index 0000000000..3324c1e36f --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff | |||
@@ -0,0 +1,88 @@ | |||
1 | From 44c7521619dd0e637920393184affcb26a27d5b7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Don't install .packlist or perllocal.pod for perl or vendor | ||
5 | |||
6 | Patch-Name: debian/no_packlist_perllocal.diff | ||
7 | --- | ||
8 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 31 +++-------------------- | ||
9 | 1 files changed, 4 insertions(+), 27 deletions(-) | ||
10 | |||
11 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
12 | index 42bbb83..a16e2d0 100644 | ||
13 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
14 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
15 | @@ -2054,8 +2054,6 @@ doc__install : doc_site_install | ||
16 | |||
17 | pure_perl_install :: all | ||
18 | $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
19 | - read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
20 | - write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
21 | $(INST_LIB) $(DESTINSTALLPRIVLIB) \ | ||
22 | $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ | ||
23 | $(INST_BIN) $(DESTINSTALLBIN) \ | ||
24 | @@ -2081,8 +2079,6 @@ pure_site_install :: all | ||
25 | |||
26 | pure_vendor_install :: all | ||
27 | $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
28 | - read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ | ||
29 | - write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \ | ||
30 | $(INST_LIB) $(DESTINSTALLVENDORLIB) \ | ||
31 | $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ | ||
32 | $(INST_BIN) $(DESTINSTALLVENDORBIN) \ | ||
33 | @@ -2091,37 +2087,19 @@ pure_vendor_install :: all | ||
34 | $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) | ||
35 | |||
36 | doc_perl_install :: all | ||
37 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
38 | - -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
39 | - -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
40 | - "Module" "$(NAME)" \ | ||
41 | - "installed into" "$(INSTALLPRIVLIB)" \ | ||
42 | - LINKTYPE "$(LINKTYPE)" \ | ||
43 | - VERSION "$(VERSION)" \ | ||
44 | - EXE_FILES "$(EXE_FILES)" \ | ||
45 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
46 | |||
47 | doc_site_install :: all | ||
48 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
49 | - -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
50 | + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod | ||
51 | + -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH) | ||
52 | -$(NOECHO) umask 02; $(DOC_INSTALL) \ | ||
53 | "Module" "$(NAME)" \ | ||
54 | "installed into" "$(INSTALLSITELIB)" \ | ||
55 | LINKTYPE "$(LINKTYPE)" \ | ||
56 | VERSION "$(VERSION)" \ | ||
57 | EXE_FILES "$(EXE_FILES)" \ | ||
58 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
59 | + >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{ | ||
60 | |||
61 | doc_vendor_install :: all | ||
62 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
63 | - -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
64 | - -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
65 | - "Module" "$(NAME)" \ | ||
66 | - "installed into" "$(INSTALLVENDORLIB)" \ | ||
67 | - LINKTYPE "$(LINKTYPE)" \ | ||
68 | - VERSION "$(VERSION)" \ | ||
69 | - EXE_FILES "$(EXE_FILES)" \ | ||
70 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
71 | |||
72 | }; | ||
73 | |||
74 | @@ -2130,13 +2108,12 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs | ||
75 | $(NOECHO) $(NOOP) | ||
76 | |||
77 | uninstall_from_perldirs :: | ||
78 | - $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ | ||
79 | |||
80 | uninstall_from_sitedirs :: | ||
81 | $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ | ||
82 | |||
83 | uninstall_from_vendordirs :: | ||
84 | - $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ | ||
85 | + | ||
86 | }; | ||
87 | |||
88 | join("",@m); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff new file mode 100644 index 0000000000..0a8a467f78 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff | |||
@@ -0,0 +1,30 @@ | |||
1 | From cf928101697efa4a46ada500c2f449caeb854fd4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Sun, 15 May 2011 19:35:58 +0300 | ||
4 | Subject: List packaged patches in patchlevel.h | ||
5 | |||
6 | Origin: vendor | ||
7 | Bug-Debian: http://bugs.debian.org/567489 | ||
8 | |||
9 | The list of packaged patches is in patchlevel-debian.h, which is generated | ||
10 | from the debian/patches/ directory when building the package. | ||
11 | |||
12 | Patch-Name: debian/patchlevel.diff | ||
13 | --- | ||
14 | patchlevel.h | 3 +++ | ||
15 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
16 | |||
17 | diff --git a/patchlevel.h b/patchlevel.h | ||
18 | index 5dc2a53..1356595 100644 | ||
19 | --- a/patchlevel.h | ||
20 | +++ b/patchlevel.h | ||
21 | @@ -137,6 +137,9 @@ static const char * const local_patches[] = { | ||
22 | ,"uncommitted-changes" | ||
23 | #endif | ||
24 | PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */ | ||
25 | +#ifdef DEBIAN | ||
26 | +#include "patchlevel-debian.h" | ||
27 | +#endif | ||
28 | ,NULL | ||
29 | }; | ||
30 | |||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff new file mode 100644 index 0000000000..98b1b501f5 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff | |||
@@ -0,0 +1,39 @@ | |||
1 | From 4c7e04f75c9513451d1622e5a6dd58c2c8377d81 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Fri, 9 Jan 2009 18:54:47 +0200 | ||
4 | Subject: Make perlivp skip include directories in /usr/local | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/510895 | ||
7 | |||
8 | On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote: | ||
9 | > On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote: | ||
10 | |||
11 | > > We could create the directories in a postinst script, but I'm not sure | ||
12 | > > I see the point. They will be created automatically when installing | ||
13 | > > CPAN modules. | ||
14 | > | ||
15 | > The directories are intentionally not created, as this way they are | ||
16 | > excluded from the search path at start-up, saving a bunch of wasted | ||
17 | > stats at use/require time in the common case that the user has not | ||
18 | > installed any local packages. As Niko points out, they will be | ||
19 | > created as required. | ||
20 | |||
21 | Signed-off-by: Niko Tyni <ntyni@debian.org> | ||
22 | |||
23 | Patch-Name: debian/perlivp.diff | ||
24 | --- | ||
25 | utils/perlivp.PL | 1 + | ||
26 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
27 | |||
28 | diff --git a/utils/perlivp.PL b/utils/perlivp.PL | ||
29 | index 6fcb670..1401cac 100644 | ||
30 | --- a/utils/perlivp.PL | ||
31 | +++ b/utils/perlivp.PL | ||
32 | @@ -142,6 +142,7 @@ my $INC_total = 0; | ||
33 | my $INC_there = 0; | ||
34 | foreach (@INC) { | ||
35 | next if $_ eq '.'; # skip -d test here | ||
36 | + next if m|/usr/local|; # not shipped on Debian | ||
37 | if (-d $_) { | ||
38 | print "## Perl \@INC directory `$_' exists.\n" if $opt{'v'}; | ||
39 | $INC_there++; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff new file mode 100644 index 0000000000..a1e17ce71e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff | |||
@@ -0,0 +1,118 @@ | |||
1 | From 148e2717682ce8c65475ffdeea84b3cdd1ab1649 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Fiddle with *PREFIX and variables written to the makefile | ||
5 | |||
6 | Fiddle with *PREFIX and variables written to the makefile so that | ||
7 | install directories may be changed when make is run by passing | ||
8 | PREFIX= to the "make install" command (used when packaging | ||
9 | modules). | ||
10 | |||
11 | Patch-Name: debian/prefix_changes.diff | ||
12 | --- | ||
13 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 12 ++++++------ | ||
14 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 3 +-- | ||
15 | cpan/ExtUtils-MakeMaker/t/INST.t | 4 +--- | ||
16 | cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | 10 +++++----- | ||
17 | 4 files changed, 13 insertions(+), 16 deletions(-) | ||
18 | |||
19 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | ||
20 | index a38f274..93d3fe9 100644 | ||
21 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | ||
22 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | ||
23 | @@ -701,8 +701,6 @@ all POD files in MAN1PODS and MAN3PODS. | ||
24 | sub manifypods_target { | ||
25 | my($self) = shift; | ||
26 | |||
27 | - my $man1pods = ''; | ||
28 | - my $man3pods = ''; | ||
29 | my $dependencies = ''; | ||
30 | |||
31 | # populate manXpods & dependencies: | ||
32 | @@ -718,7 +716,7 @@ END | ||
33 | foreach my $section (qw(1 3)) { | ||
34 | my $pods = $self->{"MAN${section}PODS"}; | ||
35 | push @man_cmds, $self->split_command(<<CMD, %$pods); | ||
36 | - \$(NOECHO) \$(POD2MAN) --section=$section --perm_rw=\$(PERM_RW) | ||
37 | + \$(NOECHO) \$(POD2MAN) --section=\$(MAN${section}EXT) --perm_rw=\$(PERM_RW) | ||
38 | CMD | ||
39 | } | ||
40 | |||
41 | @@ -1521,9 +1519,11 @@ sub init_INSTALL_from_PREFIX { | ||
42 | $self->{SITEPREFIX} ||= $sprefix; | ||
43 | $self->{VENDORPREFIX} ||= $vprefix; | ||
44 | |||
45 | - # Lots of MM extension authors like to use $(PREFIX) so we | ||
46 | - # put something sensible in there no matter what. | ||
47 | - $self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)'; | ||
48 | + my $p = $self->{PREFIX} = $self->{PERLPREFIX}; | ||
49 | + for my $t (qw/PERL SITE VENDOR/) | ||
50 | + { | ||
51 | + $self->{"${t}PREFIX"} =~ s!^\Q$p\E(?=/|$)!\$(PREFIX)!; | ||
52 | + } | ||
53 | } | ||
54 | |||
55 | my $arch = $Config{archname}; | ||
56 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
57 | index a16e2d0..c308c49 100644 | ||
58 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
59 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
60 | @@ -2981,8 +2981,7 @@ sub prefixify { | ||
61 | print STDERR " prefixify $var => $path\n" if $Verbose >= 2; | ||
62 | print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2; | ||
63 | |||
64 | - if( $self->{ARGS}{PREFIX} && | ||
65 | - $path !~ s{^\Q$sprefix\E\b}{$rprefix}s ) | ||
66 | + if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} ) | ||
67 | { | ||
68 | |||
69 | print STDERR " cannot prefix, using default.\n" if $Verbose >= 2; | ||
70 | diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t | ||
71 | index 6aac294..28294f2 100644 | ||
72 | --- a/cpan/ExtUtils-MakeMaker/t/INST.t | ||
73 | +++ b/cpan/ExtUtils-MakeMaker/t/INST.t | ||
74 | @@ -61,9 +61,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' ); | ||
75 | is( $mm->{NAME}, 'Big::Dummy', 'NAME' ); | ||
76 | is( $mm->{VERSION}, 0.01, 'VERSION' ); | ||
77 | |||
78 | -my $config_prefix = $Config{installprefixexp} || $Config{installprefix} || | ||
79 | - $Config{prefixexp} || $Config{prefix}; | ||
80 | -is( $mm->{PERLPREFIX}, $config_prefix, 'PERLPREFIX' ); | ||
81 | +is( $mm->{PERLPREFIX}, '$(PREFIX)', 'PERLPREFIX' ); | ||
82 | |||
83 | is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' ); | ||
84 | |||
85 | diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | ||
86 | index fbb18a3..8987569 100644 | ||
87 | --- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | ||
88 | +++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | ||
89 | @@ -10,7 +10,7 @@ BEGIN { | ||
90 | } | ||
91 | |||
92 | use strict; | ||
93 | -use Test::More tests => 52; | ||
94 | +use Test::More tests => 47; | ||
95 | use MakeMaker::Test::Utils; | ||
96 | use MakeMaker::Test::Setup::BFD; | ||
97 | use ExtUtils::MakeMaker; | ||
98 | @@ -58,16 +58,16 @@ like( $stdout->read, qr{ | ||
99 | Writing\ MYMETA.yml\n | ||
100 | }x ); | ||
101 | |||
102 | -is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' ); | ||
103 | +#is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' ); | ||
104 | |||
105 | isa_ok( $mm, 'ExtUtils::MakeMaker' ); | ||
106 | |||
107 | is( $mm->{NAME}, 'Big::Dummy', 'NAME' ); | ||
108 | is( $mm->{VERSION}, 0.01, 'VERSION' ); | ||
109 | |||
110 | -foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) { | ||
111 | - unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ ); | ||
112 | -} | ||
113 | +#foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) { | ||
114 | +# unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ ); | ||
115 | +#} | ||
116 | |||
117 | |||
118 | my $PREFIX = File::Spec->catdir('foo', 'bar'); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff new file mode 100644 index 0000000000..bb05a945b3 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff | |||
@@ -0,0 +1,38 @@ | |||
1 | From 063566907896ff32bea27897fa73cebbbd7bacce Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Fri, 18 Mar 2005 22:22:25 +1100 | ||
4 | Subject: Prune the list of libraries wanted to what we actually need. | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/128355 | ||
7 | |||
8 | We want to keep the dependencies on perl-base as small as possible, | ||
9 | and some of the original list may be present on buildds (see Bug#128355). | ||
10 | |||
11 | Patch-Name: debian/prune_libs.diff | ||
12 | --- | ||
13 | Configure | 5 ++--- | ||
14 | 1 files changed, 2 insertions(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/Configure b/Configure | ||
17 | index d9911f9..f59f75c 100755 | ||
18 | --- a/Configure | ||
19 | +++ b/Configure | ||
20 | @@ -1367,8 +1367,7 @@ libswanted_uselargefiles='' | ||
21 | : set usesocks on the Configure command line to enable socks. | ||
22 | : List of libraries we want. | ||
23 | : If anyone needs extra -lxxx, put those in a hint file. | ||
24 | -libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun" | ||
25 | -libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD" | ||
26 | +libswanted='gdbm gdbm_compat db dl m c crypt' | ||
27 | : We probably want to search /usr/shlib before most other libraries. | ||
28 | : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist. | ||
29 | glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'` | ||
30 | @@ -22308,7 +22307,7 @@ sunos*X4*) | ||
31 | ;; | ||
32 | *) case "$usedl" in | ||
33 | $define|true|[yY]*) | ||
34 | - set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'` | ||
35 | + set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'` | ||
36 | shift | ||
37 | perllibs="$*" | ||
38 | ;; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/series b/meta/recipes-devtools/perl/perl-5.14.2/debian/series new file mode 100644 index 0000000000..08adca5626 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/series | |||
@@ -0,0 +1,40 @@ | |||
1 | debian/arm_thread_stress_timeout.diff | ||
2 | debian/cpan_definstalldirs.diff | ||
3 | debian/db_file_ver.diff | ||
4 | debian/doc_info.diff | ||
5 | debian/enc2xs_inc.diff | ||
6 | debian/errno_ver.diff | ||
7 | debian/libperl_embed_doc.diff | ||
8 | fixes/respect_umask.diff | ||
9 | debian/writable_site_dirs.diff | ||
10 | debian/extutils_set_libperl_path.diff | ||
11 | debian/no_packlist_perllocal.diff | ||
12 | debian/prefix_changes.diff | ||
13 | debian/fakeroot.diff | ||
14 | debian/instmodsh_doc.diff | ||
15 | debian/ld_run_path.diff | ||
16 | debian/libnet_config_path.diff | ||
17 | debian/m68k_thread_stress.diff | ||
18 | debian/mod_paths.diff | ||
19 | debian/module_build_man_extensions.diff | ||
20 | debian/prune_libs.diff | ||
21 | fixes/net_smtp_docs.diff | ||
22 | debian/perlivp.diff | ||
23 | debian/disable-zlib-bundling.diff | ||
24 | debian/cpanplus_definstalldirs.diff | ||
25 | debian/cpanplus_config_path.diff | ||
26 | debian/deprecate-with-apt.diff | ||
27 | fixes/hurd-ccflags.diff | ||
28 | debian/squelch-locale-warnings.diff | ||
29 | debian/skip-upstream-git-tests.diff | ||
30 | fixes/extutils-cbuilder-cflags.diff | ||
31 | fixes/module-build-home-directory.diff | ||
32 | debian/patchlevel.diff | ||
33 | fixes/h2ph-multiarch.diff | ||
34 | fixes/index-tainting.diff | ||
35 | debian/skip-kfreebsd-crash.diff | ||
36 | fixes/document_makemaker_ccflags.diff | ||
37 | fixes/sys-syslog-socket-timeout-kfreebsd.patch | ||
38 | fixes/hurd-hints.diff | ||
39 | fixes/pod_fixes.diff | ||
40 | debian/find_html2text.diff | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff new file mode 100644 index 0000000000..7992129a51 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff | |||
@@ -0,0 +1,39 @@ | |||
1 | From ff2815399ad94915da2e63cb3c4bbd2d02dac4b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Fri, 5 Aug 2011 10:50:18 +0300 | ||
4 | Subject: Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD | ||
5 | |||
6 | Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=96272 | ||
7 | Bug-Debian: http://bugs.debian.org/628493 | ||
8 | |||
9 | The crash is not a regression in 5.14, it just gets triggered there by | ||
10 | a new unrelated test case. | ||
11 | |||
12 | Skip the test until the culprit is found. | ||
13 | |||
14 | Patch-Name: debian/skip-kfreebsd-crash.diff | ||
15 | --- | ||
16 | t/op/threads.t | 4 ++++ | ||
17 | 1 files changed, 4 insertions(+), 0 deletions(-) | ||
18 | |||
19 | diff --git a/t/op/threads.t b/t/op/threads.t | ||
20 | index 24e84e4..6a91366 100644 | ||
21 | --- a/t/op/threads.t | ||
22 | +++ b/t/op/threads.t | ||
23 | @@ -342,6 +342,9 @@ threads->create( | ||
24 | |||
25 | EOI | ||
26 | |||
27 | +SKIP: { | ||
28 | + skip "[perl #96272] avoid crash on GNU/kFreeBSD", 1 | ||
29 | + if $^O eq 'gnukfreebsd'; | ||
30 | # [perl #78494] Pipes shared between threads block when closed | ||
31 | watchdog 10; | ||
32 | { | ||
33 | @@ -351,5 +354,6 @@ watchdog 10; | ||
34 | threads->create(sub { })->join; | ||
35 | ok(1, "Pipes shared between threads do not block when closed"); | ||
36 | } | ||
37 | +} | ||
38 | |||
39 | # EOF | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff new file mode 100644 index 0000000000..a157bc7f60 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff | |||
@@ -0,0 +1,59 @@ | |||
1 | From 2be2eed9148c38d3e982d3371f379ce77021aeb5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Fri, 22 Apr 2011 11:15:32 +0300 | ||
4 | Subject: Skip tests specific to the upstream Git repository | ||
5 | |||
6 | These tests fail if run from a different git repository than | ||
7 | upstream. This complicates things needlessly for downstream packagers. | ||
8 | |||
9 | Skip the tests altogether even if the .git directory exists. | ||
10 | |||
11 | Patch-Name: debian/skip-upstream-git-tests.diff | ||
12 | --- | ||
13 | t/porting/authors.t | 3 ++- | ||
14 | t/porting/cmp_version.t | 3 ++- | ||
15 | t/porting/manifest.t | 3 ++- | ||
16 | 3 files changed, 6 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/t/porting/authors.t b/t/porting/authors.t | ||
19 | index 28ca1ca..3c7f069 100644 | ||
20 | --- a/t/porting/authors.t | ||
21 | +++ b/t/porting/authors.t | ||
22 | @@ -9,7 +9,8 @@ BEGIN { | ||
23 | use strict; | ||
24 | use warnings; | ||
25 | |||
26 | -if (! -d '.git' ) { | ||
27 | +# Debian change: skip as we're probably in a different git repository | ||
28 | +if (1 || ! -d '.git' ) { | ||
29 | print "1..0 # SKIP: not being run from a git checkout\n"; | ||
30 | exit 0; | ||
31 | } | ||
32 | diff --git a/t/porting/cmp_version.t b/t/porting/cmp_version.t | ||
33 | index b3c677c..f89f2a7 100644 | ||
34 | --- a/t/porting/cmp_version.t | ||
35 | +++ b/t/porting/cmp_version.t | ||
36 | @@ -25,7 +25,8 @@ use File::Spec::Functions qw(rel2abs abs2rel catfile catdir curdir); | ||
37 | use Getopt::Std; | ||
38 | use Maintainers; | ||
39 | |||
40 | -if (! -d '.git' ) { | ||
41 | +# Debian change: skip as we're probably in a different git repository | ||
42 | +if (1 || ! -d '.git' ) { | ||
43 | print "1..0 # SKIP: not being run from a git checkout\n"; | ||
44 | exit 0; | ||
45 | } | ||
46 | diff --git a/t/porting/manifest.t b/t/porting/manifest.t | ||
47 | index 48dd3ac..b08126b 100644 | ||
48 | --- a/t/porting/manifest.t | ||
49 | +++ b/t/porting/manifest.t | ||
50 | @@ -59,7 +59,8 @@ SKIP: { | ||
51 | |||
52 | SKIP: { | ||
53 | chdir ".."; | ||
54 | - skip("not under git control", 3) unless -d '.git'; | ||
55 | + # Debian change: skip as we're probably in a different git repository | ||
56 | + skip("not under git control", 3) unless 0 && -d '.git'; | ||
57 | chomp(my @repo= grep { !/\.gitignore$/ } `git ls-files`); | ||
58 | skip("git ls-files didnt work",3) | ||
59 | if !@repo; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff new file mode 100644 index 0000000000..71660b08ba --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff | |||
@@ -0,0 +1,55 @@ | |||
1 | From 718e9cbd59f0739fc9104af111e42fff66f927a7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Niko Tyni <ntyni@debian.org> | ||
3 | Date: Sun, 3 Oct 2010 21:36:17 +0300 | ||
4 | Subject: Squelch locale warnings in Debian package maintainer scripts | ||
5 | |||
6 | Bug-Debian: http://bugs.debian.org/508764 | ||
7 | |||
8 | The system locales are rather frequently out of sync with the C library | ||
9 | during package upgrades, causing a huge amount of useless Perl locale | ||
10 | warnings. Squelch them when running package maintainer scripts, detected | ||
11 | by the DPKG_RUNNING_VERSION environment variable. | ||
12 | |||
13 | Any real locale problem will show up after the system upgrade too, and | ||
14 | the warning will be triggered normally again at that point. | ||
15 | |||
16 | Patch-Name: debian/squelch-locale-warnings.diff | ||
17 | --- | ||
18 | locale.c | 4 ++++ | ||
19 | pod/perllocale.pod | 8 ++++++++ | ||
20 | 2 files changed, 12 insertions(+), 0 deletions(-) | ||
21 | |||
22 | diff --git a/locale.c b/locale.c | ||
23 | index 4631b86..94a0962 100644 | ||
24 | --- a/locale.c | ||
25 | +++ b/locale.c | ||
26 | @@ -359,6 +359,10 @@ Perl_init_i18nl10n(pTHX_ int printwarn) | ||
27 | char *p; | ||
28 | const bool locwarn = (printwarn > 1 || | ||
29 | (printwarn && | ||
30 | + | ||
31 | + /* Debian specific change - see http://bugs.debian.org/508764 */ | ||
32 | + (!PerlEnv_getenv("DPKG_RUNNING_VERSION")) && | ||
33 | + | ||
34 | (!(p = PerlEnv_getenv("PERL_BADLANG")) || atoi(p)))); | ||
35 | |||
36 | if (locwarn) { | ||
37 | diff --git a/pod/perllocale.pod b/pod/perllocale.pod | ||
38 | index 8926d8b..6c55889 100644 | ||
39 | --- a/pod/perllocale.pod | ||
40 | +++ b/pod/perllocale.pod | ||
41 | @@ -861,6 +861,14 @@ B<NOTE>: PERL_BADLANG only gives you a way to hide the warning message. | ||
42 | The message tells about some problem in your system's locale support, | ||
43 | and you should investigate what the problem is. | ||
44 | |||
45 | +=item DPKG_RUNNING_VERSION | ||
46 | + | ||
47 | +On Debian systems, if the DPKG_RUNNING_VERSION environment variable is | ||
48 | +set (to any value), the locale failure warnings will be suppressed just | ||
49 | +like with a zero PERL_BADLANG setting. This is done to avoid floods | ||
50 | +of spurious warnings during system upgrades. | ||
51 | +See L<http://bugs.debian.org/508764>. | ||
52 | + | ||
53 | =back | ||
54 | |||
55 | The following environment variables are not specific to Perl: They are | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff new file mode 100644 index 0000000000..a4fc32aec0 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff | |||
@@ -0,0 +1,36 @@ | |||
1 | From 492e0d6b4e3e0d786fb88b9058d581f6466c4a3e Mon Sep 17 00:00:00 2001 | ||
2 | From: Brendan O'Dea <bod@debian.org> | ||
3 | Date: Tue, 8 Mar 2005 19:30:38 +1100 | ||
4 | Subject: Set umask approproately for site install directories | ||
5 | |||
6 | Policy requires group writable site directories | ||
7 | |||
8 | Patch-Name: debian/writable_site_dirs.diff | ||
9 | --- | ||
10 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 6 +++--- | ||
11 | 1 files changed, 3 insertions(+), 3 deletions(-) | ||
12 | |||
13 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
14 | index 865d36d..4ee6b3f 100644 | ||
15 | --- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
16 | +++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
17 | @@ -2067,7 +2067,7 @@ pure_perl_install :: all | ||
18 | |||
19 | |||
20 | pure_site_install :: all | ||
21 | - $(NOECHO) umask 022; $(MOD_INSTALL) \ | ||
22 | + $(NOECHO) umask 02; $(MOD_INSTALL) \ | ||
23 | read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ | ||
24 | write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \ | ||
25 | $(INST_LIB) $(DESTINSTALLSITELIB) \ | ||
26 | @@ -2103,8 +2103,8 @@ doc_perl_install :: all | ||
27 | |||
28 | doc_site_install :: all | ||
29 | $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
30 | - -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
31 | - -$(NOECHO) umask 022; $(DOC_INSTALL) \ | ||
32 | + -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLARCHLIB) | ||
33 | + -$(NOECHO) umask 02; $(DOC_INSTALL) \ | ||
34 | "Module" "$(NAME)" \ | ||
35 | "installed into" "$(INSTALLSITELIB)" \ | ||
36 | LINKTYPE "$(LINKTYPE)" \ | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch b/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch new file mode 100644 index 0000000000..69ac434779 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> | ||
3 | 2011/07/01 | ||
4 | |||
5 | Fix these Package QA warnings before they are converted into fetal errors: | ||
6 | |||
7 | WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so | ||
8 | |||
9 | This fixes this warning for perl recipe as well as libxml-parser-perl recipe. | ||
10 | It is a fix to MakeMaker within perl, so all such perl recipes will get | ||
11 | fixed with this perl fix. | ||
12 | |||
13 | Index: perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
14 | =================================================================== | ||
15 | --- perl-5.14.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
16 | +++ perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
17 | @@ -55,6 +55,7 @@ sub _unix_os2_ext { | ||
18 | my($found) = 0; | ||
19 | |||
20 | # Debian-specific: don't use LD_RUN_PATH for standard dirs | ||
21 | + push(@libpath, "SYSROOTLIB"); | ||
22 | $ld_run_path_seen{$_}++ for @libpath; | ||
23 | |||
24 | foreach my $thislib (split ' ', $potential_libs) { | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch b/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch new file mode 100644 index 0000000000..47f91c56d3 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Use the ld flags from the supplied configuration file. For sh we need the | ||
4 | flags that specify to build PIC code so that the shared libraries work. | ||
5 | |||
6 | Index: perl-5.8.8/Cross/generate_config_sh | ||
7 | =================================================================== | ||
8 | --- perl-5.8.8.orig/Cross/generate_config_sh 2003-09-05 18:31:08.000000000 +1000 | ||
9 | +++ perl-5.8.8/Cross/generate_config_sh 2007-05-30 09:12:50.000000000 +1000 | ||
10 | @@ -19,10 +19,10 @@ | ||
11 | $callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]]; | ||
12 | $callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]]; | ||
13 | $callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]]; | ||
14 | -$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]]; | ||
15 | -$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]]; | ||
16 | -$callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]]; | ||
17 | -$callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]]; | ||
18 | +#$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]]; | ||
19 | +#$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]]; | ||
20 | +$callbacks->{'ccflags'} = [\&simple_process_insert, ["CFLAGS", "-fno-strict-aliasing -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]]; | ||
21 | +$callbacks->{'ccflags_uselargefiles'} = [\&simple_process_insert, ["CFLAGS", "-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]]; | ||
22 | $callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]]; | ||
23 | $callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]]; | ||
24 | $callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]]; | ||
25 | @@ -105,6 +105,23 @@ | ||
26 | |||
27 | } | ||
28 | |||
29 | +# Insert env var into the variables value | ||
30 | +sub simple_process_insert { | ||
31 | + my $key = shift; | ||
32 | + my $value = shift; | ||
33 | + my $envvar = $callbacks->{$key}->[1][0]; | ||
34 | + | ||
35 | + if ($ENV{$envvar}) { | ||
36 | + # Strip quotes from value | ||
37 | + $value =~ s/^\'//; | ||
38 | + $value =~ s/\'$//; | ||
39 | + # Remove -I/usr/local/... from the value | ||
40 | + $value =~ s#\W-I/usr/local/\w+\W# #g; | ||
41 | + # Prepend env var (OE setting) to value | ||
42 | + print("$key=\'$ENV{$envvar} $value\'\n"); | ||
43 | + } | ||
44 | +} | ||
45 | + | ||
46 | sub library_munge { | ||
47 | my $key = shift; | ||
48 | my $value = shift; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch b/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch new file mode 100644 index 0000000000..456012376e --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.12.3/installperl | ||
4 | =================================================================== | ||
5 | --- perl-5.12.3.orig/installperl | ||
6 | +++ perl-5.12.3/installperl | ||
7 | @@ -3,8 +3,8 @@ | ||
8 | BEGIN { | ||
9 | require 5.004; | ||
10 | chdir '..' if !-d 'lib' and -d '../lib'; | ||
11 | - @INC = 'lib'; | ||
12 | - $ENV{PERL5LIB} = 'lib'; | ||
13 | +# @INC = 'lib'; | ||
14 | +# $ENV{PERL5LIB} = 'lib'; | ||
15 | |||
16 | # This needs to be at BEGIN time, before any use of Config | ||
17 | require './install_lib.pl'; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch b/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch new file mode 100644 index 0000000000..5161e4c8b6 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | This removes all the logic that perl uses to locate an appropriate | ||
4 | errno.h for the target. Instead we simple create a file that does | ||
5 | |||
6 | #include "errno.h" | ||
7 | |||
8 | and use that as the file to parse. This is needed when using an | ||
9 | external toolchain since perl will search in ${STAGING_INCDIR} for | ||
10 | errno.h (when using gcc) and that isn't where it's located - its | ||
11 | wherever the external toolchain keeps it's headers. | ||
12 | |||
13 | Index: perl-5.12.3/ext/Errno/Errno_pm.PL | ||
14 | =================================================================== | ||
15 | --- perl-5.12.3.orig/ext/Errno/Errno_pm.PL | ||
16 | +++ perl-5.12.3/ext/Errno/Errno_pm.PL | ||
17 | @@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; | ||
18 | open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!"; | ||
19 | select OUT; | ||
20 | my $file; | ||
21 | -my @files = get_files(); | ||
22 | -if ($Config{gccversion} ne '' && $^O eq 'MSWin32') { | ||
23 | +#my @files = get_files(); | ||
24 | +my @files = ("errno.h"); | ||
25 | + | ||
26 | +if (1) { | ||
27 | + open INCS, '>includes.c' or | ||
28 | + die "Cannot open includes.c"; | ||
29 | + print INCS qq[#include "errno.h"\n]; | ||
30 | + close INCS; | ||
31 | + process_file('includes.c'); | ||
32 | + unlink 'includes.c'; | ||
33 | +} | ||
34 | +elsif ($Config{gccversion} ne '' && $^O eq 'MSWin32') { | ||
35 | # MinGW complains "warning: #pragma system_header ignored outside include | ||
36 | # file" if the header files are processed individually, so include them | ||
37 | # all in .c file and process that instead. | ||
38 | @@ -53,7 +63,7 @@ sub process_file { | ||
39 | chomp($file = `cygpath -w "$file"`); | ||
40 | } | ||
41 | |||
42 | - return unless defined $file and -f $file; | ||
43 | +# return unless defined $file and -f $file; | ||
44 | # warn "Processing $file\n"; | ||
45 | |||
46 | local *FH; | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch new file mode 100644 index 0000000000..389c3342fb --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch | |||
@@ -0,0 +1,82 @@ | |||
1 | Upstream-Status:Inappropriate [debian patch] | ||
2 | |||
3 | Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files | ||
4 | |||
5 | Index: perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
6 | =================================================================== | ||
7 | --- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
8 | +++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
9 | @@ -2047,8 +2047,6 @@ doc__install : doc_site_install | ||
10 | |||
11 | pure_perl_install :: all | ||
12 | $(NOECHO) $(MOD_INSTALL) \ | ||
13 | - read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
14 | - write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ | ||
15 | $(INST_LIB) $(DESTINSTALLPRIVLIB) \ | ||
16 | $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ | ||
17 | $(INST_BIN) $(DESTINSTALLBIN) \ | ||
18 | @@ -2074,8 +2072,6 @@ pure_site_install :: all | ||
19 | |||
20 | pure_vendor_install :: all | ||
21 | $(NOECHO) $(MOD_INSTALL) \ | ||
22 | - read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ | ||
23 | - write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \ | ||
24 | $(INST_LIB) $(DESTINSTALLVENDORLIB) \ | ||
25 | $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ | ||
26 | $(INST_BIN) $(DESTINSTALLVENDORBIN) \ | ||
27 | @@ -2084,37 +2080,19 @@ pure_vendor_install :: all | ||
28 | $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) | ||
29 | |||
30 | doc_perl_install :: all | ||
31 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
32 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
33 | - -$(NOECHO) $(DOC_INSTALL) \ | ||
34 | - "Module" "$(NAME)" \ | ||
35 | - "installed into" "$(INSTALLPRIVLIB)" \ | ||
36 | - LINKTYPE "$(LINKTYPE)" \ | ||
37 | - VERSION "$(VERSION)" \ | ||
38 | - EXE_FILES "$(EXE_FILES)" \ | ||
39 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
40 | |||
41 | doc_site_install :: all | ||
42 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
43 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
44 | + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod | ||
45 | + -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH) | ||
46 | -$(NOECHO) $(DOC_INSTALL) \ | ||
47 | "Module" "$(NAME)" \ | ||
48 | "installed into" "$(INSTALLSITELIB)" \ | ||
49 | LINKTYPE "$(LINKTYPE)" \ | ||
50 | VERSION "$(VERSION)" \ | ||
51 | EXE_FILES "$(EXE_FILES)" \ | ||
52 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
53 | + >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{ | ||
54 | |||
55 | doc_vendor_install :: all | ||
56 | - $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod | ||
57 | - -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) | ||
58 | - -$(NOECHO) $(DOC_INSTALL) \ | ||
59 | - "Module" "$(NAME)" \ | ||
60 | - "installed into" "$(INSTALLVENDORLIB)" \ | ||
61 | - LINKTYPE "$(LINKTYPE)" \ | ||
62 | - VERSION "$(VERSION)" \ | ||
63 | - EXE_FILES "$(EXE_FILES)" \ | ||
64 | - >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ | ||
65 | |||
66 | }; | ||
67 | |||
68 | @@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIR | ||
69 | $(NOECHO) $(NOOP) | ||
70 | |||
71 | uninstall_from_perldirs :: | ||
72 | - $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ | ||
73 | |||
74 | uninstall_from_sitedirs :: | ||
75 | $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ | ||
76 | |||
77 | uninstall_from_vendordirs :: | ||
78 | - $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ | ||
79 | + | ||
80 | }; | ||
81 | |||
82 | join("",@m); | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch b/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch new file mode 100644 index 0000000000..f0bb1f6596 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm | ||
4 | =================================================================== | ||
5 | --- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 | ||
6 | +++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 | ||
7 | @@ -1597,6 +1597,19 @@ | ||
8 | $self->{PERL_LIB} ||= $Config{privlibexp}; | ||
9 | $self->{PERL_ARCHLIB} ||= $Config{archlibexp}; | ||
10 | $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now | ||
11 | + # Check for environment override so we'll find the headers in the correct place | ||
12 | + if (defined $ENV{PERL_LIB}) | ||
13 | + { | ||
14 | + $self->{PERL_LIB} = $ENV{PERL_LIB}; | ||
15 | + } | ||
16 | + if (defined $ENV{PERL_ARCHLIB}) | ||
17 | + { | ||
18 | + $self->{PERL_ARCHLIB} = $ENV{PERL_ARCHLIB}; | ||
19 | + } | ||
20 | + if (defined $ENV{PERL_INC}) | ||
21 | + { | ||
22 | + $self->{PERL_INC} = $ENV{PERL_INC}; | ||
23 | + } | ||
24 | my $perl_h; | ||
25 | |||
26 | if (not -f ($perl_h = $self->catfile($self->{PERL_INC},"perl.h")) | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch new file mode 100644 index 0000000000..c6cc15c93f --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | Upstream-Status:Inappropriate [native] | ||
2 | |||
3 | This patch is used for perl-native only. It enables the switching of | ||
4 | configuration files between Config_heavy.pl and | ||
5 | Config_heavy-target.pl by setting the environment variables | ||
6 | PERLCONFIGTARGET - the later containing settings for the target while | ||
7 | the former contains those for the host. This will allow cpan.bbclass | ||
8 | to use the settings appropriate for the native and/or target builds | ||
9 | as required. This also disables the use of the cache since the cached | ||
10 | values would be valid for the host only. | ||
11 | |||
12 | Index: perl-5.14.2/configpm | ||
13 | =================================================================== | ||
14 | --- perl-5.14.2.orig/configpm | ||
15 | +++ perl-5.14.2/configpm | ||
16 | @@ -658,7 +658,7 @@ sub FETCH { | ||
17 | my($self, $key) = @_; | ||
18 | |||
19 | # check for cached value (which may be undef so we use exists not defined) | ||
20 | - return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key); | ||
21 | + return $self->fetch_string($key); | ||
22 | } | ||
23 | |||
24 | ENDOFEND | ||
25 | @@ -816,7 +816,21 @@ $config_txt .= sprintf <<'ENDOFTIE', $fa | ||
26 | sub DESTROY { } | ||
27 | |||
28 | sub AUTOLOAD { | ||
29 | - require 'Config_heavy.pl'; | ||
30 | + my $cfgfile = 'Config_heavy.pl'; | ||
31 | + if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes") | ||
32 | + { | ||
33 | + $cfgfile = 'Config_heavy-target.pl'; | ||
34 | + } | ||
35 | + if (defined $ENV{PERL_ARCHLIB}) | ||
36 | + { | ||
37 | + push @INC, $ENV{PERL_ARCHLIB}; | ||
38 | + require $cfgfile; | ||
39 | + pop @INC; | ||
40 | + } | ||
41 | + else | ||
42 | + { | ||
43 | + require $cfgfile; | ||
44 | + } | ||
45 | goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/; | ||
46 | die "&Config::AUTOLOAD failed on $Config::AUTOLOAD"; | ||
47 | } | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh new file mode 100755 index 0000000000..e72ce49f99 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh | |||
@@ -0,0 +1,43 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | # | ||
4 | # Generate the common perl configuration | ||
5 | # Needs to be run on a host that matches the bitsize of the target platform | ||
6 | # | ||
7 | |||
8 | echo sh Configure -des \ | ||
9 | -Doptimize=-O2 \ | ||
10 | -Dmyhostname=localhost \ | ||
11 | -Dperladmin=root@localhost \ | ||
12 | -Dcc=gcc \ | ||
13 | -Dcf_by='Open Embedded' \ | ||
14 | -Dinstallprefix=@DESTDIR@ \ | ||
15 | -Dprefix=/usr \ | ||
16 | -Dvendorprefix=/usr \ | ||
17 | -Dsiteprefix=/usr \ | ||
18 | -Dotherlibdirs=/usr/lib/perl5/5.12.3 \ | ||
19 | -Duseshrplib \ | ||
20 | -Dusethreads \ | ||
21 | -Duseithreads \ | ||
22 | -Duselargefiles \ | ||
23 | -Ud_dosuid \ | ||
24 | -Dd_semctl_semun \ | ||
25 | -Ui_db \ | ||
26 | -Ui_ndbm \ | ||
27 | -Ui_gdbm \ | ||
28 | -Di_shadow \ | ||
29 | -Di_syslog \ | ||
30 | -Dman3ext=3pm \ | ||
31 | -Duseperlio \ | ||
32 | -Dinstallusrbinperl \ | ||
33 | -Ubincompat5005 \ | ||
34 | -Uversiononly \ | ||
35 | -Dpager='/usr/bin/less -isr' | ||
36 | |||
37 | cp -f config.sh config.sh.COMMON | ||
38 | |||
39 | TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#") | ||
40 | |||
41 | sed -r -i config.sh.COMMON \ | ||
42 | -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \ | ||
43 | -e 's#'$TARGETOS'#@ARCH@#g' | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch new file mode 100644 index 0000000000..035beba66a --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Allow the location that .so files are searched for for dynamic | ||
4 | loading to be changed via an environment variable. This is to allow | ||
5 | us to load .so's from the host system while building for the target | ||
6 | system. | ||
7 | |||
8 | Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21 | ||
9 | |||
10 | Index: perl-5.14.2/dist/XSLoader/XSLoader_pm.PL | ||
11 | =================================================================== | ||
12 | --- perl-5.14.2.orig/dist/XSLoader/XSLoader_pm.PL | ||
13 | +++ perl-5.14.2/dist/XSLoader/XSLoader_pm.PL | ||
14 | @@ -28,6 +28,20 @@ sub load { | ||
15 | |||
16 | my ($module, $modlibname) = caller(); | ||
17 | |||
18 | + # OE: Allow env to form dynamic loader to look in a different place | ||
19 | + # This is so it finds the host .so files, not the targets | ||
20 | + if (defined $ENV{PERLHOSTLIB}) | ||
21 | + { | ||
22 | + my $hostlib = $ENV{PERLHOSTLIB}; | ||
23 | + print STDERR "*** Module name IN: $modlibname\n"; | ||
24 | + ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/; | ||
25 | + print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n"; | ||
26 | + if ( $p1 ne "" ) { | ||
27 | + $modlibname = $hostlib.$p5; | ||
28 | + } | ||
29 | + print STDERR "*** Module name OUT: $modlibname\n"; | ||
30 | + } | ||
31 | + | ||
32 | if (@_) { | ||
33 | $module = $_[0]; | ||
34 | } else { | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch new file mode 100644 index 0000000000..aa83fca5ae --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | Index: perl-5.8.8/config_h.SH | ||
4 | =================================================================== | ||
5 | --- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800 | ||
6 | +++ perl-5.8.8/config_h.SH 2010-11-01 17:06:07.215219738 +0800 | ||
7 | @@ -709,6 +709,12 @@ | ||
8 | */ | ||
9 | #$i_float I_FLOAT /**/ | ||
10 | |||
11 | +/* I_GDBM: | ||
12 | + * This symbol, if defined, indicates that <gdbm.h> exists and should | ||
13 | + * be included. | ||
14 | + */ | ||
15 | +#$i_gdbm I_GDBM /**/ | ||
16 | + | ||
17 | /* I_LIMITS: | ||
18 | * This symbol, if defined, indicates to the C program that it should | ||
19 | * include <limits.h> to get definition of symbols like WORD_BIT or | ||
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch new file mode 100644 index 0000000000..59ce85a7a3 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Upstream-Status:Inappropriate [embedded specific] | ||
2 | |||
3 | We need ld in the fake config library, but it's not included by default. So | ||
4 | expand the number of items included. While this works it indicates that the | ||
5 | rest of the config items are not being picked up and/or are being picked up | ||
6 | from the host. More investigation needed. | ||
7 | |||
8 | --- perl-5.8.8/configpm 2007/04/20 09:48:05 1.1 | ||
9 | +++ perl-5.8.8/configpm 2007/04/20 09:57:12 | ||
10 | @@ -2,7 +2,7 @@ | ||
11 | use strict; | ||
12 | use vars qw(%Config $Config_SH_expanded); | ||
13 | |||
14 | -my $how_many_common = 22; | ||
15 | +my $how_many_common = 50; | ||
16 | |||
17 | # commonly used names to precache (and hence lookup fastest) | ||
18 | my %Common; | ||