From b6ee60ea85fc85fcbf30e1dc0e68782ab9bf9201 Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Fri, 4 Mar 2016 22:24:25 +0100 Subject: [PATCH] nmon: add patch for musl --- srcpkgs/nmon/patches/musl-string-macro.patch | 13 +++++++++++++ srcpkgs/nmon/template | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/nmon/patches/musl-string-macro.patch diff --git a/srcpkgs/nmon/patches/musl-string-macro.patch b/srcpkgs/nmon/patches/musl-string-macro.patch new file mode 100644 index 00000000000..d61686da19b --- /dev/null +++ b/srcpkgs/nmon/patches/musl-string-macro.patch @@ -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 + #include + ++#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; diff --git a/srcpkgs/nmon/template b/srcpkgs/nmon/template index ae42e833afd..51a69491748 100644 --- a/srcpkgs/nmon/template +++ b/srcpkgs/nmon/template @@ -1,7 +1,7 @@ # Template file for 'nmon' pkgname=nmon version=16d -revision=1 +revision=2 build_style=fetch maintainer="Dominik Honnef " makedepends="ncurses-devel"