summaryrefslogtreecommitdiff
path: root/ftp/proftpd/files/extra-patch-7-src-fsio.c
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
commit0438143249634ab5028e53cb468d99a894c62995 (patch)
tree204c01c7973e83331fc29d8b09e59b3e9f219bd6 /ftp/proftpd/files/extra-patch-7-src-fsio.c
parentsysutils/jail-primer: update 0.1 -> 0.2 (diff)
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
Diffstat (limited to 'ftp/proftpd/files/extra-patch-7-src-fsio.c')
-rw-r--r--ftp/proftpd/files/extra-patch-7-src-fsio.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/ftp/proftpd/files/extra-patch-7-src-fsio.c b/ftp/proftpd/files/extra-patch-7-src-fsio.c
deleted file mode 100644
index 22e66f6f7ab2..000000000000
--- a/ftp/proftpd/files/extra-patch-7-src-fsio.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/fsio.c.orig 2010-04-12 12:00:00.000000000 -0700
-+++ src/fsio.c 2011-12-16 15:12:07.799166185 -0800
-@@ -50,6 +50,8 @@
- # include <acl/libacl.h>
- #endif
-
-+#include <unistd.h>
-+
- typedef struct fsopendir fsopendir_t;
-
- struct fsopendir {
-@@ -287,6 +289,7 @@
- static int sys_chroot(pr_fs_t *fs, const char *path) {
- if (chroot(path) < 0)
- return -1;
-+ __FreeBSD_libc_enter_restricted_mode();
-
- session.chroot_path = (char *) path;
- return 0;