Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131978 Details for
Bug 152363
sys-cluster/ganglia-2.5.7 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to let ebuild be compiled with kernel > 2.6.18 and safely in archs != x86 || amd64
ganglia-2.5.7-pagesize.patch (text/plain), 601 bytes, created by
Carlo Marcelo Arenas Belon
on 2007-09-26 21:58:09 UTC
(
hide
)
Description:
patch to let ebuild be compiled with kernel > 2.6.18 and safely in archs != x86 || amd64
Filename:
MIME Type:
Creator:
Carlo Marcelo Arenas Belon
Created:
2007-09-26 21:58:09 UTC
Size:
601 bytes
patch
obsolete
>--- ganglia-monitor-core-2.5.7/lib/gexec_process.c 2002-06-19 20:23:24.000000000 -0700 >+++ ganglia-monitor-core-2.5.7/lib/gexec_process.c 2007-09-26 14:10:41.000000000 -0700 >@@ -22,12 +22,12 @@ > #include <ganglia/gexec_process.h> > #include <ganglia/file.h> > #include <sys/param.h> /* for HZ */ >-#include <asm/page.h> /* for PAGE_SHIFT */ > #include <pthread.h> > > /* useful macros */ >+#define PAGE_SIZE (sysconf(_SC_PAGESIZE)) > #define bytetok(x) (((x) + 512) >> 10) >-#define pagetok(x) ((x) << (PAGE_SHIFT - 10)) >+#define pagetok(x) ((x) * (PAGE_SIZE >> 10)) > > typedef struct > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152363
: 131978 |
131979