Subject: [bug#77982] [PATCH] gnu: profanity: Fix build.

From: Tanguy Le Carrour <[email-masked]>
Date: Tue, 22 Apr 2025 10:26:19 +0200

* gnu/packages/messaging.scm (profanity)[arguments]: Remove a phase
deprecated by the upgrade to Python 3.11.

Change-Id: Iac74fb082fbdcea36c9eef0d2918f85fad1fee8a
---
 gnu/packages/messaging.scm | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 57c6976193..5c48c5ff73 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2283,14 +2283,7 @@ (define-public profanity
            "--enable-otr"
            "--enable-pgp"
            "--enable-omemo"
-           "--enable-icons-and-clipboard")
-       #:phases
-       #~(modify-phases %standard-phases
-           (add-after 'unpack 'patch-python-plugins
-             (lambda _
-               ;; Py_XDECREF is a macro in Python 3.10
-               (substitute* "src/plugins/python_plugins.c"
-                 (("Py_XDECREF") "_Py_XDECREF")))))))
+           "--enable-icons-and-clipboard")))
     (native-inputs
      (list autoconf
            autoconf-archive

base-commit: c6ee7b0f79632d50ad491b75c240547be8f40c31
-- 
2.49.0