nmon: update to 16d.
This commit is contained in:
parent
83129a7e5b
commit
1f90e9d302
2 changed files with 21 additions and 2 deletions
19
srcpkgs/nmon/patches/endmntent.patch
Normal file
19
srcpkgs/nmon/patches/endmntent.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- 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 @@
|
||||
int isroot = 0;
|
||||
|
||||
#include <mntent.h>
|
||||
-#include <fstab.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/statfs.h>
|
||||
#include <net/if.h>
|
||||
@@ -3435,7 +3434,7 @@
|
||||
mp->mnt_dir[JFSNAMELEN - 1] = 0;
|
||||
mp->mnt_type[JFSTYPELEN - 1] = 0;
|
||||
}
|
||||
- endfsent();
|
||||
+ endmntent(mfp);
|
||||
jfs_loaded = 1;
|
||||
jfses = i;
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'nmon'
|
||||
pkgname=nmon
|
||||
version=16a
|
||||
version=16d
|
||||
revision=1
|
||||
build_style=fetch
|
||||
maintainer="Dominik Honnef <dominik@honnef.co>"
|
||||
|
@ -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=2d6c02662547cb77fa6f21d82b033d4e2091603b2c4d3a3ad4a34c68f0af0f14
|
||||
checksum=6bed2e8f4dd8c612d39b30460f6499714d295f4a9576710fb4faf4918b1a8956
|
||||
|
||||
do_build() {
|
||||
$CC ${CFLAGS} ${LDFLAGS} -D JFS -D GETUSER -D LARGEMEM -D X86 \
|
||||
|
|
Loading…
Reference in a new issue