source: patches/util-linux-2.12r-mips64_fix-1.patch@ 095ad7c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 095ad7c was 69cde8d, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 780 bytes
RevLine 
[69cde8d]1Submitted By: Jim Gifford (patches at jg555 dot com)
2Date: 2005-06-08
3Initial Package Version: 2.12q
4Origin: Jim Gifford
5Upstream Status: Sent
6Description: Fixes compile issue under MIPS 64 bit
7
8diff -Naur util-linux-2.12q.orig/fdisk/sfdisk.c util-linux-2.12q/fdisk/sfdisk.c
9--- util-linux-2.12q.orig/fdisk/sfdisk.c 2005-01-04 22:31:57.000000000 +0000
10+++ util-linux-2.12q/fdisk/sfdisk.c 2005-06-08 23:15:17.000000000 +0000
11@@ -172,7 +172,7 @@
12 * Note: we use 512-byte sectors here, irrespective of the hardware ss.
13 */
14 #undef use_lseek
15-#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__)
16+#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__) || defined (__mips__)
17 #define use_lseek
18 #endif
19
Note: See TracBrowser for help on using the repository browser.