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).
This commit is contained in:
Andreas Rammhold
2026-01-01 16:07:24 +01:00
parent 1c4d72de11
commit 89fad1ce7b

View File

@@ -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