summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2006-05-12 03:00:40 +0000
committerStefan Jones <cretin@gentoo.org>2006-05-12 03:00:40 +0000
commitd8c65da0380456077e9fe73cf21beff2ec029ffe (patch)
tree884b9f59c4633c08fb5bc156f892ecadfebd6caa /app-shells
parentStable on x86, the torrents are fallling the torrents are falling (diff)
downloadhistorical-d8c65da0380456077e9fe73cf21beff2ec029ffe.tar.gz
historical-d8c65da0380456077e9fe73cf21beff2ec029ffe.tar.bz2
historical-d8c65da0380456077e9fe73cf21beff2ec029ffe.zip
Bump with compile fixes for #50000 #97795 #120724 #130740 hopefully
Package-Manager: portage-2.1_pre10-r5
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/ksh/ChangeLog9
-rw-r--r--app-shells/ksh/Manifest76
-rw-r--r--app-shells/ksh/files/digest-ksh-93.200602148
-rw-r--r--app-shells/ksh/files/digest-ksh-93.20060214-r19
-rw-r--r--app-shells/ksh/files/ksh-20041225-gcc4.patch11
-rw-r--r--app-shells/ksh/files/ksh-20050202-uname.patch19
-rw-r--r--app-shells/ksh/files/ksh-20060124-syntax.patch64
-rw-r--r--app-shells/ksh/ksh-93.20060214-r1.ebuild70
8 files changed, 257 insertions, 9 deletions
diff --git a/app-shells/ksh/ChangeLog b/app-shells/ksh/ChangeLog
index d7a8ea2025cb..e3ea9131e11a 100644
--- a/app-shells/ksh/ChangeLog
+++ b/app-shells/ksh/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-shells/ksh
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.25 2006/04/21 17:13:34 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.26 2006/05/12 03:00:40 cretin Exp $
+
+*ksh-93.20060214-r1 (12 May 2006)
+
+ 12 May 2006; Stefan Jones <cretin@gentoo.org>
+ +files/ksh-20041225-gcc4.patch, +files/ksh-20050202-uname.patch,
+ +files/ksh-20060124-syntax.patch, +ksh-93.20060214-r1.ebuild:
+ Bump with compile fixes for #50000 #97795 #120724 #130740 hopefully
*ksh-93.20060214 (21 Apr 2006)
diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest
index 45cab8d260cf..1f5e4ba5934f 100644
--- a/app-shells/ksh/Manifest
+++ b/app-shells/ksh/Manifest
@@ -1,12 +1,74 @@
-MD5 f6a024aa66cf1e16ca5e162bcc1f8a72 ksh-93.20050202.ebuild 2029
-MD5 1cba1f1a7c14a82bfc07d09fb7003bec ksh-93.20040229.ebuild 2293
+AUX ksh-20041225-gcc4.patch 357 RMD160 7c6fe012fa7442cd10198973c16bc9732056d4c5 SHA1 ed836489098c0589844bab131dcd97244fffd16f SHA256 7f9312b238cddf54b78c246e37190d3a94ef23025cbac8c28a27487ebc67f9af size 357
+MD5 53a83b2dfd0ecaf0f702e77584d4ae89 files/ksh-20041225-gcc4.patch 357
+RMD160 7c6fe012fa7442cd10198973c16bc9732056d4c5 files/ksh-20041225-gcc4.patch 357
+SHA256 7f9312b238cddf54b78c246e37190d3a94ef23025cbac8c28a27487ebc67f9af files/ksh-20041225-gcc4.patch 357
+AUX ksh-20050202-uname.patch 754 RMD160 7d198669b28d637c5f07540d9939ab85ccf4beb7 SHA1 116cb32122fc3d4863f8ab41ad023f93cb83dc4e SHA256 ef2032d2fcf4c724453d068f89913bd804937860031582b5fd6814cac1564a78 size 754
+MD5 99ce035a2125b29a6615abba1ed5d8bf files/ksh-20050202-uname.patch 754
+RMD160 7d198669b28d637c5f07540d9939ab85ccf4beb7 files/ksh-20050202-uname.patch 754
+SHA256 ef2032d2fcf4c724453d068f89913bd804937860031582b5fd6814cac1564a78 files/ksh-20050202-uname.patch 754
+AUX ksh-20060124-syntax.patch 3253 RMD160 94448c2254398527656619a9a038869e5ea37d60 SHA1 63a82523360ced9306031c2392c4303fb8ae8bc6 SHA256 bd938dc795fdff79766736f4d56ca9387f1dba5f20ce39234e6df37f52f3bc45 size 3253
+MD5 702993754e62bc03f02ba3a4aa5bf05b files/ksh-20060124-syntax.patch 3253
+RMD160 94448c2254398527656619a9a038869e5ea37d60 files/ksh-20060124-syntax.patch 3253
+SHA256 bd938dc795fdff79766736f4d56ca9387f1dba5f20ce39234e6df37f52f3bc45 files/ksh-20060124-syntax.patch 3253
+AUX ksh-93.20030724-libs.diff 12867 RMD160 acf9b6da5e793ede841545f07cdd05b077a2f097 SHA1 de57310b9f6aa2f50dbf2fc4fbd2331e2dd47acc SHA256 06249e684247caf85672347fd94bb463466d0a195056e0fd72c8eb9bdfda824b size 12867
+MD5 fc05a830ab720e8d3462bb10f0474258 files/ksh-93.20030724-libs.diff 12867
+RMD160 acf9b6da5e793ede841545f07cdd05b077a2f097 files/ksh-93.20030724-libs.diff 12867
+SHA256 06249e684247caf85672347fd94bb463466d0a195056e0fd72c8eb9bdfda824b files/ksh-93.20030724-libs.diff 12867
+AUX ksh-build-problems.diff 303 RMD160 c454ef7e6d9aad10afa057d9b6ae7f6f17b7e56e SHA1 dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0 SHA256 99c829558a93a842e8840b93219d69e8485cc68c2ac277a7e018dad04c606dec size 303
+MD5 c2103b0157f069fd50dacdf50670d848 files/ksh-build-problems.diff 303
+RMD160 c454ef7e6d9aad10afa057d9b6ae7f6f17b7e56e files/ksh-build-problems.diff 303
+SHA256 99c829558a93a842e8840b93219d69e8485cc68c2ac277a7e018dad04c606dec files/ksh-build-problems.diff 303
+DIST INIT.2003-07-24.tgz 258944 size 258944
+DIST INIT.2004-02-29.tgz 268141 size 268141
+DIST INIT.2005-02-02.tgz 298407 size 298407
+DIST INIT.2006-02-14.tgz 317116 RMD160 68649532a15c34dcb20d61a544c1594d030c5f3f SHA256 3c8e8de02004ba198ec4238a4ccd3abf99e7cedde8ce8c9e83db564d6fdc272c size 317116
+DIST ast-ksh-locale.2003-04-22.tgz 516623 size 516623
+DIST ast-ksh-locale.2005-02-02.tgz 571632 size 571632
+DIST ast-ksh-locale.2006-02-14.tgz 592924 RMD160 35054edf67a0d9808c1b465d35a0946e9726f8a5 SHA256 b8a6ec19eb60de07dfb5a9782bdf059dba4421500db38e7c2080066c4d8d4032 size 592924
+DIST ast-ksh.2003-07-24.tgz 1459120 size 1459120
+DIST ast-ksh.2004-02-29.tgz 2501552 size 2501552
+DIST ast-ksh.2005-02-02.tgz 1529366 size 1529366
+DIST ast-ksh.2006-02-14.tgz 1575902 RMD160 e4ac75119e4678af2c90cb3a1a28805ad380e9dd SHA256 f9720cc52f076c8f1754e909443edef7fd614460c57d29ed086d564d0e5816b4 size 1575902
+EBUILD ksh-93.20030724.ebuild 2378 RMD160 95e7ffb102c4207108bf88bd39e3cc3e9df96050 SHA1 109ac19567abb0182b71c4dfa1297a82c2009348 SHA256 bee1043492dc162be5d07a2a89383b7d24be47615e1b70c3ecb4e661e523be93 size 2378
MD5 2df344586701299284d4eadf587cfc1c ksh-93.20030724.ebuild 2378
-MD5 2d0f0a7b1bb901d2c88368eb110a88a8 ChangeLog 2948
-MD5 e283b9362f2885bedf238e7c08f51e26 metadata.xml 1272
+RMD160 95e7ffb102c4207108bf88bd39e3cc3e9df96050 ksh-93.20030724.ebuild 2378
+SHA256 bee1043492dc162be5d07a2a89383b7d24be47615e1b70c3ecb4e661e523be93 ksh-93.20030724.ebuild 2378
+EBUILD ksh-93.20040229.ebuild 2293 RMD160 6d88e3f25bf0e68178fe7f393902c18ee52ec77f SHA1 85ff2a78398476c0451ccd3da2bd8fb27401d89a SHA256 6c9633d2fa89175dae5647b00b8822c506a5256d3eeae42fa96c78b0ee722fec size 2293
+MD5 1cba1f1a7c14a82bfc07d09fb7003bec ksh-93.20040229.ebuild 2293
+RMD160 6d88e3f25bf0e68178fe7f393902c18ee52ec77f ksh-93.20040229.ebuild 2293
+SHA256 6c9633d2fa89175dae5647b00b8822c506a5256d3eeae42fa96c78b0ee722fec ksh-93.20040229.ebuild 2293
+EBUILD ksh-93.20050202.ebuild 2029 RMD160 f6d22d3e0cee8a02bdc72ef57080a7049c9d910e SHA1 17f81cb65852e54231a10c2f1fd83f6403a42aee SHA256 1c75d550ae1fc1e6593292b2f27be5a4ec34e76c4cdd32b4822507b29b5a8155 size 2029
+MD5 f6a024aa66cf1e16ca5e162bcc1f8a72 ksh-93.20050202.ebuild 2029
+RMD160 f6d22d3e0cee8a02bdc72ef57080a7049c9d910e ksh-93.20050202.ebuild 2029
+SHA256 1c75d550ae1fc1e6593292b2f27be5a4ec34e76c4cdd32b4822507b29b5a8155 ksh-93.20050202.ebuild 2029
+EBUILD ksh-93.20060214-r1.ebuild 1840 RMD160 211ce03747ab26514e225e760d22dfd9f5903f0b SHA1 7f540adb7477706cfe7f219b08e61ec9aaa69157 SHA256 c2959e14e57c72d64ca4360f6c4c03b5c0a6e32d78feea0bf463d9909331553b size 1840
+MD5 824db2e16d2ce560791bfb9a81949c1b ksh-93.20060214-r1.ebuild 1840
+RMD160 211ce03747ab26514e225e760d22dfd9f5903f0b ksh-93.20060214-r1.ebuild 1840
+SHA256 c2959e14e57c72d64ca4360f6c4c03b5c0a6e32d78feea0bf463d9909331553b ksh-93.20060214-r1.ebuild 1840
+EBUILD ksh-93.20060214.ebuild 1765 RMD160 e065e9a77548c239d98e8a3f01fe55c796970cb6 SHA1 f6cd5b48517a3a65bec4397e6c6e411772b3c72a SHA256 2b0cce806765fdb44ef923f38953beac73cb1426da51bd2f7085235800124f52 size 1765
MD5 cefab0ede56cd4c2b9aef8ef4da88ed6 ksh-93.20060214.ebuild 1765
-MD5 c2103b0157f069fd50dacdf50670d848 files/ksh-build-problems.diff 303
-MD5 fc05a830ab720e8d3462bb10f0474258 files/ksh-93.20030724-libs.diff 12867
+RMD160 e065e9a77548c239d98e8a3f01fe55c796970cb6 ksh-93.20060214.ebuild 1765
+SHA256 2b0cce806765fdb44ef923f38953beac73cb1426da51bd2f7085235800124f52 ksh-93.20060214.ebuild 1765
+MISC ChangeLog 3233 RMD160 9464905a3ebe496290ddc6b9bd0f64c2e930c63f SHA1 46e881ba30eccc30a8883bf3ecb9fe8fe47f69a5 SHA256 e59e8823879b16716192f3c72d57580b9482ecbb7648316c4f6e771738eedbdf size 3233
+MD5 c8de4de0f10f4af610867e1cddc45f9c ChangeLog 3233
+RMD160 9464905a3ebe496290ddc6b9bd0f64c2e930c63f ChangeLog 3233
+SHA256 e59e8823879b16716192f3c72d57580b9482ecbb7648316c4f6e771738eedbdf ChangeLog 3233
+MISC metadata.xml 1272 RMD160 44e37f599ec2d8e711f244f76559c6e10c6b49d0 SHA1 0a76b17c05d6e4b2676fab810d526c53840d9deb SHA256 ae0640c3d57fe57564524f7ec3275084840d8ee152b65b777e6a5fef7c842642 size 1272
+MD5 e283b9362f2885bedf238e7c08f51e26 metadata.xml 1272
+RMD160 44e37f599ec2d8e711f244f76559c6e10c6b49d0 metadata.xml 1272
+SHA256 ae0640c3d57fe57564524f7ec3275084840d8ee152b65b777e6a5fef7c842642 metadata.xml 1272
MD5 75a91bdad38d09a163894fd8ebc8adff files/digest-ksh-93.20030724 206
+RMD160 5075a83e846a7e05eec863163eccc79c59895acb files/digest-ksh-93.20030724 206
+SHA256 852e5585db047881c9373367e484a21e6d91c749c5019d8a0a9a6486ccf316d6 files/digest-ksh-93.20030724 206
MD5 9d9dc80da41b462852a6632153563619 files/digest-ksh-93.20040229 206
+RMD160 09bca80ba976a01f4bbde78d03eb07936bfcb468 files/digest-ksh-93.20040229 206
+SHA256 c0d4f1fc2de1ad350a7ea36d2a7f6b67323dab9ff084ecafd9f86444bb015d8a files/digest-ksh-93.20040229 206
MD5 da9b0b1c8ec37e2f3c71214296964484 files/digest-ksh-93.20050202 206
-MD5 204c0530766c46cb2be91ba5ffb84ba4 files/digest-ksh-93.20060214 206
+RMD160 fe8bab7c0f075acc332334c8fdab76f976ec2b53 files/digest-ksh-93.20050202 206
+SHA256 cc95c9f4b299dc98e7e54820c0eac414c07f94095fadd48f720c3b7ecf9d48a9 files/digest-ksh-93.20050202 206
+MD5 a5c8a370b22002414fcff6e8ecadaea5 files/digest-ksh-93.20060214 756
+RMD160 62c5ddac21edceae0b87ef0ab9b0b5465db94684 files/digest-ksh-93.20060214 756
+SHA256 176831ad50d01d5dd97cf50ab5b53ccdfe563266b3dca0d34c49326deed9c090 files/digest-ksh-93.20060214 756
+MD5 a5c8a370b22002414fcff6e8ecadaea5 files/digest-ksh-93.20060214-r1 756
+RMD160 62c5ddac21edceae0b87ef0ab9b0b5465db94684 files/digest-ksh-93.20060214-r1 756
+SHA256 176831ad50d01d5dd97cf50ab5b53ccdfe563266b3dca0d34c49326deed9c090 files/digest-ksh-93.20060214-r1 756
diff --git a/app-shells/ksh/files/digest-ksh-93.20060214 b/app-shells/ksh/files/digest-ksh-93.20060214
index c107748612aa..9cad10307307 100644
--- a/app-shells/ksh/files/digest-ksh-93.20060214
+++ b/app-shells/ksh/files/digest-ksh-93.20060214
@@ -1,3 +1,9 @@
MD5 375ede1f75db451f645a140ec41b9216 INIT.2006-02-14.tgz 317116
-MD5 76a13bdb10a35b5ff67208cf9042a8bf ast-ksh.2006-02-14.tgz 1575902
+RMD160 68649532a15c34dcb20d61a544c1594d030c5f3f INIT.2006-02-14.tgz 317116
+SHA256 3c8e8de02004ba198ec4238a4ccd3abf99e7cedde8ce8c9e83db564d6fdc272c INIT.2006-02-14.tgz 317116
MD5 aeafd460e8079c3d038fb5049662d545 ast-ksh-locale.2006-02-14.tgz 592924
+RMD160 35054edf67a0d9808c1b465d35a0946e9726f8a5 ast-ksh-locale.2006-02-14.tgz 592924
+SHA256 b8a6ec19eb60de07dfb5a9782bdf059dba4421500db38e7c2080066c4d8d4032 ast-ksh-locale.2006-02-14.tgz 592924
+MD5 76a13bdb10a35b5ff67208cf9042a8bf ast-ksh.2006-02-14.tgz 1575902
+RMD160 e4ac75119e4678af2c90cb3a1a28805ad380e9dd ast-ksh.2006-02-14.tgz 1575902
+SHA256 f9720cc52f076c8f1754e909443edef7fd614460c57d29ed086d564d0e5816b4 ast-ksh.2006-02-14.tgz 1575902
diff --git a/app-shells/ksh/files/digest-ksh-93.20060214-r1 b/app-shells/ksh/files/digest-ksh-93.20060214-r1
new file mode 100644
index 000000000000..9cad10307307
--- /dev/null
+++ b/app-shells/ksh/files/digest-ksh-93.20060214-r1
@@ -0,0 +1,9 @@
+MD5 375ede1f75db451f645a140ec41b9216 INIT.2006-02-14.tgz 317116
+RMD160 68649532a15c34dcb20d61a544c1594d030c5f3f INIT.2006-02-14.tgz 317116
+SHA256 3c8e8de02004ba198ec4238a4ccd3abf99e7cedde8ce8c9e83db564d6fdc272c INIT.2006-02-14.tgz 317116
+MD5 aeafd460e8079c3d038fb5049662d545 ast-ksh-locale.2006-02-14.tgz 592924
+RMD160 35054edf67a0d9808c1b465d35a0946e9726f8a5 ast-ksh-locale.2006-02-14.tgz 592924
+SHA256 b8a6ec19eb60de07dfb5a9782bdf059dba4421500db38e7c2080066c4d8d4032 ast-ksh-locale.2006-02-14.tgz 592924
+MD5 76a13bdb10a35b5ff67208cf9042a8bf ast-ksh.2006-02-14.tgz 1575902
+RMD160 e4ac75119e4678af2c90cb3a1a28805ad380e9dd ast-ksh.2006-02-14.tgz 1575902
+SHA256 f9720cc52f076c8f1754e909443edef7fd614460c57d29ed086d564d0e5816b4 ast-ksh.2006-02-14.tgz 1575902
diff --git a/app-shells/ksh/files/ksh-20041225-gcc4.patch b/app-shells/ksh/files/ksh-20041225-gcc4.patch
new file mode 100644
index 000000000000..6158f42019d7
--- /dev/null
+++ b/app-shells/ksh/files/ksh-20041225-gcc4.patch
@@ -0,0 +1,11 @@
+--- ksh-20041225/src/lib/libast/sfio/sfstrtof.h.gcc4 2005-03-01 05:59:18.000000000 -0500
++++ ksh-20041225/src/lib/libast/sfio/sfstrtof.h 2005-03-01 06:00:18.000000000 -0500
+@@ -53,7 +53,7 @@
+
+ #if !defined(S2F_function)
+ #define S2F_function _sfdscan
+-#define S2F_static 1
++#define S2F_static -1
+ #define S2F_type 2
+ #define S2F_scan 1
+ #ifndef elementsof
diff --git a/app-shells/ksh/files/ksh-20050202-uname.patch b/app-shells/ksh/files/ksh-20050202-uname.patch
new file mode 100644
index 000000000000..bb66db600f3c
--- /dev/null
+++ b/app-shells/ksh/files/ksh-20050202-uname.patch
@@ -0,0 +1,19 @@
+--- ksh-20050202_new/src/lib/libcmd/uname.c.uname 2006-02-01 15:32:32.000000000 +0100
++++ ksh-20050202_new/src/lib/libcmd/uname.c 2006-02-01 15:48:37.000000000 +0100
+@@ -394,6 +394,16 @@
+ {
+ if (!*(s = astconf("PLATFORM", NiL, NiL)))
+ s = astconf("HW_NAME", NiL, NiL);
++ if (! *s && !*(s = astconf("ARCHITECTURE", NiL, NiL)))
++ {
++ if (t = strchr(hosttype, '.'))
++ t++;
++ else
++ t = hosttype;
++ strncpy(s = buf, t, sizeof(buf) - 1);
++ }
++ if(strlen(s)==4 && s[0]=='i' && s[2]=='8' && s[3]=='6')
++ s[1]='3';
+ output(OPT_implementation, s, "implementation");
+ }
+ if (flags & OPT_extended_release)
diff --git a/app-shells/ksh/files/ksh-20060124-syntax.patch b/app-shells/ksh/files/ksh-20060124-syntax.patch
new file mode 100644
index 000000000000..7f92bee3a7e7
--- /dev/null
+++ b/app-shells/ksh/files/ksh-20060124-syntax.patch
@@ -0,0 +1,64 @@
+diff -urN ksh-20060124_old/src/lib/libast/Mamfile ksh-20060124_new/src/lib/libast/Mamfile
+--- ksh-20060124_old/src/lib/libast/Mamfile 2006-01-24 18:17:19.000000000 -0500
++++ ksh-20060124_new/src/lib/libast/Mamfile 2006-02-14 04:43:39.000000000 -0500
+@@ -6939,7 +6939,7 @@
+ make ${INSTALLROOT}/include/ast/fmtmsg.h
+ prev comp/fmtmsg.h
+ prev ast_lib.h
+-exec - case ${mam_cc_HOSTTYPE} in
++exec - case "${mam_cc_HOSTTYPE}" in
+ exec - win32.*)proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' comp/fmtmsg.h > 1.${COTEMP}.x
+ exec - if cmp 2>/dev/null -s ${INSTALLROOT}/include/ast/fmtmsg.h 1.${COTEMP}.x
+ exec - then rm -f 1.${COTEMP}.x
+@@ -6960,7 +6960,7 @@
+ make ${INSTALLROOT}/include/ast/libgen.h
+ prev comp/libgen.h
+ prev ast_lib.h
+-exec - case ${mam_cc_HOSTTYPE} in
++exec - case "${mam_cc_HOSTTYPE}" in
+ exec - win32.*)proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' comp/libgen.h > 1.${COTEMP}.x
+ exec - if cmp 2>/dev/null -s ${INSTALLROOT}/include/ast/libgen.h 1.${COTEMP}.x
+ exec - then rm -f 1.${COTEMP}.x
+@@ -6981,7 +6981,7 @@
+ make ${INSTALLROOT}/include/ast/syslog.h
+ prev comp/syslog.h
+ prev ast_lib.h
+-exec - case ${mam_cc_HOSTTYPE} in
++exec - case "${mam_cc_HOSTTYPE}" in
+ exec - win32.*)proto -p -s -l ${PACKAGEROOT}/lib/package/ast.lic '-o since=1985,author=gsf+dgk+kpv' comp/syslog.h > 1.${COTEMP}.x
+ exec - if cmp 2>/dev/null -s ${INSTALLROOT}/include/ast/syslog.h 1.${COTEMP}.x
+ exec - then rm -f 1.${COTEMP}.x
+--- ksh-20060124_new/src/lib/libast/features/stdio.rh1 2006-02-15 07:18:01.000000000 -0500
++++ ksh-20060124_new/src/lib/libast/features/stdio 2006-02-15 07:18:25.000000000 -0500
+@@ -269,7 +269,9 @@
+ printf("#define getw _ast_getw\n");
+ printf("#define pclose _ast_pclose\n");
+ printf("#define popen _ast_popen\n");
++/*
+ printf("#define printf _ast_printf\n");
++*/
+ printf("#define puts _ast_puts\n");
+ printf("#define putw _ast_putw\n");
+ printf("#define rewind _ast_rewind\n");
+--- ksh-20060124/src/cmd/ksh93/Mamfile.iffedebug 2006-01-24 18:16:51.000000000 -0500
++++ ksh-20060124/src/cmd/ksh93/Mamfile 2006-02-14 09:54:18.000000000 -0500
+@@ -1356,7 +1356,7 @@
+ prev ${mam_libsecdb}
+ prev +lintl
+ prev ${mam_libdl}
+-exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ksh pmain.o ${mam_libshell} ${mam_libast}
++exec - ${CC} ${CCLDFLAGS} -L. -L../../../lib ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${INSTALLROOT}/lib} -o ksh pmain.o ${mam_libshell} ${mam_libast}
+ done ksh generated
+ make shcomp
+ make shcomp.o
+--- ksh-20060124/src/cmd/ksh93/Mamfile.rh1 2006-02-14 10:25:47.000000000 -0500
++++ ksh-20060124/src/cmd/ksh93/Mamfile 2006-02-14 10:26:32.000000000 -0500
+@@ -1403,7 +1403,7 @@
+ prev +lintl
+ prev ${mam_libdl}
+ setv CC.DLL -UCC.DLL
+-exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o ${mam_libast} ${mam_libast}
++exec - ${CC} ${CCLDFLAGS} ${mam_cc_FLAGS} -L. -L../../../lib ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L${INSTALLROOT}/lib} -o suid_exec suid_exec.o ${mam_libast} ${mam_libast}
+ done suid_exec generated
+ make shell
+ prev libshell.a archive
diff --git a/app-shells/ksh/ksh-93.20060214-r1.ebuild b/app-shells/ksh/ksh-93.20060214-r1.ebuild
new file mode 100644
index 000000000000..1edf88a18ab4
--- /dev/null
+++ b/app-shells/ksh/ksh-93.20060214-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20060214-r1.ebuild,v 1.1 2006/05/12 03:00:40 cretin Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+RELEASE="2006-02-14"
+DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
+HOMEPAGE="http://www.kornshell.com/"
+SRC_URI="nls? ( mirror://gentoo/ast-ksh-locale.${RELEASE}.tgz )
+ mirror://gentoo/INIT.${RELEASE}.tgz
+ mirror://gentoo/ast-ksh.${RELEASE}.tgz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha ~arm ~s390 ~ia64 ~ppc ~amd64"
+IUSE="nls"
+
+DEPEND="virtual/libc !app-shells/pdksh"
+
+S=${WORKDIR}
+
+src_unpack() {
+ # the AT&T build tools look in here for packages.
+ mkdir -p ${S}/lib/package/tgz
+
+ # move the packages into place.
+ cp ${DISTDIR}/ast-ksh.${RELEASE}.tgz ${S}/lib/package/tgz/ || die
+
+ if use nls; then
+ cp ${DISTDIR}/ast-ksh-locale.${RELEASE}.tgz ${S}/lib/package/tgz/ || die
+ fi
+
+ # INIT provides the basic tools to start building.
+ unpack INIT.${RELEASE}.tgz
+
+ # `package read` will unpack any tarballs put in place.
+ ${S}/bin/package read || die
+
+ epatch ${FILESDIR}/ksh-20041225-gcc4.patch
+ epatch ${FILESDIR}/ksh-20050202-uname.patch
+ epatch ${FILESDIR}/ksh-20060124-syntax.patch
+}
+
+src_compile() {
+ strip-flags; export CCFLAGS="${CFLAGS}"
+
+ cd ${S}; ./bin/package only make ast-ksh CC="$(tc-getCC)" || die
+
+ # install the optional locale data.
+ if use nls; then
+ cd ${S}; ./bin/package only make ast-ksh-locale CC="$(tc-getCC)"
+ fi
+}
+
+src_install() {
+ exeinto /bin
+ doexe ${S}/arch/linux.*/bin/ok/ksh || die
+
+ dosym /bin/ksh /bin/ksh93
+
+ newman ${S}/arch/linux.*/man/man1/sh.1 ksh.1
+ dodoc lib/package/LICENSES/ast
+ dohtml lib/package/ast-ksh.html
+
+ if use nls; then
+ dodir /usr/share
+ mv ${S}/share/lib/locale ${D}/usr/share
+ fi
+}