earlyoom: update to 0.11.

This commit is contained in:
Leah Neukirchen 2017-02-05 16:43:22 +01:00
parent ec2acdc051
commit a95cd17074
2 changed files with 2 additions and 12 deletions

View file

@ -1,10 +0,0 @@
--- meminfo.c.orig
+++ meminfo.c
@@ -32,6 +32,7 @@
fprintf(stderr, "Could not find \"%s\"\n", name);
exit(104);
}
+ return val;
}
/* If the kernel does not provide MemAvailable (introduced in Linux 3.14),

View file

@ -1,13 +1,13 @@
# Template file for 'earlyoom'
pkgname=earlyoom
version=0.10
version=0.11
revision=1
short_desc="Early OOM Daemon for Linux"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/rfjakob/earlyoom"
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
checksum=b015a2551e46abcc843c29b27ae8466a187b30fad8084574545f66624cab0842
checksum=167a8cd194df5d1c5bd5327efd7bcad824a99381c02a2969f9e2684b7c5317d7
do_build() {
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS}