summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-04-16 14:25:50 +0200
committerJeroen Roovers <jer@gentoo.org>2016-04-16 14:25:50 +0200
commit8ef975064d0e5b18fa39812c0ccdd7f036ac520f (patch)
tree37015fb6639a40f75dff5c60a0dfb08b5487c59d /x11-misc/slock
parentdev-libs/libtasn1: Stable for HPPA PPC64 (bug #579748). (diff)
downloadgentoo-8ef975064d0e5b18fa39812c0ccdd7f036ac520f.tar.gz
gentoo-8ef975064d0e5b18fa39812c0ccdd7f036ac520f.tar.bz2
gentoo-8ef975064d0e5b18fa39812c0ccdd7f036ac520f.zip
x11-misc/slock: Remove suid/sgid advice by Markus Teich
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/files/slock-1.3-warning.patch (renamed from x11-misc/slock/files/slock-1.3-dontdieonme.patch)3
-rw-r--r--x11-misc/slock/slock-1.3-r2.ebuild (renamed from x11-misc/slock/slock-1.3-r1.ebuild)2
2 files changed, 2 insertions, 3 deletions
diff --git a/x11-misc/slock/files/slock-1.3-dontdieonme.patch b/x11-misc/slock/files/slock-1.3-warning.patch
index bda110a2d5e6..df2ce5a38514 100644
--- a/x11-misc/slock/files/slock-1.3-dontdieonme.patch
+++ b/x11-misc/slock/files/slock-1.3-warning.patch
@@ -5,7 +5,6 @@
if (fd < 0 || write(fd, value, length) != length || close(fd) != 0)
- die("cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)\n");
-+ fprintf(stderr, "cannot disable the out-of-memory killer for this process (make sure to suid or sgid slock)\n");
++ fprintf(stderr, "cannot disable the out-of-memory killer for this process.\n");
}
#endif
-
diff --git a/x11-misc/slock/slock-1.3-r1.ebuild b/x11-misc/slock/slock-1.3-r2.ebuild
index 57c1466db018..de282affde80 100644
--- a/x11-misc/slock/slock-1.3-r1.ebuild
+++ b/x11-misc/slock/slock-1.3-r2.ebuild
@@ -25,7 +25,7 @@ DEPEND="
"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.3-dontdieonme.patch
+ epatch "${FILESDIR}"/${PN}-1.3-warning.patch
epatch_user