diff options
| author | Sergey Trofimov <sarg@sarg.org.ru> | 2025-12-02 22:37:22 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-12-03 10:59:37 +0100 |
| commit | b0928cc7faed732e6bed661de61dc3d6ed89101f (patch) | |
| tree | 0bd747791512243cdafbda984d9056c2b06760b8 /gnu/packages/perl.scm | |
| parent | 62b90a656941d04255dac182ee89e2879a94f504 (diff) | |
gnu: perl-sdl: Fix build with gcc@14.
* gnu/packages/perl.scm (perl-sdl)[arguments]<#:phases>{gcc-14}:
New phase to set CFLAGS.
Fixes: guix/guix#4630
Change-Id: I8bc422b6867e0c49586797b57ef49df2881fcbba
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/perl.scm')
| -rw-r--r-- | gnu/packages/perl.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 52a0ec9971b..afe313946d3 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm | |||
| @@ -14608,7 +14608,12 @@ such that being individual extensions would be wasteful.") | |||
| 14608 | ;; Can't use an undefined value as a subroutine reference | 14608 | ;; Can't use an undefined value as a subroutine reference |
| 14609 | ;; during global destruction. | 14609 | ;; during global destruction. |
| 14610 | (substitute* "t/core_events.t" | 14610 | (substitute* "t/core_events.t" |
| 14611 | (("^SDL::Events::set_event_filter") "#"))))))) | 14611 | (("^SDL::Events::set_event_filter") "#")))) |
| 14612 | (add-after 'unpack 'gcc-14 | ||
| 14613 | (lambda _ | ||
| 14614 | (substitute* "inc/My/Builder.pm" | ||
| 14615 | (("^our \\$config =.*") | ||
| 14616 | "our $config = { ccflags => \"-Wno-error=implicit-function-declaration\" };"))))))) | ||
| 14612 | (native-inputs | 14617 | (native-inputs |
| 14613 | (list perl-alien-sdl | 14618 | (list perl-alien-sdl |
| 14614 | perl-capture-tiny | 14619 | perl-capture-tiny |
