aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/files/patch-erts_emulator_utils_beam__makeops14
-rw-r--r--lang/erlang14/files/patch-erts_emulator_utils_beam__makeops14
2 files changed, 28 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-erts_emulator_utils_beam__makeops b/lang/erlang/files/patch-erts_emulator_utils_beam__makeops
new file mode 100644
index 000000000000..543a2180196c
--- /dev/null
+++ b/lang/erlang/files/patch-erts_emulator_utils_beam__makeops
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- erts/emulator/utils/beam_makeops.orig
++++ erts/emulator/utils/beam_makeops
+@@ -481,7 +481,7 @@
+ print "\n";
+ print "#ifdef ARCH_64\n";
+ print "# define BEAM_LOOSE_MASK 0x1FFFUL\n";
+- print "# define BEAM_TIGHT_MASK 0xFFCUL\n";
++ print "# define BEAM_TIGHT_MASK 0x1FF8UL\n";
+ print "# define BEAM_LOOSE_SHIFT 16\n";
+ print "# define BEAM_TIGHT_SHIFT 16\n";
+ print "#else\n";
diff --git a/lang/erlang14/files/patch-erts_emulator_utils_beam__makeops b/lang/erlang14/files/patch-erts_emulator_utils_beam__makeops
new file mode 100644
index 000000000000..543a2180196c
--- /dev/null
+++ b/lang/erlang14/files/patch-erts_emulator_utils_beam__makeops
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- erts/emulator/utils/beam_makeops.orig
++++ erts/emulator/utils/beam_makeops
+@@ -481,7 +481,7 @@
+ print "\n";
+ print "#ifdef ARCH_64\n";
+ print "# define BEAM_LOOSE_MASK 0x1FFFUL\n";
+- print "# define BEAM_TIGHT_MASK 0xFFCUL\n";
++ print "# define BEAM_TIGHT_MASK 0x1FF8UL\n";
+ print "# define BEAM_LOOSE_SHIFT 16\n";
+ print "# define BEAM_TIGHT_SHIFT 16\n";
+ print "#else\n";