mirror of the now-defunct rocklinux.org
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.

76 lines
2.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/mtools/hotfixes.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./devices.h.orig Sun Mar 12 17:49:46 2000
  20. +++ ./devices.h Sun Mar 12 17:50:06 2000
  21. @@ -13,7 +13,12 @@
  22. #endif /* MINOR not defined */
  23. #else
  24. +#define _LINUX_STRING_H_
  25. +#define __KERNEL__
  26. +# include <linux/kdev_t.h>
  27. +# include <linux/list.h>
  28. +#undef __KERNEL__
  29. #include <linux/fs.h> /* get MAJOR/MINOR from Linux kernel */
  30. #ifndef major
  31. #define major(x) MAJOR(x)
  32. --- ./mformat.c.orig Sun Mar 12 17:49:46 2000
  33. +++ ./mformat.c Sun Mar 12 17:50:27 2000
  34. @@ -24,6 +24,11 @@
  35. #endif
  36. #ifdef OS_linux
  37. +#define _LINUX_STRING_H_
  38. +#define __KERNEL__
  39. +# include <linux/kdev_t.h>
  40. +# include <linux/list.h>
  41. +#undef __KERNEL__
  42. #include "linux/hdreg.h"
  43. #include "linux/fs.h"
  44. #endif
  45. --- ./mpartition.c.orig Sun Mar 12 17:49:46 2000
  46. +++ ./mpartition.c Sun Mar 12 17:49:57 2000
  47. @@ -16,6 +16,11 @@
  48. #include "partition.h"
  49. #ifdef OS_linux
  50. +#define _LINUX_STRING_H_
  51. +#define __KERNEL__
  52. +# include <linux/kdev_t.h>
  53. +# include <linux/list.h>
  54. +#undef __KERNEL__
  55. #include "linux/hdreg.h"
  56. #include "linux/fs.h"
  57. #endif
  58. --- ./mzip.c.orig Sun Mar 12 17:49:46 2000
  59. +++ ./mzip.c Sun Mar 12 17:50:18 2000
  60. @@ -30,6 +30,11 @@
  61. #include <sys/mount.h>
  62. #else
  63. #define _LINUX_KDEV_T_H 1 /* don't redefine MAJOR/MINOR */
  64. +#define _LINUX_STRING_H_
  65. +#define __KERNEL__
  66. +# include <linux/kdev_t.h>
  67. +# include <linux/list.h>
  68. +#undef __KERNEL__
  69. #include <linux/fs.h>
  70. #endif