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.

86 lines
2.6 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../dietlibc/patches/pkg_e2fsprogs.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./lib/ss/pager.c.orig 2006-06-21 15:44:59.000000000 +0200
  17. +++ ./lib/ss/pager.c 2006-06-21 15:45:54.000000000 +0200
  18. @@ -36,6 +36,9 @@
  19. #if (!defined(HAVE_PRCTL) && defined(linux))
  20. #include <sys/syscall.h>
  21. #endif
  22. +#ifndef PR_GET_DUMPABLE
  23. +#define PR_GET_DUMPABLE 3
  24. +#endif
  25. static char MORE[] = "more";
  26. extern char *_ss_pager_name;
  27. --- ./lib/ext2fs/test_io.c.orig 2006-06-21 15:51:20.000000000 +0200
  28. +++ ./lib/ext2fs/test_io.c 2006-06-21 15:51:47.000000000 +0200
  29. @@ -34,6 +34,10 @@
  30. #include "ext2_fs.h"
  31. #include "ext2fs.h"
  32. +#ifndef PR_GET_DUMPABLE
  33. +#define PR_GET_DUMPABLE 3
  34. +#endif
  35. +
  36. /*
  37. * For checking structure magic numbers...
  38. */
  39. --- ./lib/blkid/cache.c.orig 2006-06-21 15:57:47.000000000 +0200
  40. +++ ./lib/blkid/cache.c 2006-06-21 15:58:16.000000000 +0200
  41. @@ -28,6 +28,10 @@
  42. #endif
  43. #include "blkidP.h"
  44. +#ifndef PR_GET_DUMPABLE
  45. +#define PR_GET_DUMPABLE 3
  46. +#endif
  47. +
  48. int blkid_debug_mask = 0;
  49. --- ./lib/ext2fs/ext2_types.h.in.orig 2006-07-08 00:36:04.000000000 +0000
  50. +++ ./lib/ext2fs/ext2_types.h.in 2006-07-08 00:37:06.000000000 +0000
  51. @@ -3,6 +3,8 @@
  52. * everything we need. (cross fingers) Other header files may have
  53. * also defined the types that we need.
  54. */
  55. +#include <linux/types.h>
  56. +
  57. #if (!defined(_LINUX_TYPES_H) && !defined(_BLKID_TYPES_H) && !defined(_PPC64_TYPES_H) && \
  58. !defined(_EXT2_TYPES_H))
  59. #define _EXT2_TYPES_H
  60. --- ./lib/blkid/blkid.h.orig 2006-07-08 00:41:20.000000000 +0000
  61. +++ ./lib/blkid/blkid.h 2006-07-08 00:41:38.000000000 +0000
  62. @@ -14,6 +14,7 @@
  63. #define _BLKID_BLKID_H
  64. #include <sys/types.h>
  65. +#include <linux/types.h>
  66. #include <blkid/blkid_types.h>
  67. #ifdef __cplusplus
  68. --- ./misc/util.c.orig 2006-07-08 00:58:39.000000000 +0000
  69. +++ ./misc/util.c 2006-07-08 00:59:42.000000000 +0000
  70. @@ -79,7 +79,7 @@
  71. void check_plausibility(const char *device)
  72. {
  73. int val;
  74. -#ifdef HAVE_OPEN64
  75. +#ifndef __NO_STAT64
  76. struct stat64 s;
  77. val = stat64(device, &s);