onboard: patch custom bool redefinition (#417863)

This commit is contained in:
Arne Keller
2025-06-18 17:30:41 +02:00
committed by GitHub
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
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>
+2
View File
@@ -72,6 +72,8 @@ python3.pkgs.buildPythonApplication rec {
url = "https://github.com/void-linux/void-packages/raw/9ef46bf26ac5acc1af5809f11c97b19c5e2233ed/srcpkgs/onboard/patches/fix-brokenformat.patch";
hash = "sha256-r9mvJNWpPR1gsayuSSLpzIuafEKqtADYklre0Ju+KOM=";
})
./bool.patch
];
nativeBuildInputs = [