source: scripts/patches/procps-3.2.5-fix_mips-1.patch@ 9617ced

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 9617ced 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
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-02-04
3Initial Package Version: 3.2.5
4Upstream Status:
5Origin: Jim Gifford, Ryan Oliver
6Description: Fixes procps build for mips32 with glibc > 20041124
7(changes in sysdeps/mips/sgidefs.h). Don't only test whether _ABIN32
8is defined, also test that it matches _MIPS_SIM before setting KLONG.
9
10diff -uNr procps-3.2.5-orig/proc/procps.h procps-3.2.5/proc/procps.h
11--- procps-3.2.5-orig/proc/procps.h 2004-08-20 15:40:13 -0700
12+++ procps-3.2.5/proc/procps.h 2005-02-02 22:46:11 -0800
13@@ -31,7 +31,7 @@
14 //
15 // Unknown: PA-RISC and zSeries
16 //
17-#if defined(k64test) || defined(_ABIN32)
18+#if defined(k64test) || (defined(_ABIN32) && _MIPS_SIM == _ABIN32)
19 #define KLONG long long // not typedef; want "unsigned KLONG" to work
20 #define KLF "L"
21 #define STRTOUKL strtoull
Note: See TracBrowser for help on using the repository browser.