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.

39 lines
1.3 KiB

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