_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
This commit is contained in:
Jamie Magee
2026-03-07 16:39:16 -08:00
parent 6833ba570d
commit 1b95cb72a2
@@ -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