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.

58 lines
2.2 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/mnemoc/uclibc/patches/util-linux-30-hotfix.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. --- util-linux-2.11z/mount/fstab.c.orig 2003-12-03 15:28:22.000000000 -0700
  20. +++ util-linux-2.11z/mount/fstab.c 2003-12-03 15:28:41.000000000 -0700
  21. @@ -342,7 +342,7 @@
  22. /* Ensure that the lock is released if we are interrupted. */
  23. static void
  24. handler (int sig) {
  25. - die (EX_USER, "%s", sys_siglist[sig]);
  26. + die (EX_USER, "%s", strsignal(sig));
  27. }
  28. static void
  29. --- /dev/null 2003-09-07 01:55:59.000000000 -0600
  30. +++ util-linux-2.11z/mount/swapargs.h 2003-12-03 15:44:50.000000000 -0700
  31. @@ -0,0 +1,3 @@
  32. +#define SWAPON_HAS_TWO_ARGS
  33. +#include <asm/page.h>
  34. +#include <sys/swap.h>
  35. --- util-linux-2.11z/mount/swap.configure.orig 2003-12-03 15:43:24.000000000 -0700
  36. +++ util-linux-2.11z/mount/swap.configure 2003-12-03 15:45:33.000000000 -0700
  37. @@ -1,6 +1,8 @@
  38. # Find out whether we can include <sys/swap.h>
  39. # and whether libc thinks that swapon() has two arguments.
  40. +exit 0
  41. +
  42. # Prepare test
  43. CC=${CC-cc}
  44. compile="$CC -o conftest conftest.c >/dev/null 2>&1"
  45. --- ./partx/solaris.c.orig 2000-03-21 18:08:51.000000000 -0400
  46. +++ ./partx/solaris.c 2004-02-11 23:40:25.000000000 -0300
  47. @@ -5,8 +5,6 @@
  48. #define SOLARIS_X86_NUMSLICE 8
  49. #define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL)
  50. -typedef int daddr_t; /* or long - check */
  51. -
  52. struct solaris_x86_slice {
  53. unsigned short s_tag; /* ID tag of partition */
  54. unsigned short s_flag; /* permision flags */