public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: LuK1337 <priv.luk@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/weechat] f44: Reapply "Reenable PHP plugins support"
Date: Sat, 05 Sep 2026 10:50:05 GMT	[thread overview]
Message-ID: <178860540560.1.328814412670472351.rpms-weechat-5f52b282b417@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/weechat
            Branch : f44
            Commit : 5f52b282b417df31ec25707195943f187af8ff74
            Author : LuK1337 <priv.luk@gmail.com>
            Date   : 2026-08-14T12:36:45+02:00
            Stats  : +11/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/weechat/c/5f52b282b417df31ec25707195943f187af8ff74?branch=f44

            Log:
            Reapply "Reenable PHP plugins support"

This was fixed years ago, not sure why I didn't reenable it.

This reverts commit 2c450d8b63251ec20c20692bac425a1ec62a1b99.

See: https://github.com/weechat/weechat/issues/2009
     https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413

---
diff --git a/weechat.spec b/weechat.spec
index d1653d7..96e4ea3 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -32,12 +32,19 @@ BuildRequires: lua-devel
 BuildRequires: ncurses-devel
 BuildRequires: perl-devel
 BuildRequires: perl-ExtUtils-Embed
+%ifnarch %{ix86}
+BuildRequires: php-embedded
+BuildRequires: php-devel
+%endif
 BuildRequires: pkgconfig
 BuildRequires: python3-devel
 BuildRequires: ruby
 BuildRequires: ruby-devel
 BuildRequires: source-highlight
 BuildRequires: tcl-devel
+%ifnarch %{ix86}
+BuildRequires: uriparser-devel
+%endif
 BuildRequires: zlib-devel
 
 Requires:      hicolor-icon-theme
@@ -69,10 +76,14 @@ This package contains include files and pc file for weechat.
 %cmake \
   -DLIBDIR=%{_libdir} \
   -DENABLE_ENCHANT=ON \
+%ifarch %{ix86}
   -DENABLE_PHP=OFF \
+%endif
   -DENABLE_TESTS=ON \
   -DENABLE_DOC=ON \
+%ifarch %{ix86}
   -DENABLE_DOC_INCOMPLETE=ON \
+%endif
   -DENABLE_MAN=ON \
   %{nil}
 %cmake_build

                 reply	other threads:[~2026-09-05 10:50 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=178860540560.1.328814412670472351.rpms-weechat-5f52b282b417@fedoraproject.org \
    --to=priv.luk@gmail.com \
    --cc=git-commits@fedoraproject.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