Files
nixpkgs/pkgs/by-name/on/onboard/bool.patch
Vladimír Čunát 2ab1319135 onboard: patch custom bool redefinition
https://hydra.nixos.org/build/300403196/nixlog/1/tail

Perhaps we should also look at phasing out this package and/or
https://github.com/dr-ni/onboard
2025-06-18 16:11:33 +02:00

11 lines
211 B
Diff

Author: @vcunat
Don't redefine bool and use the standard one instead.
--- a/Onboard/osk/osk_module.h
+++ b/Onboard/osk/osk_module.h
@@ -28 +28 @@
-typedef enum { false, true } bool;
+#include <stdbool.h>