From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15AA1138350 for ; Mon, 17 Feb 2020 20:43:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59DB7E08D3; Mon, 17 Feb 2020 20:43:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3FE27E08D3 for ; Mon, 17 Feb 2020 20:43:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B532E34DA97 for ; Mon, 17 Feb 2020 20:43:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51FB1129 for ; Mon, 17 Feb 2020 20:43:03 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1581972169.0d6e4b3e3caf745256cfb81d8bf718658796af06.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-ftp/gftp/, net-ftp/gftp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch net-ftp/gftp/gftp-2.0.19-r3.ebuild X-VCS-Directories: net-ftp/gftp/ net-ftp/gftp/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 0d6e4b3e3caf745256cfb81d8bf718658796af06 X-VCS-Branch: master Date: Mon, 17 Feb 2020 20:43:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 92a44148-1111-4ddb-be61-c007db5662b6 X-Archives-Hash: 9b41c86b60453c7a59b013bc69224165 commit: 0d6e4b3e3caf745256cfb81d8bf718658796af06 Author: Sergei Trofimovich gentoo org> AuthorDate: Mon Feb 17 20:42:21 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Feb 17 20:42:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d6e4b3e net-ftp/gftp: backport glibc-2.30 fix, bug #692230 Fix found by Stephan Hartmann! Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/692230 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich gentoo.org> net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch | 27 +++++++++++++++++++++++++ net-ftp/gftp/gftp-2.0.19-r3.ebuild | 5 ++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch b/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch new file mode 100644 index 00000000000..ee1d596a03c --- /dev/null +++ b/net-ftp/gftp/files/gftp-2.0.19-glibc-2.30.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/692230 +https://github.com/masneyb/gftp/commit/371c494a34c1820544d6563fb7ef5ca51a0ee199 + +From 371c494a34c1820544d6563fb7ef5ca51a0ee199 Mon Sep 17 00:00:00 2001 +From: Brian Masney +Date: Thu, 21 Jul 2016 05:05:18 -0400 +Subject: [PATCH] fixed compiling on some versions of Linux. Patch picked up + from the Fedora Project at + https://github.com/repoforge/rpms/blob/master/specs/gftp/gftp-stropts.patch + +--- + lib/pty.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/pty.c b/lib/pty.c +index f7cb1f9..f9d609b 100644 +--- a/lib/pty.c ++++ b/lib/pty.c +@@ -61,7 +61,7 @@ _gftp_ptys_open (int fdm, int fds, char *pts_name) + + #elif HAVE_GRANTPT + +-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)) ++#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) || defined(__linux__)) + #include + #endif + diff --git a/net-ftp/gftp/gftp-2.0.19-r3.ebuild b/net-ftp/gftp/gftp-2.0.19-r3.ebuild index 57a51c790a9..a79b3a00b48 100644 --- a/net-ftp/gftp/gftp-2.0.19-r3.ebuild +++ b/net-ftp/gftp/gftp-2.0.19-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -33,6 +33,9 @@ PATCHES=( # https://bugzilla.gnome.org/show_bug.cgi?id=740785 "${FILESDIR}/${P}-desktop.patch" + + # https://bugs.gentoo.org/692230 + "${FILESDIR}"/${P}-glibc-2.30.patch ) src_configure() {