Dash:
[t2.git] / package / shells / mc-mp / umode_t.patch
blobd68a6a343f8c703fd4d20f500c0bd0721c4dde0e
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../mc-mp/umode_t.patch
5 # Copyright (C) 2008 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 On some architectures it just build accidently, however on e.g. powerpc64
18 defining umode_t results in un-parse-able constructs in <asm/types.h>.
19 Just include it to get the define.
21 - Rene Rebe <rene@exactcode.de>
23 --- mc-4.1.40-pre9/config.h.in.vanilla 2008-08-23 12:13:57.000000000 +0200
24 +++ mc-4.1.40-pre9/config.h.in 2008-08-23 12:14:43.000000000 +0200
25 @@ -141,7 +141,7 @@
26 #undef STAT_STATVFS
28 /* Define umode_t if your system does not provide it */
29 -#undef umode_t
30 +#include <asm/types.h>
32 /* Define nlink_t if your system does not provide it */
33 #undef nlink_t