Rename /openembedded/ -> /meta/

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-07-21 10:10:31 +00:00
parent 2cf0eadf9f
commit b2f192faab
1725 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
--- perl-5.8.7/Configure.orig 2006-01-30 10:50:04.000000000 +0000
+++ perl-5.8.7/Configure 2006-01-30 10:51:18.000000000 +0000
@@ -1240,7 +1240,7 @@
loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
: general looking path for locating libraries
-glibpth="/lib /usr/lib $xlibpth"
+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
test -f /shlib/libc.so && glibpth="/shlib $glibpth"

View File

@@ -0,0 +1,298 @@
*** ./Makefile.SH Wed Aug 4 12:16:15 2004
--- ./Makefile.SH.patch Wed Aug 4 14:03:42 2004
***************
*** 110,127 ****
# INSTALL file, under "Building a shared perl library".
# If there is no pre-existing $libperl, we don't need
# to do anything further.
! if test -f $archlib/CORE/$libperl; then
! rm -f preload
! cat <<'EOT' > preload
! #! /bin/sh
! lib=$1
! shift
! test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
! exec "$@"
! EOT
! chmod 755 preload
! ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
! fi
;;
os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
;;
--- 110,116 ----
# INSTALL file, under "Building a shared perl library".
# If there is no pre-existing $libperl, we don't need
# to do anything further.
! echo linux libraries overwritten by cross-compile patches
;;
os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
;;
***************
*** 349,357 ****
.c.s:
$(CCCMDSRC) -S $*.c
! all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
! @echo " ";
! @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
.PHONY: all compile translators utilities
--- 338,358 ----
.c.s:
$(CCCMDSRC) -S $*.c
! #all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
! # @echo " ";
! # @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
!
! all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
! mv miniperl miniperl-cross
! ln -s hostperl miniperl
!
! more: extra.pods $(private) $(public)
!
! more2: $(dynamic_ext)
!
! more3: $(nonxs_ext)
!
! more4: extras.make
.PHONY: all compile translators utilities
***************
*** 361,370 ****
cd x2p; $(MAKE) compile;
cd pod; $(MAKE) compile;
! translators: miniperl$(EXE_EXT) lib/Config.pm FORCE
@echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
! utilities: miniperl$(EXE_EXT) lib/Config.pm $(plextract) lib/lib.pm FORCE
@echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
--- 362,371 ----
cd x2p; $(MAKE) compile;
cd pod; $(MAKE) compile;
! translators: lib/Config.pm FORCE
@echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
! utilities: lib/Config.pm $(plextract) lib/lib.pm FORCE
@echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
***************
*** 541,547 ****
$(CC) -o miniperl $(CLDFLAGS) \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
! $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
beos*|next4*)
--- 542,548 ----
$(CC) -o miniperl $(CLDFLAGS) \
`echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
! # $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
beos*|next4*)
***************
*** 549,555 ****
miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
$(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
! $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
darwin*)
--- 550,556 ----
miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
$(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
! # $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
!NO!SUBS!
;;
darwin*)
***************
*** 716,722 ****
# We need to autosplit in two steps because VOS can't handle so many args
#
.PHONY: preplibrary
! preplibrary: miniperl$(EXE_EXT) lib/Config.pm lib/lib.pm $(PREPLIBRARY_LIBPERL)
@sh ./makedir lib/auto
@echo " AutoSplitting perl library"
$(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
--- 717,723 ----
# We need to autosplit in two steps because VOS can't handle so many args
#
.PHONY: preplibrary
! preplibrary: lib/Config.pm lib/lib.pm $(PREPLIBRARY_LIBPERL)
@sh ./makedir lib/auto
@echo " AutoSplitting perl library"
$(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
***************
*** 728,738 ****
# Take care to avoid modifying lib/Config.pm without reason
# (If trying to create a new port and having problems with the configpm script,
# try 'make minitest' and/or commenting out the tests at the end of configpm.)
! lib/Config.pm: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
$(LDLIBPTH) ./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp $@
! lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl lib/Config.pm
$(LDLIBPTH) ./miniperl minimod.pl > minimod.tmp
sh mv-if-diff minimod.tmp $@
-touch lib/ExtUtils/Miniperl.pm
--- 729,739 ----
# Take care to avoid modifying lib/Config.pm without reason
# (If trying to create a new port and having problems with the configpm script,
# try 'make minitest' and/or commenting out the tests at the end of configpm.)
! lib/Config.pm: config.sh configpm Porting/Glossary
$(LDLIBPTH) ./miniperl -Ilib configpm configpm.tmp
sh mv-if-diff configpm.tmp $@
! lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl lib/Config.pm
$(LDLIBPTH) ./miniperl minimod.pl > minimod.tmp
sh mv-if-diff minimod.tmp $@
-touch lib/ExtUtils/Miniperl.pm
***************
*** 740,757 ****
lib/re.pm: ext/re/re.pm
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
! $(plextract): miniperl$(EXE_EXT) lib/Config.pm x2p/s2p
@-rm -f $@
$(LDLIBPTH) ./miniperl -Ilib $@.PL
! x2p/s2p: miniperl$(EXE_EXT) lib/Config.pm x2p/s2p.PL
cd x2p; $(LDLIBPTH) $(MAKE) s2p
! lib/lib.pm: miniperl$(EXE_EXT) lib/Config.pm
@-rm -f $@
$(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
! extra.pods: miniperl$(EXE_EXT)
-@test -f extra.pods && rm -f `cat extra.pods`
-@rm -f extra.pods
-@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
--- 741,758 ----
lib/re.pm: ext/re/re.pm
cp ext/re/re.pm ext/re/re.tmp && sh mv-if-diff ext/re/re.tmp lib/re.pm
! $(plextract): lib/Config.pm x2p/s2p
@-rm -f $@
$(LDLIBPTH) ./miniperl -Ilib $@.PL
! x2p/s2p: lib/Config.pm x2p/s2p.PL
cd x2p; $(LDLIBPTH) $(MAKE) s2p
! lib/lib.pm: lib/Config.pm
@-rm -f $@
$(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
! extra.pods:
-@test -f extra.pods && rm -f `cat extra.pods`
-@rm -f extra.pods
-@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
***************
*** 798,815 ****
INSTALL_DEPENDENCE = all
install.perl: $(INSTALL_DEPENDENCE) installperl
! if [ -n "$(COMPILE)" ]; \
! then \
! cd utils; $(MAKE) compile; \
! cd ../x2p; $(MAKE) compile; \
! cd ../pod; $(MAKE) compile; \
! else :; \
! fi
! $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
! $(MAKE) extras.install
!
! install.man: all installman
! $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
# XXX Experimental. Hardwired values, but useful for testing.
# Eventually Configure could ask for some of these values.
--- 799,805 ----
INSTALL_DEPENDENCE = all
install.perl: $(INSTALL_DEPENDENCE) installperl
! hostperl -Ifake_config_library -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
# XXX Experimental. Hardwired values, but useful for testing.
# Eventually Configure could ask for some of these values.
***************
*** 925,940 ****
#
# DynaLoader may be needed for extensions that use Makefile.PL.
! $(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
--- 915,930 ----
#
# DynaLoader may be needed for extensions that use Makefile.PL.
! $(DYNALOADER): preplibrary FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
! n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
@$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
.PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
***************
*** 1074,1080 ****
test_prep_pre: preplibrary utilities $(nonxs_ext)
! test_prep: test_prep_pre miniperl$(EXE_EXT) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
PERL=./perl $(MAKE) _test_prep
_test_tty:
--- 1064,1070 ----
test_prep_pre: preplibrary utilities $(nonxs_ext)
! test_prep: test_prep_pre perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
PERL=./perl $(MAKE) _test_prep
_test_tty:
***************
*** 1167,1173 ****
# Can't depend on lib/Config.pm because that might be where miniperl
# is crashing.
! minitest: miniperl$(EXE_EXT) lib/re.pm
-@test -f lib/lib.pm && test -f lib/Config.pm || \
$(MAKE) lib/Config.pm lib/lib.pm
@echo " "
--- 1157,1163 ----
# Can't depend on lib/Config.pm because that might be where miniperl
# is crashing.
! minitest: lib/re.pm
-@test -f lib/lib.pm && test -f lib/Config.pm || \
$(MAKE) lib/Config.pm lib/lib.pm
@echo " "

View File

@@ -0,0 +1,23 @@
*** ./Cross/Makefile 2004-01-12 13:44:01.000000000 -0700
--- ./Cross/Makefile.patch 2004-08-03 16:34:18.000000000 -0700
***************
*** 58,66 ****
$(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
! cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
! cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
! cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
cd $(TOPDIR)/.. ; rm -rf install_me_here
cd $(TOPDIR)/.. ; make install-strip
cd $(TOPDIR)/.. ; sh -x Cross/warp
--- 58,66 ----
$(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
! cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
! cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
! cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
cd $(TOPDIR)/.. ; rm -rf install_me_here
cd $(TOPDIR)/.. ; make install-strip
cd $(TOPDIR)/.. ; sh -x Cross/warp

View File

@@ -0,0 +1,46 @@
*** ./Cross/config.sh-arm-linux Mon Dec 22 06:00:37 2003
--- ./Cross/config.sh-arm-linux.patch Tue Aug 3 17:57:08 2004
***************
*** 794,805 ****
passcat='cat /etc/passwd'
patchlevel='8'
path_sep=':'
! perl5='/usr/bin/perl'
perl=''
perl_patchlevel=''
perladmin='red@criticalintegration.com'
perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
! perlpath='/usr/bin/perl'
pg='pg'
phostname='hostname'
pidtype='pid_t'
--- 794,805 ----
passcat='cat /etc/passwd'
patchlevel='8'
path_sep=':'
! perl5='hostperl'
perl=''
perl_patchlevel=''
perladmin='red@criticalintegration.com'
perllibs='-lnsl -ldl -lm -lcrypt -lutil -lc'
! perlpath='hostperl'
pg='pg'
phostname='hostname'
pidtype='pid_t'
***************
*** 905,911 ****
srandom_r_proto='0'
src='.'
ssizetype='ssize_t'
! startperl='#!/usr/bin/perl'
startsh='#!/bin/sh'
static_ext=' '
stdchar='char'
--- 905,911 ----
srandom_r_proto='0'
src='.'
ssizetype='ssize_t'
! startperl='#!hostperl'
startsh='#!/bin/sh'
static_ext=' '
stdchar='char'

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
--- Makefile.SH.orig 2003-07-10 14:59:04.000000000 -0700
+++ Makefile.SH 2003-07-10 15:14:08.000000000 -0700
@@ -494,7 +494,7 @@
case "$useshrplib" in
true)
$spitshell >>Makefile <<'!NO!SUBS!'
- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs)
+ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -soname libperl.so.5
!NO!SUBS!
case "$osname" in
aix)

View File

@@ -0,0 +1,26 @@
As seen at http://codepoet.org/lists/uclibc/2004-March/008512.html:
Try the following (untested). In .26, the field member was filedes.
Current cvs uses __filedes (double underscore prefix).
Manuel
--- perl-5.8.4.orig/perlio.c 2004-03-22 14:54:03.000000000 -0500
+++ perl-5.8.4/perlio.c 2005-03-09 04:33:49.386767312 -0500
@@ -2824,7 +2824,15 @@
/* XXX this could use PerlIO_canset_fileno() and
* PerlIO_set_fileno() support from Configure
*/
-# if defined(__GLIBC__)
+# if defined(__UCLIBC__)
+ /* uClibc must come before glibc because it defines __GLIBC__ as well. */
+# if defined(__MASK_READING)
+ f->__filedes = -1;
+# else
+ f->filedes = -1;
+# endif
+ return 1;
+# elif defined(__GLIBC__)
/* There may be a better way for GLIBC:
- libio.h defines a flag to not close() on cleanup
*/