source: patches/util-linux-2.12r-mips64_fix-1.patch @ 422c699

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 422c699 was 69cde8d, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: All patches needed for the book.

  • Property mode set to 100644
File size: 780 bytes
  • util-linux-2.12q

    Submitted By: Jim Gifford (patches at jg555 dot com)
    Date: 2005-06-08
    Initial Package Version: 2.12q
    Origin: Jim Gifford
    Upstream Status: Sent
    Description: Fixes compile issue under MIPS 64 bit
     
    diff -Naur util-linux-2.12q.orig/fdisk/sfdisk.c util-linux-2.12q/fdisk/sfdisk.c
    old new  
    172172 * Note: we use 512-byte sectors here, irrespective of the hardware ss.
    173173 */
    174174#undef use_lseek
    175 #if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__)
     175#if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (__s390x__) || defined (__mips__)
    176176#define use_lseek
    177177#endif
    178178
Note: See TracBrowser for help on using the repository browser.