aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-06-20 03:26:58 +0800
committerolgeni <olgeni@FreeBSD.org>2006-06-20 03:26:58 +0800
commitfc86820aa23a6bd152b08e269269357f191f97a7 (patch)
tree0392992952cf5afc2a662de5fd7ec1b02e4960fc /lang/erlang
parent3262e490fcbb0e51213517cd37d21bf45ba8b49f (diff)
downloadfreebsd-ports-gnome-fc86820aa23a6bd152b08e269269357f191f97a7.tar.gz
freebsd-ports-gnome-fc86820aa23a6bd152b08e269269357f191f97a7.tar.zst
freebsd-ports-gnome-fc86820aa23a6bd152b08e269269357f191f97a7.zip
Fix list matching problem on 64bit architectures.
Obtained from: Bjorn Gustavsson <bjorn(at)erix.ericsson.se>
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/files/patch-erts_emulator_utils_beam__makeops14
1 files changed, 14 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";