public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Evans" <grknight@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/pecl-ps/, dev-php/pecl-ps/files/
Date: Wed, 29 Sep 2021 23:16:04 +0000 (UTC)	[thread overview]
Message-ID: <1632957318.990dbf5a48a258c451d1f0a0e9b7e462ceef3eaf.grknight@gentoo> (raw)

commit:     990dbf5a48a258c451d1f0a0e9b7e462ceef3eaf
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 29 23:15:18 2021 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Sep 29 23:15:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=990dbf5a

dev-php/pecl-ps: Fix build error with gd detection

Closes: https://bugs.gentoo.org/815388
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>

 dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch | 11 +++++++++++
 dev-php/pecl-ps/pecl-ps-1.4.4.ebuild                  |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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
new file mode 100644
index 00000000000..282bc7a3410
--- /dev/null
+++ b/dev-php/pecl-ps/files/ps-1.4.4-fix-gd-detection.patch
@@ -0,0 +1,11 @@
+--- a/config.m4
++++ b/config.m4
+@@ -38,7 +38,7 @@
+ PHP_ARG_ENABLE([gd],
+   [for GD support],
+   [AS_HELP_STRING([--enable-gd],
+-    [Include GD support])])
++    [Include GD support])], no, no)
+ 
+ if test "$PHP_GD" != "no"; then
+ 

diff --git a/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild
index 9de12888a4c..e010eda79f5 100644
--- a/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild
+++ b/dev-php/pecl-ps/pecl-ps-1.4.4.ebuild
@@ -18,9 +18,10 @@ IUSE="examples gd"
 
 DEPEND="dev-libs/pslib gd? ( media-libs/gd:2= )"
 RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/ps-1.4.4-fix-gd-detection.patch" )
 
 src_configure() {
-	PHP_EXT_ECONF_ARGS="$(use_enable gd)"
+	PHP_EXT_ECONF_ARGS=( $(use_enable gd) )
 	php-ext-source-r3_src_configure
 }
 


                 reply	other threads:[~2021-09-29 23:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632957318.990dbf5a48a258c451d1f0a0e9b7e462ceef3eaf.grknight@gentoo \
    --to=grknight@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox