summaryrefslogtreecommitdiffstats
path: root/lang/erlang14/files
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2006-03-15 16:37:05 +0000
committerolgeni <olgeni@FreeBSD.org>2006-03-15 16:37:05 +0000
commit6d9ed8fda0b117a8d552d95b27bb39923c800ac1 (patch)
tree62056131f6ebec7da61f00c476c6a50fe59ee9e0 /lang/erlang14/files
parent2c6af0a29d8fd922550b1947adc8880b81f91247 (diff)
downloadFreeBSD-ports-6d9ed8fda0b117a8d552d95b27bb39923c800ac1.zip
FreeBSD-ports-6d9ed8fda0b117a8d552d95b27bb39923c800ac1.tar.gz
Upgrade to version R10B-10 (with dialyzer patch).
Diffstat (limited to 'lang/erlang14/files')
-rw-r--r--lang/erlang14/files/patch-lib_hipe_cerl_cerl__hipeify.erl34
-rw-r--r--lang/erlang14/files/patch-lib_odbc_configure14
2 files changed, 34 insertions, 14 deletions
diff --git a/lang/erlang14/files/patch-lib_hipe_cerl_cerl__hipeify.erl b/lang/erlang14/files/patch-lib_hipe_cerl_cerl__hipeify.erl
new file mode 100644
index 0000000..3f19ff5
--- /dev/null
+++ b/lang/erlang14/files/patch-lib_hipe_cerl_cerl__hipeify.erl
@@ -0,0 +1,34 @@
+
+$FreeBSD$
+
+--- lib/hipe/cerl/cerl_hipeify.erl.orig
++++ lib/hipe/cerl/cerl_hipeify.erl
+@@ -14,7 +14,7 @@
+ %% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+ %% USA
+ %%
+-%% $Id$
++%% $Id: cerl_hipeify.erl,v 1.23 2006/03/10 13:40:37 tobiasl Exp $
+ %%
+ %% @author Richard Carlsson <richardc@csd.uu.se>
+ %% @copyright 2000-2004 Richard Carlsson
+@@ -361,6 +361,19 @@
+ cerl:atom_val(F),
+ length(As))
+ of
++ {yes, ?PRIMOP_IS_RECORD} ->
++ %% Needs additional testing
++ [_, Tag, Arity] = As,
++ case (cerl:is_c_atom(Tag) andalso
++ cerl:is_c_int(Arity)) of
++ true ->
++ %% The primop might need further handling
++ N1 = cerl:c_atom(?PRIMOP_IS_RECORD),
++ E1 = cerl:update_c_primop(E, N1, As),
++ rewrite_primop(E1, N1, As, S);
++ false ->
++ cerl:update_c_call(E, M, F, As)
++ end;
+ {yes, N} ->
+ %% The primop might need further handling
+ N1 = cerl:c_atom(N),
diff --git a/lang/erlang14/files/patch-lib_odbc_configure b/lang/erlang14/files/patch-lib_odbc_configure
deleted file mode 100644
index f74d6e1..0000000
--- a/lang/erlang14/files/patch-lib_odbc_configure
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- lib/odbc/configure.orig
-+++ lib/odbc/configure
-@@ -1005,7 +1005,7 @@
- echo $ac_n "checking for odbc in standard locations""... $ac_c" 1>&6
- echo "configure:1007: checking for odbc in standard locations" >&5
- for dir in /usr/local/odbc /usr/odbc \
-- /usr /opt/local/pgm/odbc
-+ /usr /opt/local/pgm/odbc /usr/local
- do
- if test -f "$dir/include/sql.h"; then
- is_odbc_std_location=yes
OpenPOWER on IntegriCloud