From b0c2ce8f293c9d34c4713bc7d386d35ed65abdc6 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Sun, 18 Nov 2018 03:48:17 +0000 Subject: [PATCH] - Unbreak on HEAD PR: 233242 Submitted by: Nathan Reported by: Martin Wilke Reviewed by: Gleb Kurtsou --- sysutils/pefs-kmod/Makefile | 8 ++++---- .../pefs-kmod/files/patch-sys_fs_pefs_pefs__vnops.c | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 sysutils/pefs-kmod/files/patch-sys_fs_pefs_pefs__vnops.c diff --git a/sysutils/pefs-kmod/Makefile b/sysutils/pefs-kmod/Makefile index 5233dfbcbb5a..3924a970d6dd 100644 --- a/sysutils/pefs-kmod/Makefile +++ b/sysutils/pefs-kmod/Makefile @@ -12,10 +12,6 @@ COMMENT= PEFS kernel level stacked cryptographic filesystem LICENSE= BSD2CLAUSE -MAKE_JOBS_UNSAFE=yes -MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \ - NO_MANCOMPRESS= - BROKEN_armv6= fails to compile: implicit declaration of function 'cp15_pmccntr_get' is invalid in C99 BROKEN_DragonFly= fails to build: don't know how to make vnode_if.h ONLY_FOR_ARCHS= amd64 armv6 i386 @@ -23,6 +19,10 @@ ONLY_FOR_ARCHS_REASON= untested on any other arch USES= kmod uidfix +MAKE_JOBS_UNSAFE=yes +MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \ + NO_MANCOMPRESS= + OPTIONS_DEFINE= AESNI OPTIONS_DEFAULT= AESNI_DESC= Enable AES-NI hardware acceleration diff --git a/sysutils/pefs-kmod/files/patch-sys_fs_pefs_pefs__vnops.c b/sysutils/pefs-kmod/files/patch-sys_fs_pefs_pefs__vnops.c new file mode 100644 index 000000000000..27f48f23cbd0 --- /dev/null +++ b/sysutils/pefs-kmod/files/patch-sys_fs_pefs_pefs__vnops.c @@ -0,0 +1,11 @@ +--- sys/fs/pefs/pefs_vnops.c.orig 2018-11-16 12:26:20 UTC ++++ sys/fs/pefs/pefs_vnops.c +@@ -1920,7 +1920,7 @@ pefs_symlink(struct vop_symlink_args *ap) + struct pefs_node *dpn; + struct pefs_enccn enccn; + struct pefs_chunk pc; +- char *target = ap->a_target; ++ const char *target = ap->a_target; + char *enc_target, *penc_target; + size_t penc_target_len; + size_t target_len;