source: scripts/patches/util-linux-2.12a-cross-lfs-fixes.patch@ 860fee5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 860fee5 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[617118d]1diff -aur util-linux-2.12a-orig util-linux-2.12a
2--- util-linux-2.12a-orig/fdisk/fdiskbsdlabel.h 2002-11-01 00:45:34.000000000 +1100
3+++ util-linux-2.12a/fdisk/fdiskbsdlabel.h 2004-06-19 14:43:31.771051000 +1000
4@@ -43,7 +43,7 @@
5
6 #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
7
8-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
9+#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__mc68000__)
10 #define BSD_LABELSECTOR 1
11 #define BSD_LABELOFFSET 0
12 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
13--- util-linux-2.12a-orig/mount/swapon.c 2002-11-01 11:38:49.000000000 +1100
14+++ util-linux-2.12a/mount/swapon.c 2004-06-19 14:31:52.020342000 +1000
15@@ -21,6 +21,7 @@
16 #include <mntent.h>
17 #include <errno.h>
18 #include <sys/stat.h>
19+#include <unistd.h>
20 #include "swap_constants.h"
21 #include "swapargs.h"
22 #include "nls.h"
Note: See TracBrowser for help on using the repository browser.