diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2024-05-26 12:08:39 -0400 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2024-05-26 12:08:39 -0400 |
| commit | 0f2c77d047e8c96dc9ba33e6ec18cc23e6356625 (patch) | |
| tree | f166d3491fc6ff8af824a218dd8ba8a8c4322015 /procps-ng/musl-fixes.patch | |
| parent | 8786e222a17b23129ab39def8cd8519f27346565 (diff) | |
| download | my-aports-0f2c77d047e8c96dc9ba33e6ec18cc23e6356625.tar.gz | |
local/procps-ng: move to local_unmaintained
Diffstat (limited to 'procps-ng/musl-fixes.patch')
| -rw-r--r-- | procps-ng/musl-fixes.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/procps-ng/musl-fixes.patch b/procps-ng/musl-fixes.patch deleted file mode 100644 index dd599cf..0000000 --- a/procps-ng/musl-fixes.patch +++ /dev/null @@ -1,29 +0,0 @@ -Pulling in utmpx.h which does not have UT_HOSTSIZE, UT_LINESIZE & UT_NAMESIZE defined. - -Causing: -w.c: In function 'print_from': -w.c:236:43: error: 'UT_HOSTSIZE' undeclared (first use in this function) - 236 | print_display_or_interface(u->ut_host, UT_HOSTSIZE, fromlen - len); - | ^~~~~~~~~~~ -w.c:236:43: note: each undeclared identifier is reported only once for each function it appears in -w.c: In function 'getproc': -w.c:357:12: error: 'UT_NAMESIZE' undeclared (first use in this function) - 357 | char buf[UT_NAMESIZE + 1]; -.... -diff --git a/src/w.c b/src/w.c -index 5e878f0..568db02 100644 ---- a/src/w.c -+++ b/src/w.c -@@ -46,11 +46,7 @@ - #include <termios.h> - #include <time.h> - #include <unistd.h> --#ifdef HAVE_UTMPX_H --# include <utmpx.h> --#else --# include <utmp.h> --#endif -+#include <utmp.h> - #include <arpa/inet.h> - - #include "c.h" |
