You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.1 KiB
75 lines
2.1 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../mtools/hotfixes.patch |
|
# Copyright (C) 2008 The OpenSDE Project |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
# of the GNU General Public License as published by the Free Software |
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
# version. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
--- ./devices.h.orig Sun Mar 12 17:49:46 2000 |
|
+++ ./devices.h Sun Mar 12 17:50:06 2000 |
|
@@ -13,7 +13,12 @@ |
|
#endif /* MINOR not defined */ |
|
|
|
#else |
|
|
|
+#define _LINUX_STRING_H_ |
|
+#define __KERNEL__ |
|
+# include <linux/kdev_t.h> |
|
+# include <linux/list.h> |
|
+#undef __KERNEL__ |
|
#include <linux/fs.h> /* get MAJOR/MINOR from Linux kernel */ |
|
#ifndef major |
|
#define major(x) MAJOR(x) |
|
--- ./mformat.c.orig Sun Mar 12 17:49:46 2000 |
|
+++ ./mformat.c Sun Mar 12 17:50:27 2000 |
|
@@ -24,6 +24,11 @@ |
|
#endif |
|
|
|
#ifdef OS_linux |
|
+#define _LINUX_STRING_H_ |
|
+#define __KERNEL__ |
|
+# include <linux/kdev_t.h> |
|
+# include <linux/list.h> |
|
+#undef __KERNEL__ |
|
#include "linux/hdreg.h" |
|
#include "linux/fs.h" |
|
#endif |
|
--- ./mpartition.c.orig Sun Mar 12 17:49:46 2000 |
|
+++ ./mpartition.c Sun Mar 12 17:49:57 2000 |
|
@@ -16,6 +16,11 @@ |
|
#include "partition.h" |
|
|
|
#ifdef OS_linux |
|
+#define _LINUX_STRING_H_ |
|
+#define __KERNEL__ |
|
+# include <linux/kdev_t.h> |
|
+# include <linux/list.h> |
|
+#undef __KERNEL__ |
|
#include "linux/hdreg.h" |
|
#include "linux/fs.h" |
|
#endif |
|
--- ./mzip.c.orig Sun Mar 12 17:49:46 2000 |
|
+++ ./mzip.c Sun Mar 12 17:50:18 2000 |
|
@@ -30,6 +30,11 @@ |
|
#include <sys/mount.h> |
|
#else |
|
#define _LINUX_KDEV_T_H 1 /* don't redefine MAJOR/MINOR */ |
|
+#define _LINUX_STRING_H_ |
|
+#define __KERNEL__ |
|
+# include <linux/kdev_t.h> |
|
+# include <linux/list.h> |
|
+#undef __KERNEL__ |
|
#include <linux/fs.h> |
|
#endif |
|
|
|
|