aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2016-06-13 18:54:13 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2016-06-13 18:54:13 +0000
commite0c81583d33ca47ff609b018d1b5c4af778cb67a (patch)
tree3a7e49df7c21002ab896d9fac9599bf2d0b0dc8b /lang
parent56ec32c19d54eecd5f1018fc413348af6a0e327a (diff)
downloadports-e0c81583d33ca47ff609b018d1b5c4af778cb67a.tar.gz
ports-e0c81583d33ca47ff609b018d1b5c4af778cb67a.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/beignet/files/patch-backend_src_backend_gen-insn-selection.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/lang/beignet/files/patch-backend_src_backend_gen-insn-selection.cpp b/lang/beignet/files/patch-backend_src_backend_gen-insn-selection.cpp
index 29c6bc30467e..b18188b286ac 100644
--- a/lang/beignet/files/patch-backend_src_backend_gen-insn-selection.cpp
+++ b/lang/beignet/files/patch-backend_src_backend_gen-insn-selection.cpp
@@ -1,6 +1,16 @@
---- backend/src/backend/gen_insn_selection.cpp.orig 2015-08-26 11:57:48.961363000 +0200
-+++ backend/src/backend/gen_insn_selection.cpp 2015-08-26 11:58:15.326657000 +0200
-@@ -1752,11 +1752,11 @@ namespace gbe
+Error: No word lists can be found for the language "en_US".
+--- backend/src/backend/gen_insn_selection.cpp.orig 2015-12-18 07:34:19.000000000 +0000
++++ backend/src/backend/gen_insn_selection.cpp 2016-06-13 17:37:52.540024000 +0000
+@@ -1153,7 +1153,7 @@
+ SelectionInstruction *insn = this->appendInsn(SEL_OP_JMPI, 0, 1);
+ insn->src(0) = src;
+ insn->index = index.value();
+- insn->extra.longjmp = abs(index - origin) > 800;
++ insn->extra.longjmp = index.value() > origin.value() ? (index - origin) > 800 : (origin - index) > 800;
+ return insn->extra.longjmp ? 2 : 1;
+ }
+
+@@ -1752,11 +1752,11 @@
// Boiler plate to initialize the selection library at c++ pre-main
static SelectionLibrary *selLib = NULL;