Subject: bug#75943: closed (Re: [bug#75943] [PATCH] gnu: perl-sdl: Fix build.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 02 Feb 2025 06:55:04 +0000

Your bug report

#75943: [PATCH] gnu: perl-sdl: Fix build.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
75943: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75943
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#75943] [PATCH] gnu: perl-sdl: Fix build.
From: 宋文武 <[email-masked]>
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Sun, 02 Feb 2025 14:58:23 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Pushed to master, close.

Subject: [PATCH] gnu: perl-sdl: Fix build.
From: [email-masked]
To: [email-masked]
Cc: 宋文武 <[email-masked]>
Date: Thu, 30 Jan 2025 19:55:54 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

From: 宋文武 <[email-masked]>

* gnu/packages/perl.scm (perl-sdl)[arguments]: Add 'skip-failing-test phase.

Change-Id: I44627e1d19a4a4d37f7b2663738cde2f0dc598ee
---
 gnu/packages/perl.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 773c8f8813..13d9db9959 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -13096,6 +13096,16 @@ (define-public perl-sdl
        (sha256
         (base32 "1dagpmcpjnwvd4g6mmnc312rqpd4qcwx21rpi2j7084wz8mijai5"))))
     (build-system perl-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'skip-failing-test
+                 (lambda _
+                   ;; XXX: This test fails with:
+                   ;;   Can't use an undefined value as a subroutine reference
+                   ;;   during global destruction.
+                   (substitute* "t/core_events.t"
+                     (("^SDL::Events::set_event_filter") "#")))))))
     (native-inputs
      (list perl-alien-sdl
            perl-capture-tiny

base-commit: c994e9262f9dbe4d688f688c92aedb3ee7ba4dfc
-- 
2.47.1