nmon: fix package

Once is cute, twice is stupid.
This commit is contained in:
Dominik Honnef 2016-05-14 18:41:44 +02:00
parent b47f526b0c
commit 82d7b8a107
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
--- lmon16d.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16d.c 2016-03-04 18:42:11.090751839 +0100
@@ -692,7 +692,6 @@
--- lmon16e.c.orig 2016-05-14 18:38:40.459977271 +0200
+++ lmon16e.c 2016-05-14 18:38:58.012263072 +0200
@@ -706,7 +706,6 @@
int isroot = 0;
#include <mntent.h>
@ -8,7 +8,7 @@
#include <sys/stat.h>
#include <sys/statfs.h>
#include <net/if.h>
@@ -3435,7 +3434,7 @@
@@ -3456,7 +3455,7 @@
mp->mnt_dir[JFSNAMELEN - 1] = 0;
mp->mnt_type[JFSTYPELEN - 1] = 0;
}

View file

@ -1,5 +1,5 @@
--- lmon16d.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16d.c 2016-03-04 22:23:27.977248021 +0100
--- 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>

View file

@ -10,7 +10,7 @@ license="GPL-3"
homepage="http://nmon.sourceforge.net/pmwiki.php?n=Main.HomePage"
short_desc="Nigel's performance Monitor for Linux"
distfiles="${SOURCEFORGE_SITE}/nmon/files/lmon${version}.c"
checksum=6bed2e8f4dd8c612d39b30460f6499714d295f4a9576710fb4faf4918b1a8956
checksum=ee152d9c8d0b77a4ea39def320ae5a8990f81cbbcc6c408851cef296661cca5b
do_build() {
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \