earlyoom: update to 0.11.
This commit is contained in:
parent
ec2acdc051
commit
a95cd17074
2 changed files with 2 additions and 12 deletions
|
@ -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),
|
|
|
@ -1,13 +1,13 @@
|
||||||
# Template file for 'earlyoom'
|
# Template file for 'earlyoom'
|
||||||
pkgname=earlyoom
|
pkgname=earlyoom
|
||||||
version=0.10
|
version=0.11
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Early OOM Daemon for Linux"
|
short_desc="Early OOM Daemon for Linux"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/rfjakob/earlyoom"
|
homepage="https://github.com/rfjakob/earlyoom"
|
||||||
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
|
distfiles="https://github.com/rfjakob/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=b015a2551e46abcc843c29b27ae8466a187b30fad8084574545f66624cab0842
|
checksum=167a8cd194df5d1c5bd5327efd7bcad824a99381c02a2969f9e2684b7c5317d7
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS}
|
${CC} ${CFLAGS} -DVERSION='"'$version'"' -o earlyoom *.c ${LDFLAGS}
|
||||||
|
|
Loading…
Reference in a new issue