Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/exact-image/files/, media-gfx/exact-image/
Date: Tue, 06 Oct 2020 06:35:29
Message-Id: 1601966099.649287aaab870763cf8a436e4212b57a6fcf0c02.tupone@gentoo
1 commit: 649287aaab870763cf8a436e4212b57a6fcf0c02
2 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 6 06:34:59 2020 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 06:34:59 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649287aa
7
8 media-gfx/exact-image: fix to work with php7
9
10 Closes: https://bugs.gentoo.org/651072
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
13
14 media-gfx/exact-image/exact-image-1.0.2.ebuild | 1 +
15 media-gfx/exact-image/files/exact-image-1.0.2-php.patch | 11 +++++++++++
16 2 files changed, 12 insertions(+)
17
18 diff --git a/media-gfx/exact-image/exact-image-1.0.2.ebuild b/media-gfx/exact-image/exact-image-1.0.2.ebuild
19 index 2c2e93b4fff..62b39e9d7e4 100644
20 --- a/media-gfx/exact-image/exact-image-1.0.2.ebuild
21 +++ b/media-gfx/exact-image/exact-image-1.0.2.ebuild
22 @@ -40,6 +40,7 @@ PATCHES=(
23 "${FILESDIR}"/${P}-gcc6.patch
24 "${FILESDIR}"/${P}-g++.patch
25 "${FILESDIR}"/${P}-dcraw.patch
26 + "${FILESDIR}"/${P}-php.patch
27 )
28
29 src_prepare() {
30
31 diff --git a/media-gfx/exact-image/files/exact-image-1.0.2-php.patch b/media-gfx/exact-image/files/exact-image-1.0.2-php.patch
32 new file mode 100644
33 index 00000000000..787d71335f3
34 --- /dev/null
35 +++ b/media-gfx/exact-image/files/exact-image-1.0.2-php.patch
36 @@ -0,0 +1,11 @@
37 +--- a/api/php/Makefile 2020-10-06 08:28:04.511865454 +0200
38 ++++ b/api/php/Makefile 2020-10-06 08:28:18.109638538 +0200
39 +@@ -8,7 +8,7 @@
40 +
41 + $($(X_MODULE)_OUTPUT)/api-php-wrap.cc: $(X_MODULE)/../api.hh $(X_MODULE)/../api-swig.hh
42 + $(Q)echo " SWIG $(dir $@)"
43 +- $(Q)swig -php5 -c++ -outdir $(dir $@) -o '$@' $(X_MODULE)/../api-swig.hh
44 ++ $(Q)swig -php7 -c++ -outdir $(dir $@) -o '$@' $(X_MODULE)/../api-swig.hh
45 +
46 + # we have an own install
47 + _X_BUILD_IMPLICIT := $(_X_BUILD_IMPLICIT)