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.

79 lines
2.3 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./devices.h.orig Sun Mar 12 17:49:46 2000
  23. +++ ./devices.h Sun Mar 12 17:50:06 2000
  24. @@ -13,7 +13,12 @@
  25. #endif /* MINOR not defined */
  26. #else
  27. +#define _LINUX_STRING_H_
  28. +#define __KERNEL__
  29. +# include <linux/kdev_t.h>
  30. +# include <linux/list.h>
  31. +#undef __KERNEL__
  32. #include <linux/fs.h> /* get MAJOR/MINOR from Linux kernel */
  33. #ifndef major
  34. #define major(x) MAJOR(x)
  35. --- ./mformat.c.orig Sun Mar 12 17:49:46 2000
  36. +++ ./mformat.c Sun Mar 12 17:50:27 2000
  37. @@ -24,6 +24,11 @@
  38. #endif
  39. #ifdef OS_linux
  40. +#define _LINUX_STRING_H_
  41. +#define __KERNEL__
  42. +# include <linux/kdev_t.h>
  43. +# include <linux/list.h>
  44. +#undef __KERNEL__
  45. #include "linux/hdreg.h"
  46. #include "linux/fs.h"
  47. #endif
  48. --- ./mpartition.c.orig Sun Mar 12 17:49:46 2000
  49. +++ ./mpartition.c Sun Mar 12 17:49:57 2000
  50. @@ -16,6 +16,11 @@
  51. #include "partition.h"
  52. #ifdef OS_linux
  53. +#define _LINUX_STRING_H_
  54. +#define __KERNEL__
  55. +# include <linux/kdev_t.h>
  56. +# include <linux/list.h>
  57. +#undef __KERNEL__
  58. #include "linux/hdreg.h"
  59. #include "linux/fs.h"
  60. #endif
  61. --- ./mzip.c.orig Sun Mar 12 17:49:46 2000
  62. +++ ./mzip.c Sun Mar 12 17:50:18 2000
  63. @@ -30,6 +30,11 @@
  64. #include <sys/mount.h>
  65. #else
  66. #define _LINUX_KDEV_T_H 1 /* don't redefine MAJOR/MINOR */
  67. +#define _LINUX_STRING_H_
  68. +#define __KERNEL__
  69. +# include <linux/kdev_t.h>
  70. +# include <linux/list.h>
  71. +#undef __KERNEL__
  72. #include <linux/fs.h>
  73. #endif