1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../mc-mp/umode_t.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
28 /* Define umode_t if your system does not provide it */
30 +#include <asm/types.h>
32 /* Define nlink_t if your system does not provide it */