OpenSDE Packages Database (without history before r20070)
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.

74 lines
2.1 KiB

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