summaryrefslogtreecommitdiff
path: root/media-gfx/photopc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /media-gfx/photopc
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'media-gfx/photopc')
-rw-r--r--media-gfx/photopc/Manifest3
-rw-r--r--media-gfx/photopc/files/photopc-3.07-implicit-declarations.patch36
-rw-r--r--media-gfx/photopc/photopc-3.07.ebuild9
3 files changed, 44 insertions, 4 deletions
diff --git a/media-gfx/photopc/Manifest b/media-gfx/photopc/Manifest
index 3bb25a044508..96688298dd90 100644
--- a/media-gfx/photopc/Manifest
+++ b/media-gfx/photopc/Manifest
@@ -1,3 +1,4 @@
+AUX photopc-3.07-implicit-declarations.patch 995 BLAKE2B d07e2ecdc6d5740c70084821a78707058008929db1bc3f944f7bb60c0160bfbfea972fd6ee8c163db3dfd71ca6873eab6bd03f66711f2d18f5f20e42116a1e3e SHA512 02caf623d49fbd513124fe595562c99abac26d5485bcfe9437149d058245302030cde9a7a556760f7e98a783e1b064e61485cb8a5a873f83111c07f751cc1022
DIST photopc-3.07.tar.gz 183668 BLAKE2B 283adf1664ec48c439cd1343d5015d8cc591f401d6a59edd8c70d9f6c69bb051e9a7c20a72898da98be2e483e0e9c2e0a2db527fe3f94b5ca7ff15ab9f743161 SHA512 2346da12e8276024a33582806898660da74613edd7fe8ee3f707e505197ba6072c31d58a24b540021e60117d81f553360a7efa57924db9cd0a4e428d64c0c1d3
-EBUILD photopc-3.07.ebuild 501 BLAKE2B 292f1960f6108787d7253abe78f982a7b1563db8c84cdd1403cef3ad54cd90b16ba2f16632e32b42684c1bcb886ba495c77f1660d2fb1dce409a203ccd352a58 SHA512 43507f6ff25a5ed40d29e3f9793e6d6f3ce4ea169aa153ddeedc916ad00b8240b01ec3e855edb03fd500b08240dcd168d7e5bb574f63a3b4b62ea36c49d9df26
+EBUILD photopc-3.07.ebuild 557 BLAKE2B c1715350ec16b1eff15751058ffa7e321c3a51f887c0ff9bc6cae0035867171f908d795e33fe995a38f9e069e8f185285afe61f76511537b9d934ed35cebf9f1 SHA512 cc812fd69d9eeac676d2d7120e9655704acb6855898d6ebf12d56d139b9f9dd6baa7b79ff6d99f084d1c40a7ccdeee33dff20c3c0355963a6067bd1bc4d50868
MISC metadata.xml 244 BLAKE2B 8ab61f2a63517bc1812136e7dafb4b3604933a9b2de6ffa14750941629793010b8ef0f078aad96b4cb9cdd0536481dbb004586564b0fa35f9da36872e7752fb0 SHA512 183bf97fb61d17612a38ae6403231067e26472c99e09a8a0cc20b802cf6572b2332205d7cae88166631252aac379c90c33e79ea0960f4710a6df37bc92f16ed0
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 000000000000..dcf155f85190
--- /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 <sys/types.h>
+ #include <sys/stat.h>
+ #include <stdio.h>
++#include <string.h>
+ #if TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
+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 <stdio.h>
++#include <string.h>
+ #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 <sys/types.h>
+ #include <sys/stat.h>
+ #include <stdio.h>
++#include <string.h>
+ #if TIME_WITH_SYS_TIME
+ # include <sys/time.h>
+ # include <time.h>
diff --git a/media-gfx/photopc/photopc-3.07.ebuild b/media-gfx/photopc/photopc-3.07.ebuild
index 1d85a3d57011..a2e80fb2afd2 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)"