Unverified Commit b4022362 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

logstalgia: fix build with boost 1.89 (#494897)

parents 0f025b98 9c0e1302
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchurl,
  SDL2,
  ftgl,
  autoreconfHook,
  pkg-config,
  libpng,
  libjpeg,
@@ -27,7 +28,18 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-wEnv9AXpJANSIu2ya8xse18AoIkmq9t7Rn4kSSQnkKk=";
  };

  nativeBuildInputs = [ pkg-config ];
  postPatch = ''
    # Fix build with boost 1.89
    rm m4/ax_boost_system.m4
    substituteInPlace configure.ac \
      --replace-fail "AX_BOOST_SYSTEM" ""
  '';

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
  ];

  buildInputs = [
    glew
    SDL2