erlang/erlang.patch

changeset 781
25504c2d46b1
parent 780
0a61f30eebd4
     1.1 --- a/erlang/erlang.patch	Tue Jul 02 17:58:45 2013 +0200
     1.2 +++ b/erlang/erlang.patch	Tue Jul 02 18:20:50 2013 +0200
     1.3 @@ -1,15 +1,3 @@
     1.4 -Index: erts/emulator/Makefile.in
     1.5 ---- erts/emulator/Makefile.in.orig	2010-12-07 16:07:22.000000000 +0100
     1.6 -+++ erts/emulator/Makefile.in	2010-12-09 17:06:47.000000000 +0100
     1.7 -@@ -617,7 +617,7 @@
     1.8 - 
     1.9 - 
    1.10 - $(OBJDIR)/%.o: beam/%.c
    1.11 --	$(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
    1.12 -+	$(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
    1.13 - 
    1.14 - $(OBJDIR)/%.o: $(TARGET)/%.c
    1.15 - 	$(CC) $(CFLAGS) $(INCLUDES) -Idrivers/common -c $< -o $@
    1.16  Index: erts/emulator/hipe/hipe_x86.c
    1.17  --- erts/emulator/hipe/hipe_x86.c.orig	2010-12-07 16:07:22.000000000 +0100
    1.18  +++ erts/emulator/hipe/hipe_x86.c	2010-12-09 17:23:16.000000000 +0100
    1.19 @@ -39,7 +27,7 @@
    1.20  Index: lib/gs/src/tool_utils.erl
    1.21  --- lib/gs/src/tool_utils.erl.orig	2010-12-07 16:07:22.000000000 +0100
    1.22  +++ lib/gs/src/tool_utils.erl	2010-12-09 17:23:16.000000000 +0100
    1.23 -@@ -40,6 +40,9 @@
    1.24 +@@ -45,6 +45,9 @@
    1.25   	       }).
    1.26   
    1.27   
    1.28 @@ -49,7 +37,7 @@
    1.29   %%----------------------------------------------------------------------
    1.30   %% open_help(Parent, File)
    1.31   %%   Parent = gsobj()  (GS root object or parent window)
    1.32 -@@ -80,7 +83,7 @@
    1.33 +@@ -85,7 +88,7 @@
    1.34   		      {unix,Type} ->
    1.35                             case Type of
    1.36                                  darwin -> "open " ++ File;
    1.37 @@ -58,7 +46,7 @@
    1.38   			  end;
    1.39   		      {win32,_AnyType} ->
    1.40   			  "start " ++ filename:nativename(File);
    1.41 -@@ -95,7 +98,7 @@
    1.42 +@@ -100,7 +103,7 @@
    1.43   		      {unix,Type} ->
    1.44                             case Type of
    1.45                                  darwin -> "open " ++ File;
    1.46 @@ -66,8 +54,8 @@
    1.47  +                               _Else -> unix_url_command("file:" ++ File)
    1.48   			  end;
    1.49   		      {win32,_AnyType} ->
    1.50 - 			  "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/");
    1.51 -@@ -429,3 +432,53 @@
    1.52 + 			  "netscape.exe -h " ++
    1.53 +@@ -435,3 +438,53 @@
    1.54       [Last];
    1.55   insert_newlines(Other) ->
    1.56       Other.
    1.57 @@ -135,9 +123,9 @@
    1.58  Index: lib/stdlib/src/calendar.erl
    1.59  --- lib/stdlib/src/calendar.erl.orig	2010-12-07 16:07:22.000000000 +0100
    1.60  +++ lib/stdlib/src/calendar.erl	2010-12-09 17:23:16.000000000 +0100
    1.61 -@@ -216,11 +216,19 @@
    1.62 - 
    1.63 - -spec local_time_to_universal_time_dst(t_datetime1970()) -> [t_datetime1970()].
    1.64 +@@ -279,11 +279,19 @@
    1.65 +       DateTime1 :: datetime1970(),
    1.66 +       DateTime :: datetime1970().
    1.67   local_time_to_universal_time_dst(DateTime) ->
    1.68  -    UtDst = erlang:localtime_to_universaltime(DateTime, true),
    1.69  -    Ut    = erlang:localtime_to_universaltime(DateTime, false),
    1.70 @@ -159,11 +147,10 @@
    1.71       %% Return the valid universal times
    1.72       case {LtDst,Lt} of
    1.73   	{DateTime,DateTime} when UtDst =/= Ut ->
    1.74 -Index: lib/tools/emacs/test.erl
    1.75  Index: lib/wx/configure
    1.76  --- lib/wx/configure.orig	2010-12-07 16:07:22.000000000 +0100
    1.77  +++ lib/wx/configure	2010-12-09 17:23:16.000000000 +0100
    1.78 -@@ -3910,7 +3910,7 @@
    1.79 +@@ -4065,7 +4065,7 @@
    1.80   	;;
    1.81       *)
    1.82   	DEBUG_CFLAGS="-g -Wall -fPIC -DDEBUG $CFLAGS"
    1.83 @@ -171,4 +158,3 @@
    1.84  +	CFLAGS="-Wall -fPIC -fomit-frame-pointer -fno-strict-aliasing $CFLAGS %%CFLAGS%%"
    1.85   	;;
    1.86   esac
    1.87 - 

mercurial