From 4253ff590eddc483a4bb8f8d5daf600d7d5baccb Mon Sep 17 00:00:00 2001 From: Rafael Ieda Date: Thu, 26 Feb 2026 06:17:33 -0300 Subject: [PATCH] gource: fix build with boost 1.89 --- pkgs/by-name/go/gource/package.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/go/gource/package.nix b/pkgs/by-name/go/gource/package.nix index d189801271a4..55e9b4704602 100644 --- a/pkgs/by-name/go/gource/package.nix +++ b/pkgs/by-name/go/gource/package.nix @@ -4,6 +4,7 @@ fetchurl, SDL2, ftgl, + autoreconfHook, pkg-config, libpng, libjpeg, @@ -31,9 +32,18 @@ stdenv.mkDerivation (finalAttrs: { postPatch = '' # remove bundled library rm -r src/tinyxml + + # Fix build with boost 1.89 + rm m4/ax_boost_system.m4 + substituteInPlace configure.ac \ + --replace-fail "AX_BOOST_SYSTEM" "" ''; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + buildInputs = [ glew SDL2