From 4279187af3e351df7050d02e63e10323d79a8509 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 10 Jan 2021 21:31:55 +0100 Subject: [PATCH] trinify: fix build --- srcpkgs/trinity/patches/stdint_h.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/trinity/patches/stdint_h.patch diff --git a/srcpkgs/trinity/patches/stdint_h.patch b/srcpkgs/trinity/patches/stdint_h.patch new file mode 100644 index 00000000000..e3903954ae1 --- /dev/null +++ b/srcpkgs/trinity/patches/stdint_h.patch @@ -0,0 +1,18 @@ +--- syscalls/x86/modify_ldt.c ++++ syscalls/x86/modify_ldt.c +@@ -5,8 +5,15 @@ + * asmlinkage int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount) + */ + #include ++#include + #include + #define __ASSEMBLY__ 1 ++typedef int16_t __s16; ++typedef uint16_t __u16; ++typedef int32_t __s32; ++typedef uint32_t __u32; ++typedef int64_t __s64; ++typedef uint64_t __u64; + #include + #include "sanitise.h" + #include "shm.h"