Commit 89fad1ce authored by Andreas Rammhold's avatar Andreas Rammhold
Browse files

perlPackages.Term-ReadLine-Gnu: fix compilation with Gcc15

The project uses a list of function pointers that make Gcc15 unhappy
because it thinks it is performing an incompatible pointer conversion.

Thankfully upstream has already adopted a patch for this last year but
that doesn't seem to be part of a released version (yet).
parent 1c4d72de
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -32950,6 +32950,12 @@ with self;
      url = "mirror://cpan/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.46.tar.gz";
      hash = "sha256-sTgyEy5QNmw0/qwSzoKDfAqds0ylMK5dJ9uXz5yWTHs=";
    };
    patches = [
      (fetchpatch {
        url = "https://github.com/hirooih/perl-trg/commit/90ebd3f65652484994c838f5dc62944aee67a2a0.patch";
        sha256 = "sha256-FRlzpGfuUT43MABk8AYeLkCy1uiIEu7JjJy9HziR8BA=";
      })
    ];
    buildInputs = [
      pkgs.readline
      pkgs.ncurses