public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_ssh/, sys-auth/pam_ssh/files/
@ 2020-04-22 12:26 Mikle Kolyada
  0 siblings, 0 replies; only message in thread
From: Mikle Kolyada @ 2020-04-22 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     cd27db05936853b3a8f0fd4560f564eef9c18daa
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 22 12:24:21 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 12:26:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd27db05

sys-auth/pam_ssh: fix build with gcc-10

Closes: https://bugs.gentoo.org/709312

Thanks-to: Jeroen Roovers <jer <AT> gentoo.org>

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch | 11 +++++++++++
 sys-auth/pam_ssh/pam_ssh-2.3.ebuild            |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch b/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch
new file mode 100644
index 00000000000..9871b4297c7
--- /dev/null
+++ b/sys-auth/pam_ssh/files/pam_ssh-gcc10-fix.patch
@@ -0,0 +1,11 @@
+--- a/ge25519.h
++++ b/ge25519.h
+@@ -28,7 +28,7 @@
+   fe25519 t;
+ } ge25519;
+ 
+-const ge25519 ge25519_base;
++extern const ge25519 ge25519_base;
+ 
+ int ge25519_unpackneg_vartime(ge25519 *r, const unsigned char p[32]);
+ 

diff --git a/sys-auth/pam_ssh/pam_ssh-2.3.ebuild b/sys-auth/pam_ssh/pam_ssh-2.3.ebuild
index aa31b08e2c8..23e4dd08095 100644
--- a/sys-auth/pam_ssh/pam_ssh-2.3.ebuild
+++ b/sys-auth/pam_ssh/pam_ssh-2.3.ebuild
@@ -12,17 +12,18 @@ SRC_URI="mirror://sourceforge/pam-ssh/${P}.tar.xz"
 LICENSE="BSD-2 BSD ISC"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE=""
 
 # Only supports OpenSSH via `ssh-agent` #282993
 DEPEND="sys-libs/pam
 	dev-libs/openssl:0="
+
 RDEPEND="${DEPEND}
 	net-misc/openssh"
 
 PATCHES=(
 	# 503424#c5
 	"${FILESDIR}"/${PN}-2.1-dot-ssh-check.patch
+	"${FILESDIR}"/${PN}-gcc10-fix.patch
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-22 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-22 12:26 [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_ssh/, sys-auth/pam_ssh/files/ Mikle Kolyada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox