summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/luajit/TLpatches/patch-1313
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/TLpatches/patch-13 b/Build/source/libs/luajit/TLpatches/patch-13
new file mode 100644
index 00000000000..a4aaeedbe5d
--- /dev/null
+++ b/Build/source/libs/luajit/TLpatches/patch-13
@@ -0,0 +1,13 @@
+diff -bur lj_alloc.c.orig lj_alloc.c
+--- lj_alloc.c.orig 2018-10-27 20:24:05.499136144 +0200
++++ lj_alloc.c 2018-10-27 20:24:28.790707009 +0200
+@@ -343,7 +343,7 @@
+ }
+ #endif
+
+-#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
++#if ((defined(__FreeBSD__) && __FreeBSD__ < 10) || defined(__FreeBSD_kernel__)) && !LJ_TARGET_PS4
+
+ #include <sys/resource.h>
+
+