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
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user