source: patches/procps-3.2.5-fix_mips-1.patch@ d5e4fdc0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d5e4fdc0 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • 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.