haxe/haxe.patch

Fri, 03 Aug 2012 20:11:53 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 20:11:53 +0200
changeset 470
f8813e60f168
parent 112
6052d0605a74
permissions
-rw-r--r--

Neutralize buggy code causing OpenPKG to have 'fatal problems' in
spite of correct installation, configuration, and operation. An
administrator suffering from this failure is even unable to
uninstall the flawed software.

     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