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 238E213835A for ; Sat, 3 Apr 2021 20:15:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3CB7FE0829; Sat, 3 Apr 2021 20:15:22 +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 23AC7E0829 for ; Sat, 3 Apr 2021 20:15:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D506D335D46 for ; Sat, 3 Apr 2021 20:15:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 584BE63D for ; Sat, 3 Apr 2021 20:15:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617480911.1fa3cfbe816717289b5434a48a907532df4d3ec4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/photopc/, media-gfx/photopc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/photopc/files/photopc-3.07-implicit-declarations.patch media-gfx/photopc/photopc-3.07.ebuild X-VCS-Directories: media-gfx/photopc/ media-gfx/photopc/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1fa3cfbe816717289b5434a48a907532df4d3ec4 X-VCS-Branch: master Date: Sat, 3 Apr 2021 20:15:19 +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: 97068e9b-f38d-4197-9ba0-cda8804da89b X-Archives-Hash: ab7ad1665d256a0ed91ed12af99bf970 commit: 1fa3cfbe816717289b5434a48a907532df4d3ec4 Author: Sam James gentoo org> AuthorDate: Sat Apr 3 20:14:38 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 3 20:15:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa3cfbe media-gfx/photopc: EAPI 7 Signed-off-by: Sam James gentoo.org> .../files/photopc-3.07-implicit-declarations.patch | 36 ++++++++++++++++++++++ media-gfx/photopc/photopc-3.07.ebuild | 9 ++++-- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/media-gfx/photopc/files/photopc-3.07-implicit-declarations.patch b/media-gfx/photopc/files/photopc-3.07-implicit-declarations.patch new file mode 100644 index 00000000000..dcf155f8519 --- /dev/null +++ b/media-gfx/photopc/files/photopc-3.07-implicit-declarations.patch @@ -0,0 +1,36 @@ +diff --git a/ctimez.c b/ctimez.c +index 21a529d..ecd5616 100644 +--- a/ctimez.c ++++ b/ctimez.c +@@ -48,6 +48,7 @@ static char *rcsid="$Id: ctimez.c,v 1.7 1999/11/09 18:55:03 crosser Exp $"; + #include + #include + #include ++#include + #if TIME_WITH_SYS_TIME + # include + # include +diff --git a/eph_cmd.c b/eph_cmd.c +index 7f90ad6..462eff0 100644 +--- a/eph_cmd.c ++++ b/eph_cmd.c +@@ -89,6 +89,7 @@ static char *rcsid="$Id: eph_cmd.c,v 1.20 2001/08/28 06:28:01 crosser Exp $"; + #include "config.h" + #endif + #include ++#include + #include "eph_io.h" + #include "eph_priv.h" + +diff --git a/fnames.c b/fnames.c +index bf2db6d..8d19f4c 100644 +--- a/fnames.c ++++ b/fnames.c +@@ -53,6 +53,7 @@ static char *rcsid="$Id: fnames.c,v 1.7 2001/01/11 06:49:57 crosser Exp $"; + #include + #include + #include ++#include + #if TIME_WITH_SYS_TIME + # include + # include diff --git a/media-gfx/photopc/photopc-3.07.ebuild b/media-gfx/photopc/photopc-3.07.ebuild index 1d85a3d5701..a2e80fb2afd 100644 --- a/media-gfx/photopc/photopc-3.07.ebuild +++ b/media-gfx/photopc/photopc-3.07.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs @@ -12,7 +12,10 @@ SRC_URI="mirror://sourceforge/photopc/${P}.tar.gz" LICENSE="photopc" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-3.07-implicit-declarations.patch +) src_compile() { emake AR="$(tc-getAR)"