From 49c799f9053ca07bed00fbb99f465b615eb4b675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 14 May 2019 12:47:04 +0200 Subject: [PATCH] openssh: fix build w/ gcc-9.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/openssh/patches/auth2-pubkey_c-command.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 srcpkgs/openssh/patches/auth2-pubkey_c-command.patch diff --git a/srcpkgs/openssh/patches/auth2-pubkey_c-command.patch b/srcpkgs/openssh/patches/auth2-pubkey_c-command.patch new file mode 100644 index 00000000000..5370f6b4fd1 --- /dev/null +++ b/srcpkgs/openssh/patches/auth2-pubkey_c-command.patch @@ -0,0 +1,10 @@ +--- auth2-pubkey.c 2019-05-14 12:41:42.185855228 +0200 ++++ auth2-pubkey.c 2019-05-14 12:44:49.649864899 +0200 +@@ -446,6 +446,7 @@ + username, strerror(errno)); + goto out; + } ++ command = strdup(options.authorized_principals_command); + + /* Turn the command into an argument vector */ + if (argv_split(options.authorized_principals_command, &ac, &av) != 0) {