[wiki] [sites] [dwm][patch][pledge] remove patch || Michael Hendricks

From: <git_AT_suckless.org>
Date: Thu, 21 Apr 2022 22:58:50 +0200

commit b15a0b78132b2df5e6b10651a236ee8091dd26c9
Author: Michael Hendricks <michael_AT_ndrix.org>
Date: Thu Apr 21 14:56:28 2022 -0600

    [dwm][patch][pledge] remove patch
    
    This patch was committed to dwm in commit f40f86fa, on 25 May 2018.
    There's no need to keep it separate at this point.

diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff
deleted file mode 100644
index 64f7e8ba..00000000
--- a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff
+++ /dev/null
_AT_@ -1,12 +0,0 @@
-Index: dwm.c
---- dwm.c.orig
-+++ dwm.c
-_AT_@ -2133,6 +2133,8 @@ main(int argc, char *argv[])
- die("dwm: cannot open display
");
- checkotherwm();
- setup();
-+ if (pledge("stdio rpath proc exec", NULL) == -1)
-+ die("pledge
");
- scan();
- run();
- cleanup();
diff --git a/dwm.suckless.org/patches/pledge/index.md b/dwm.suckless.org/patches/pledge/index.md
deleted file mode 100644
index 1a4c86cf..00000000
--- a/dwm.suckless.org/patches/pledge/index.md
+++ /dev/null
_AT_@ -1,14 +0,0 @@
-pledge
-======
-
-Description
------------
-Restrict system operations on OpenBSD using [pledge(2)](https://man.openbsd.org/pledge).
-
-Download
---------
-* [dwm-pledge-6.1.diff](dwm-pledge-6.1.diff)
-
-Authors
--------
-* Klemens Nanni <kn_AT_openbsd.org>
Received on Thu Apr 21 2022 - 22:58:50 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 21 2022 - 23:00:49 CEST