Dash:
[t2.git] / package / shells / pdksh / mips.patch
blobaf628a0d090747322480d5c40b5f4dabc5f512bf
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../pdksh/mips.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Some hackery to get mips building.
19 - Rene Rebe <rene@exactcode.de>
21 --- pdksh-5.2.14/sh.h.vanilla 2005-11-06 16:30:50.000000000 +0100
22 +++ pdksh-5.2.14/sh.h 2005-11-06 16:31:18.000000000 +0100
23 @@ -251,7 +251,7 @@
24 # if SIZEOF_LONG >= 4
25 # define INT32 long
26 # else /* SIZEOF_LONG */
27 - #error cannot find 32 bit type...
28 +# define INT32 int32_t
29 # endif /* SIZEOF_LONG */
30 #endif /* SIZEOF_INT */