1 |
commit: 990dbf5a48a258c451d1f0a0e9b7e462ceef3eaf |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 29 23:15:18 2021 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 29 23:15:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990dbf5a |
7 |
|
8 |
dev-php/pecl-ps: Fix build error with gd detection |
9 |
|
10 |
Closes: https://bugs.gentoo.org/815388 |
11 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
12 |
|
13 |
dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch | 11 +++++++++++ |
14 |
dev-php/pecl-ps/pecl-ps-1.4.4.ebuild | 3 ++- |
15 |
2 files changed, 13 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch b/dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..282bc7a3410 |
20 |
--- /dev/null |
21 |
+++ b/dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch |
22 |
@@ -0,0 +1,11 @@ |
23 |
+--- a/config.m4 |
24 |
++++ b/config.m4 |
25 |
+@@ -38,7 +38,7 @@ |
26 |
+ PHP_ARG_ENABLE([gd], |
27 |
+ [for GD support], |
28 |
+ [AS_HELP_STRING([--enable-gd], |
29 |
+- [Include GD support])]) |
30 |
++ [Include GD support])], no, no) |
31 |
+ |
32 |
+ if test "$PHP_GD" != "no"; then |
33 |
+ |
34 |
|
35 |
diff --git a/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild |
36 |
index 9de12888a4c..e010eda79f5 100644 |
37 |
--- a/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild |
38 |
+++ b/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild |
39 |
@@ -18,9 +18,10 @@ IUSE="examples gd" |
40 |
|
41 |
DEPEND="dev-libs/pslib gd? ( media-libs/gd:2= )" |
42 |
RDEPEND="${DEPEND}" |
43 |
+PATCHES=( "${FILESDIR}/ps-1.4.4-fix-gd-detection.patch" ) |
44 |
|
45 |
src_configure() { |
46 |
- PHP_EXT_ECONF_ARGS="$(use_enable gd)" |
47 |
+ PHP_EXT_ECONF_ARGS=( $(use_enable gd) ) |
48 |
php-ext-source-r3_src_configure |
49 |
} |