haxe/haxe.patch

Sun, 03 Apr 2011 13:34:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 03 Apr 2011 13:34:55 +0200
changeset 337
f71e028eb3e2
parent 112
6052d0605a74
permissions
-rw-r--r--

Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.

Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.

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