void-packages/srcpkgs/nmon/patches/musl-string-macro.patch
Dominik Honnef 82d7b8a107 nmon: fix package
Once is cute, twice is stupid.
2016-05-14 18:41:44 +02:00

13 lines
356 B
Diff

--- lmon16e.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16e.c 2016-03-04 22:23:27.977248021 +0100
@@ -58,6 +58,10 @@
#include <sys/socket.h>
#include <sys/wait.h>
+#ifndef __STRING
+#define __STRING(x) #x
+#endif
+
/* Windows moved here so they can be cleared when the screen mode changes */
WINDOW *padwelcome = NULL;
WINDOW *padtop = NULL;