summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-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 bda110a2d5e..df2ce5a3851 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 57c1466db01..de282affde8 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