Commit 1b95cb72 authored by Jamie Magee's avatar Jamie Magee
Browse files

_2bwm: fix build with GCC 15

Pass -std=gnu17 to work around incompatible-pointer-types errors.
The upstream code declares callback functions with empty parameter
lists, which GCC 15 (defaulting to gnu23) now rejects.

Ref: #475479
parent 6833ba57
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ stdenv.mkDerivation rec {
  # Allow users set their own list of patches
  inherit patches;

  env.NIX_CFLAGS_COMPILE = "-std=gnu17";

  buildInputs = [
    libxcb
    libxcb-keysyms