summaryrefslogtreecommitdiff
path: root/devel/opencvs/files/patch-cvs.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/opencvs/files/patch-cvs.c')
-rw-r--r--devel/opencvs/files/patch-cvs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/opencvs/files/patch-cvs.c b/devel/opencvs/files/patch-cvs.c
new file mode 100644
index 000000000000..1910db9d9dde
--- /dev/null
+++ b/devel/opencvs/files/patch-cvs.c
@@ -0,0 +1,13 @@
+--- cvs.c.orig 2016-02-06 23:39:08.240246000 +0100
++++ cvs.c 2016-02-06 23:39:10.243855000 +0100
+@@ -187,8 +187,10 @@ main(int argc, char **argv)
+ struct stat st;
+ char fpath[PATH_MAX];
+
++#if 0
+ if (pledge("stdio rpath wpath cpath fattr proc exec", NULL) == -1)
+ err(1, "pledge");
++#endif
+
+ tzset();
+