diff options
author | 2004-06-15 06:18:26 +0000 | |
---|---|---|
committer | 2004-06-15 06:18:26 +0000 | |
commit | 64ee418c1af0d64432c844939137bfe7c1391a0e (patch) | |
tree | d29d708ca35ab17efae56574409c323797978293 /dev-lang/perl/files | |
parent | Version bump, see bug #53859 (diff) | |
download | historical-64ee418c1af0d64432c844939137bfe7c1391a0e.tar.gz historical-64ee418c1af0d64432c844939137bfe7c1391a0e.tar.bz2 historical-64ee418c1af0d64432c844939137bfe7c1391a0e.zip |
basic initial uclibc support needed for bootstrapping
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r-- | dev-lang/perl/files/perl-5.8.2-uclibc.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-5.8.2-uclibc.patch b/dev-lang/perl/files/perl-5.8.2-uclibc.patch new file mode 100644 index 000000000000..1e086d73879a --- /dev/null +++ b/dev-lang/perl/files/perl-5.8.2-uclibc.patch @@ -0,0 +1,15 @@ +--- perl-5.8.2/perlio.c-dist 2003-12-03 14:30:24.000000000 -0700 ++++ perl-5.8.2/perlio.c 2003-12-03 14:32:10.000000000 -0700 +@@ -2824,7 +2824,11 @@ + /* 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. */ ++ f->__filedes = -1; ++ return 1; ++# elif defined(__GLIBC__) + /* There may be a better way for GLIBC: + - libio.h defines a flag to not close() on cleanup + */ |