lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

linuxPackages.veikk-linux-driver: fix build

with kernels >= 6.12

eljamm c5cea38e 5145e06d

+28
+2
pkgs/os-specific/linux/veikk-linux-driver/default.nix
··· 17 17 sha256 = "11mg74ds58jwvdmi3i7c4chxs6v9g09r9ll22pc2kbxjdnrp8zrn"; 18 18 }; 19 19 20 + patches = [ ./fix-6.12-build.patch ]; 21 + 20 22 nativeBuildInputs = kernel.moduleBuildDependencies; 21 23 22 24 buildInputs = [ kernel ];
+26
pkgs/os-specific/linux/veikk-linux-driver/fix-6.12-build.patch
··· 1 + https://github.com/torvalds/linux/commit/5f60d5f6bbc12e782fac78110b0ee62698f3b576 2 + --- 3 + veikk_vdev.c | 6 ++++++ 4 + 1 file changed, 6 insertions(+) 5 + 6 + diff --git a/veikk_vdev.c b/veikk_vdev.c 7 + index 9d0b49f..83e9efa 100644 8 + --- a/veikk_vdev.c 9 + +++ b/veikk_vdev.c 10 + @@ -6,7 +6,13 @@ 11 + * - Set up the module parameters 12 + */ 13 + 14 + +#include <linux/version.h> 15 + + 16 + +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0) 17 + #include <asm/unaligned.h> 18 + +#else 19 + +#include <linux/unaligned.h> 20 + +#endif 21 + #include <linux/module.h> 22 + #include "veikk.h" 23 + 24 + -- 25 + 2.49.0 26 +