haxe/haxe.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
parent 112
6052d0605a74
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

     1 Index: haxe/doc/install.ml
     2 --- haxe/doc/install.ml.orig	2007-12-16 14:37:46 +0100
     3 +++ haxe/doc/install.ml	2008-05-30 14:06:45 +0200
     4 @@ -144,10 +144,10 @@
     5  in
     6  let startdir = Sys.getcwd() in
     7  try
     8 -	download();
     9 +	(* download(); *)
    10  	compile();
    11  	Sys.chdir startdir;
    12  with
    13  	Failure msg ->
    14  		Sys.chdir startdir;
    15 -		prerr_endline msg; exit 1
    16 \ No newline at end of file
    17 +		prerr_endline msg; exit 1
    18 Index: haxe/parser.ml
    19 --- haxe/parser.ml.orig	2008-11-25 21:20:36.000000000 +0100
    20 +++ haxe/parser.ml	2009-02-25 13:44:52.464412227 +0100
    21 @@ -299,9 +299,9 @@
    22  		}
    24  and parse_type_path_or_const = parser
    25 -	| [< '(Const (String s),_); >] -> TPConst (String s)
    26 -	| [< '(Const (Int i),_); >] -> TPConst (Int i)
    27 -	| [< '(Const (Float f),_); >] -> TPConst (Float f)
    28 +	| [< '(Const (String s),_); placeholder1 >] -> TPConst (String s)
    29 +	| [< '(Const (Int i),_); placeholder2 >] -> TPConst (Int i)
    30 +	| [< '(Const (Float f),_); placeholder3 >] -> TPConst (Float f)
    31  	| [< t = parse_type_path >] -> TPType t
    33  and parse_type_path_next t = parser

mercurial