1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../mtools/hotfixes.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 Clifford Wolf
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- SDE-COPYRIGHT-NOTE-END ---
18 --- ./devices.h.orig Sun Mar 12 17:49:46 2000
19 +++ ./devices.h Sun Mar 12 17:50:06 2000
21 #endif /* MINOR not defined */
25 +#define _LINUX_STRING_H_
27 +# include <linux/kdev_t.h>
28 +# include <linux/list.h>
30 #include <linux/fs.h> /* get MAJOR/MINOR from Linux kernel */
32 #define major(x) MAJOR(x)
33 --- ./mformat.c.orig Sun Mar 12 17:49:46 2000
34 +++ ./mformat.c Sun Mar 12 17:50:27 2000
39 +#define _LINUX_STRING_H_
41 +# include <linux/kdev_t.h>
42 +# include <linux/list.h>
44 #include "linux/hdreg.h"
47 --- ./mpartition.c.orig Sun Mar 12 17:49:46 2000
48 +++ ./mpartition.c Sun Mar 12 17:49:57 2000
50 #include "partition.h"
53 +#define _LINUX_STRING_H_
55 +# include <linux/kdev_t.h>
56 +# include <linux/list.h>
58 #include "linux/hdreg.h"
61 --- ./mzip.c.orig Sun Mar 12 17:49:46 2000
62 +++ ./mzip.c Sun Mar 12 17:50:18 2000
64 #include <sys/mount.h>
66 #define _LINUX_KDEV_T_H 1 /* don't redefine MAJOR/MINOR */
67 +#define _LINUX_STRING_H_
69 +# include <linux/kdev_t.h>
70 +# include <linux/list.h>