source: patches/util-linux-2.12r-mips64_fix-1.patch@ 598efa5d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 598efa5d 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
  • 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.