Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 18 years ago
parent
commit
05aa134be1
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      package/base/sysstat/pagesize.patch

+ 12
- 0
package/base/sysstat/pagesize.patch

@ -0,0 +1,12 @@
--- ./common.c.orig 2008-05-05 13:52:40.000000000 +0200
+++ ./common.c 2008-05-05 13:52:46.000000000 +0200
@@ -35,7 +35,8 @@
* PAGE_SHIFT no longer necessarily exists in <asm/page.h>. So
* we use PAGE_SIZE to compute PAGE_SHIFT...
*/
-#include <asm/page.h>
+#define PAGE_SIZE getpagesize()
+// #include <asm/page.h>
#include "version.h"
#include "common.h"

Loading…
Cancel
Save