source: scripts/patches/procps-3.2.5-fix_mips-1.patch@ 2aa9e74

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2aa9e74 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: 834 bytes
  • proc/procps.h

    Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 2005-02-04
    Initial Package Version: 3.2.5
    Upstream Status:
    Origin: Jim Gifford, Ryan Oliver
    Description: Fixes procps build for mips32 with glibc > 20041124
    (changes in sysdeps/mips/sgidefs.h). Don't only test whether _ABIN32
    is defined, also test that it matches _MIPS_SIM before setting KLONG.
    
    diff -uNr procps-3.2.5-orig/proc/procps.h procps-3.2.5/proc/procps.h
    old new  
    3131//
    3232// Unknown: PA-RISC and zSeries
    3333//
    34 #if defined(k64test) || defined(_ABIN32)
     34#if defined(k64test) || (defined(_ABIN32) && _MIPS_SIM == _ABIN32)
    3535#define KLONG long long    // not typedef; want "unsigned KLONG" to work
    3636#define KLF "L"
    3737#define STRTOUKL strtoull
Note: See TracBrowser for help on using the repository browser.