4 changed files with 4 additions and 114 deletions
@ -1,75 +0,0 @@ |
|||||||
# --- 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
|
|
||||||
|
|
@ -1,29 +0,0 @@ |
|||||||
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
||||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
||||||
#
|
|
||||||
# Filename: package/.../mtools/lseek64_proto_fix.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 ---
|
|
||||||
|
|
||||||
--- ./llong.c.orig Sat Aug 12 12:19:58 2000
|
|
||||||
+++ ./llong.c Sat Aug 12 12:20:58 2000
|
|
||||||
@@ -45,7 +45,7 @@
|
|
||||||
|
|
||||||
#if defined HAVE_LSEEK64
|
|
||||||
# ifndef HAVE_LSEEK64_PROTOTYPE
|
|
||||||
-extern long long lseek64 (int fd, long long offset, int origin);
|
|
||||||
+// extern long long lseek64 (int fd, long long offset, int origin);
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in new issue