SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
mail/tnef/patches/patch-src_main_c
Normal file
16
mail/tnef/patches/patch-src_main_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
Index: src/main.c
|
||||
--- src/main.c.orig
|
||||
+++ src/main.c
|
||||
@@ -355,6 +355,12 @@ main (int argc, char *argv[])
|
||||
(unsigned long)max_size);
|
||||
}
|
||||
|
||||
+ if (pledge("stdio rpath wpath cpath", NULL) == -1)
|
||||
+ {
|
||||
+ perror ("pledge");
|
||||
+ exit (1);
|
||||
+ }
|
||||
+
|
||||
/* open the file */
|
||||
if (in_file)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue