diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-24 12:40:36 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-08-24 12:40:36 +0000 |
commit | 3443ad035c68b08b682d1736f3739b3145c352dd (patch) | |
tree | 1d1e963887a4f39a646729e24727059acbc600f5 /package/procps/procps-mips-define-pagesize.patch | |
parent | 94b86467e30d1b548257de04ddbd4b9b6b3df0ac (diff) |
procps: bump version
Closes #4284.
Diffstat (limited to 'package/procps/procps-mips-define-pagesize.patch')
-rw-r--r-- | package/procps/procps-mips-define-pagesize.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/package/procps/procps-mips-define-pagesize.patch b/package/procps/procps-mips-define-pagesize.patch deleted file mode 100644 index 3802f4cce..000000000 --- a/package/procps/procps-mips-define-pagesize.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naurp procps-3.2.3.orig/minimal.c procps-3.2.3/minimal.c ---- procps-3.2.3.orig/minimal.c 2004-05-04 20:26:14.000000000 -0400 -+++ procps-3.2.3/minimal.c 2004-08-20 02:01:35.868100752 -0400 -@@ -68,8 +68,8 @@ - /////////////////////////////////////////////////////////// - - #ifndef PAGE_SIZE --#warning PAGE_SIZE not defined, assuming it is 4096 --#define PAGE_SIZE 4096 -+#warning PAGE_SIZE not defined, using sysconf() to determine correct value -+#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) - #endif - - -diff -Naurp procps-3.2.3.orig/ps/common.h procps-3.2.3/ps/common.h ---- procps-3.2.3.orig/ps/common.h 2004-04-25 17:03:18.000000000 -0400 -+++ procps-3.2.3/ps/common.h 2004-08-20 02:00:59.228670792 -0400 -@@ -16,6 +16,11 @@ - #include "../proc/readproc.h" - #include <asm/page.h> /* looks safe for glibc, we need PAGE_SIZE */ - -+#ifndef PAGE_SIZE -+#warning PAGE_SIZE not defined, using sysconf() to determine correct value -+#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) -+#endif -+ - #if 0 - #define trace(args...) printf(## args) - #else |