haxe/haxe.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
parent 112
6052d0605a74
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

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

mercurial