Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 786848 Details for
Bug 712472
sys-process/nmon-16m : nmon.c: fatal error: fstab.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix build for musl users
glibc.patch (text/plain), 826 bytes, created by
Jory A. Pratt
on 2022-06-22 20:01:48 UTC
(
hide
)
Description:
fix build for musl users
Filename:
MIME Type:
Creator:
Jory A. Pratt
Created:
2022-06-22 20:01:48 UTC
Size:
826 bytes
patch
obsolete
>From: Mike Crute <mike@crute.us> >Date: Sun, 31 May 2020 19:26:32 +0000 >Subject: [PATCH] Add glibc compatibility to nmon > >musl is missing some compatibility with glibc which this patch adds to the nmon >source. The fstab.h header was not used and fails to build if it's included. > >--- > >--- a/lmon.c >+++ b/lmon.c >@@ -42,6 +42,9 @@ > pi_delayacct_blkio_ticks > */ > >+/* Fix compatibility for glibc */ >+#define __STRING(x) #x >+ > /* note: RAW assumes you are using the index "i" to select the CPU */ > #define RAW(member) (long)((long)(p->cpuN[i].member) - (long)(q->cpuN[i].member)) > #define RAWTOTAL(member) (long)((long)(p->cpu_total.member) - (long)(q->cpu_total.member)) >@@ -583,7 +586,6 @@ > int isroot = 0; > > #include <mntent.h> >-#include <fstab.h> > #include <sys/stat.h> > #include <sys/statfs.h> > #include <net/if.h>
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 712472
:
618828
|
618830
|
618832
|
618834
|
618836
|
618838
| 786848