Browse Source

mtools: Updated (3.9.10-20060626 -> 4.0.1)

cross
Alejandro Mery 16 years ago
parent
commit
d5679e4b91
  1. 75
      attic/mtools/hotfixes.patch
  2. 29
      attic/mtools/lseek64_proto_fix.patch
  3. 6
      attic/mtools/mtools.conf
  4. 8
      attic/mtools/mtools.desc

75
attic/mtools/hotfixes.patch

@ -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

29
attic/mtools/lseek64_proto_fix.patch

@ -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

6
attic/mtools/mtools.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../mtools/mtools.conf
# Copyright (C) 2006 - 2008 The OpenSDE Project
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -14,8 +14,4 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
var_append patchfiles ' ' "`match_source_file -p diff`"
hook_add postmake 5 "cp -v $confdir/etc-mtools.conf $root/etc/mtools.conf"
hook_add premake 5 "mkdir -p linux; cp -v $(match_source_file -p linux_list.h) linux/list.h"

8
attic/mtools/mtools.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../mtools/mtools.desc
[COPY] Copyright (C) 2006 - 2008 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2009 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -33,9 +33,7 @@
[L] GPL
[S] Stable
[V] 3.9.10-20060626
[V] 4.0.1
[P] O -----5---9 118.800
[D] 1756621443 mtools-3.9.10.tar.gz http://www.tux.org/pub/tux/knaff/mtools/
[D] 4112328109 mtools-3.9.10-20060626.diff.gz http://mtools.linux.lu/
[D] 4201346030 linux_list.h !http://isis.poly.edu/kulesh/stuff/src/klist/list.h
[D] 353099630 mtools-4.0.1.tar.bz2 http://mtools.linux.lu/

Loading…
Cancel
Save