From 80a54741278cf4ec515b30ac3d7b1ab7af0ce264 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 7 Dec 2021 14:05:46 +0100 Subject: [PATCH] DarkRadiant: fix 32bit systems --- srcpkgs/DarkRadiant/patches/32.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/DarkRadiant/patches/32.patch diff --git a/srcpkgs/DarkRadiant/patches/32.patch b/srcpkgs/DarkRadiant/patches/32.patch new file mode 100644 index 0000000000..24845c30bc --- /dev/null +++ b/srcpkgs/DarkRadiant/patches/32.patch @@ -0,0 +1,20 @@ +--- DarkRadiant-2.14.0/radiantcore/model/import/openfbx/ofbx.h 2021-10-30 12:57:00.000000000 +0200 ++++ - 2021-12-07 14:04:32.530489783 +0100 +@@ -1,5 +1,5 @@ + #pragma once +- ++#include + + namespace ofbx + { +@@ -12,8 +12,8 @@ + typedef long long i64; + typedef unsigned long long u64; + #else +- typedef long i64; +- typedef unsigned long u64; ++ typedef int64_t i64; ++ typedef uint64_t u64; + #endif + + static_assert(sizeof(u8) == 1, "u8 is not 1 byte");