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.

49 lines
1.7 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/util-linux/linux-compiler_h.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./partx/addpart.c.orig 2004-12-30 18:27:39.994411784 +0100
  20. +++ ./partx/addpart.c 2004-12-30 18:27:49.601951216 +0100
  21. @@ -3,6 +3,7 @@
  22. #include <fcntl.h>
  23. #include <stdlib.h>
  24. #include <sys/ioctl.h>
  25. +#include <linux/compiler.h>
  26. #include <linux/blkpg.h>
  27. int
  28. --- ./partx/delpart.c.orig 2004-12-30 18:28:55.711900976 +0100
  29. +++ ./partx/delpart.c 2004-12-30 18:29:03.194763408 +0100
  30. @@ -3,6 +3,7 @@
  31. #include <fcntl.h>
  32. #include <stdlib.h>
  33. #include <sys/ioctl.h>
  34. +#include <linux/compiler.h>
  35. #include <linux/blkpg.h>
  36. int
  37. --- ./partx/partx.c.orig 2004-12-30 18:29:10.607636480 +0100
  38. +++ ./partx/partx.c 2004-12-30 18:29:21.124037744 +0100
  39. @@ -37,6 +37,7 @@
  40. #include <getopt.h>
  41. #include <unistd.h>
  42. #include <sys/ioctl.h>
  43. +#include <linux/compiler.h>
  44. #include <linux/hdreg.h> /* HDIO_GETGEO */
  45. #include <linux/blkpg.h>
  46. #define BLKGETSIZE _IO(0x12,96) /* return device size */