nmon: add patch for musl

This commit is contained in:
Dominik Honnef 2016-03-04 22:24:25 +01:00
parent c4ab2801fe
commit b6ee60ea85
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
--- lmon16d.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16d.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;

View File

@ -1,7 +1,7 @@
# Template file for 'nmon'
pkgname=nmon
version=16d
revision=1
revision=2
build_style=fetch
maintainer="Dominik Honnef <dominik@honnef.co>"
makedepends="ncurses-devel"