From aab146394b7158f4ca33dfba5f60bccbe67c51aa Mon Sep 17 00:00:00 2001 From: Harinn Date: Thu, 7 May 2026 15:57:55 +0700 Subject: [PATCH] eukleides: fix build with gcc 15 --- pkgs/by-name/eu/eukleides/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/eu/eukleides/package.nix b/pkgs/by-name/eu/eukleides/package.nix index dfa528afce27..9d43405c6a4b 100644 --- a/pkgs/by-name/eu/eukleides/package.nix +++ b/pkgs/by-name/eu/eukleides/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitLab, + fetchpatch2, bison, flex, makeWrapper, @@ -32,6 +33,10 @@ stdenv.mkDerivation (finalAttrs: { ./gs-allowpstransparency.patch # fix curly brace escaping in eukleides.texi for newer texinfo compatiblity ./texinfo-escape.patch + (fetchpatch2 { + url = "https://salsa.debian.org/georgesk/eukleides/-/raw/debian/1.5.4-6/debian/patches/fixes-for-gcc15.patch"; + hash = "sha256-MVC2bkMGkkDqF/kg8MPvOYacUOXshaG2RZ0a9UVXLSI="; + }) ]; nativeBuildInputs = [