FreeBSD Bugzilla – Attachment 217436 Details for
Bug 248823
sysutils/htop: Fix build with '-fno-common'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
sysutils_htop.patch (text/plain), 2.27 KB, created by
Yasuhiro Kimura
on 2020-08-22 06:50:49 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2020-08-22 06:50:49 UTC
Size:
2.27 KB
patch
obsolete
>Index: sysutils/htop/files/patch-CRT.h >=================================================================== >--- sysutils/htop/files/patch-CRT.h (nonexistent) >+++ sysutils/htop/files/patch-CRT.h (working copy) >@@ -0,0 +1,27 @@ >+--- CRT.h.orig 2018-04-10 13:42:59 UTC >++++ CRT.h >+@@ -140,7 +140,7 @@ extern const char **CRT_treeStr; >+ >+ extern int CRT_delay; >+ >+-int* CRT_colors; >++extern int* CRT_colors; >+ >+ extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT]; >+ >+@@ -150,13 +150,13 @@ extern int CRT_scrollHAmount; >+ >+ extern int CRT_scrollWheelVAmount; >+ >+-char* CRT_termType; >++extern char* CRT_termType; >+ >+ // TODO move color scheme to Settings, perhaps? >+ >+ extern int CRT_colorScheme; >+ >+-void *backtraceArray[128]; >++extern void *backtraceArray[128]; >+ >+ #if HAVE_SETUID_ENABLED >+ >Index: sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c >=================================================================== >--- sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c (revision 545582) >+++ sysutils/htop/files/patch-freebsd_FreeBSDProcessList.c (working copy) >@@ -4,7 +4,18 @@ > > --- freebsd/FreeBSDProcessList.c.orig 2018-04-10 13:42:59 UTC > +++ freebsd/FreeBSDProcessList.c >-@@ -296,31 +296,46 @@ static inline void FreeBSDProcessList_scanMemoryInfo(P >+@@ -28,8 +28,9 @@ in the source distribution for its full text. >+ #include <sys/resource.h> >+ >+ #define JAIL_ERRMSGLEN 1024 >++*/ >+ char jail_errmsg[JAIL_ERRMSGLEN]; >+- >++/* >+ typedef struct CPUData_ { >+ >+ double userPercent; >+@@ -296,31 +297,46 @@ static inline void FreeBSDProcessList_scanMemoryInfo(P > // > // htop_used = active + (wired - arc) > // htop_cache = buffers + cache + arc >Index: sysutils/htop/files/patch-freebsd_FreeBSDProcessList.h >=================================================================== >--- sysutils/htop/files/patch-freebsd_FreeBSDProcessList.h (nonexistent) >+++ sysutils/htop/files/patch-freebsd_FreeBSDProcessList.h (working copy) >@@ -0,0 +1,11 @@ >+--- freebsd/FreeBSDProcessList.h.orig 2018-04-10 13:42:59 UTC >++++ freebsd/FreeBSDProcessList.h >+@@ -17,7 +17,7 @@ in the source distribution for its full text. >+ #include <sys/resource.h> >+ >+ #define JAIL_ERRMSGLEN 1024 >+-char jail_errmsg[JAIL_ERRMSGLEN]; >++extern char jail_errmsg[JAIL_ERRMSGLEN]; >+ >+ typedef struct CPUData_ { >+
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 248823
: 217436