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.

65 lines
2.4 KiB

  1. diff -dur util-linux-2.12h/partx/addpart.c util-linux-2.12h-comp/partx/addpart.c
  2. --- util-linux-2.12h/partx/addpart.c 1999-07-09 02:56:36.000000000 +0000
  3. +++ util-linux-2.12h-comp/partx/addpart.c 2004-10-23 08:41:37.998802256 +0000
  4. @@ -3,6 +3,7 @@
  5. #include <fcntl.h>
  6. #include <stdlib.h>
  7. #include <sys/ioctl.h>
  8. +#include <linux/compiler.h>
  9. #include <linux/blkpg.h>
  10. int
  11. diff -dur util-linux-2.12h/disk-utils/fdformat.c util-linux-2.12h-patch/disk-utils/fdformat.c
  12. --- util-linux-2.12h/disk-utils/fdformat.c 2002-07-07 12:38:24.000000000 +0000
  13. +++ util-linux-2.12h-patch/disk-utils/fdformat.c 2004-10-23 03:07:43.330621624 +0000
  14. @@ -14,6 +14,7 @@
  15. #include <stdlib.h>
  16. #include <sys/stat.h>
  17. #include <sys/ioctl.h>
  18. +#include <linux/compiler.h>
  19. #include <linux/fd.h>
  20. #include "nls.h"
  21. diff -dur util-linux-2.12h/disk-utils/setfdprm.c util-linux-2.12h-patch/disk-utils/setfdprm.c
  22. --- util-linux-2.12h/disk-utils/setfdprm.c 2001-10-21 10:32:27.000000000 +0000
  23. +++ util-linux-2.12h-patch/disk-utils/setfdprm.c 2004-10-23 03:07:43.331621472 +0000
  24. @@ -13,6 +13,7 @@
  25. #include <sys/types.h>
  26. #include <sys/stat.h>
  27. #include <sys/ioctl.h>
  28. +#include <linux/compiler.h>
  29. #include <linux/fd.h>
  30. #include "nls.h"
  31. diff -dur util-linux-2.12h/partx/delpart.c util-linux-2.12h-patch/partx/delpart.c
  32. --- util-linux-2.12h/partx/delpart.c 1999-07-09 02:56:36.000000000 +0000
  33. +++ util-linux-2.12h-patch/partx/delpart.c 2004-10-23 03:07:43.331621472 +0000
  34. @@ -3,6 +3,7 @@
  35. #include <fcntl.h>
  36. #include <stdlib.h>
  37. #include <sys/ioctl.h>
  38. +#include <linux/compiler.h>
  39. #include <linux/blkpg.h>
  40. int
  41. diff -dur util-linux-2.12h/partx/partx.c util-linux-2.12h-patch/partx/partx.c
  42. --- util-linux-2.12h/partx/partx.c 2004-08-23 20:13:27.000000000 +0000
  43. +++ util-linux-2.12h-patch/partx/partx.c 2004-10-23 03:07:43.332621320 +0000
  44. @@ -37,6 +37,7 @@
  45. #include <getopt.h>
  46. #include <unistd.h>
  47. #include <sys/ioctl.h>
  48. +#include <linux/compiler.h>
  49. #include <linux/hdreg.h> /* HDIO_GETGEO */
  50. #include <linux/blkpg.h>
  51. #define BLKGETSIZE _IO(0x12,96) /* return device size */
  52. --- util-linux-2.12h/sys-utils/cytune.c.orig 2004-11-13 17:28:02.949147420 +0100
  53. +++ util-linux-2.12h/sys-utils/cytune.c 2004-11-13 17:28:25.514481234 +0100
  54. @@ -58,6 +58,7 @@
  55. #include <linux/tqueue.h> /* required for old kernels (for struct tq_struct) */
  56. /* compilation errors on other kernels */
  57. #endif
  58. +#include <linux/compiler.h>
  59. #include <linux/cyclades.h>
  60. #if 0