From: Jeroen Roovers Date: Sat, 16 Apr 2016 12:25:50 +0000 (+0200) Subject: x11-misc/slock: Remove suid/sgid advice by Markus Teich X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8ef975064d0e5b18fa39812c0ccdd7f036ac520f;p=gentoo.git x11-misc/slock: Remove suid/sgid advice by Markus Teich --- diff --git a/x11-misc/slock/files/slock-1.3-dontdieonme.patch b/x11-misc/slock/files/slock-1.3-warning.patch similarity index 85% rename from x11-misc/slock/files/slock-1.3-dontdieonme.patch rename to 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 similarity index 95% rename from x11-misc/slock/slock-1.3-r1.ebuild rename to 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