diff options
author | Mike Frysinger <vapier@gentoo.org> | 2018-01-10 03:34:05 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2018-01-10 03:34:05 -0500 |
commit | a5f421f69f9d54cb9f3137ba0bf3e3d4a67bdd68 (patch) | |
tree | 512edacc37807b4d2f00b7fdd24a74a6aaf54306 /net-misc/openssh/files | |
parent | sys-devel/gnuconfig: version bump to 20180101 (diff) | |
download | gentoo-a5f421f69f9d54cb9f3137ba0bf3e3d4a67bdd68.tar.gz gentoo-a5f421f69f9d54cb9f3137ba0bf3e3d4a67bdd68.tar.bz2 gentoo-a5f421f69f9d54cb9f3137ba0bf3e3d4a67bdd68.zip |
net-misc/openssh: add upstream fix for building on s390
Diffstat (limited to 'net-misc/openssh/files')
-rw-r--r-- | net-misc/openssh/files/openssh-7.5_p1-s390-seccomp.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-misc/openssh/files/openssh-7.5_p1-s390-seccomp.patch b/net-misc/openssh/files/openssh-7.5_p1-s390-seccomp.patch new file mode 100644 index 000000000000..d7932003f8f8 --- /dev/null +++ b/net-misc/openssh/files/openssh-7.5_p1-s390-seccomp.patch @@ -0,0 +1,27 @@ +From 58b8cfa2a062b72139d7229ae8de567f55776f24 Mon Sep 17 00:00:00 2001 +From: Damien Miller <djm@mindrot.org> +Date: Wed, 22 Mar 2017 12:43:02 +1100 +Subject: [PATCH] Missing header on Linux/s390 + +Patch from Jakub Jelen +--- + sandbox-seccomp-filter.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c +index a8d472a63ccb..2831e9d1083c 100644 +--- a/sandbox-seccomp-filter.c ++++ b/sandbox-seccomp-filter.c +@@ -50,6 +50,9 @@ + #include <elf.h> + + #include <asm/unistd.h> ++#ifdef __s390__ ++#include <asm/zcrypt.h> ++#endif + + #include <errno.h> + #include <signal.h> +-- +2.15.1 + |