From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/omake/files: omake-0.9.8.5-caml_sync.patch omake-0.9.8.5-lm_printf.patch |
Date: | Tue, 27 Oct 2009 11:55:03 |
Message-Id: | E1N2kdX-0007NR-Lv@stork.gentoo.org |
1 | aballier 09/10/27 11:54:51 |
2 | |
3 | Added: omake-0.9.8.5-caml_sync.patch |
4 | omake-0.9.8.5-lm_printf.patch |
5 | Log: |
6 | eapi2ify, add build fixes for gcc 4.4 by Barry Schwartz <barryschwartz124@×××××××.net>, bug #289819 |
7 | (Portage version: 2.2_rc46/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-util/omake/files/omake-0.9.8.5-caml_sync.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/files/omake-0.9.8.5-caml_sync.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/files/omake-0.9.8.5-caml_sync.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: omake-0.9.8.5-caml_sync.patch |
16 | =================================================================== |
17 | --- src/exec/omake_exec.ml.ORIG 2008-12-09 03:49:47.000000000 +0000 |
18 | +++ src/exec/omake_exec.ml 2008-12-09 03:49:58.000000000 +0000 |
19 | @@ -46,8 +46,6 @@ |
20 | open Omake_options |
21 | open Omake_command_type |
22 | |
23 | -external sync : unit -> unit = "caml_sync" |
24 | - |
25 | module Exec = |
26 | struct |
27 | (* |
28 | |
29 | |
30 | |
31 | 1.1 dev-util/omake/files/omake-0.9.8.5-lm_printf.patch |
32 | |
33 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/files/omake-0.9.8.5-lm_printf.patch?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/omake/files/omake-0.9.8.5-lm_printf.patch?rev=1.1&content-type=text/plain |
35 | |
36 | Index: omake-0.9.8.5-lm_printf.patch |
37 | =================================================================== |
38 | --- omake-0.9.8.5/src/libmojave-external/cutil/lm_printf.c 2007-07-15 17:55:23.000000000 +0000 |
39 | +++ 0.9.8.x/src/libmojave-external/cutil/lm_printf.c 2009-10-19 21:24:26.264561909 +0000 |
40 | @@ -142,12 +142,12 @@ |
41 | #endif |
42 | if(code < 0) { |
43 | if(bufp != buffer) |
44 | - free(buffer); |
45 | + free(bufp); |
46 | failwith("ml_print_string"); |
47 | } |
48 | v_result = copy_string(bufp); |
49 | if(bufp != buffer) |
50 | - free(buffer); |
51 | + free(bufp); |
52 | return v_result; |
53 | } |
54 | |
55 | @@ -190,12 +190,12 @@ |
56 | #endif |
57 | if(code < 0) { |
58 | if(bufp != buffer) |
59 | - free(buffer); |
60 | + free(bufp); |
61 | failwith("ml_print_string"); |
62 | } |
63 | v_result = copy_string(bufp); |
64 | if(bufp != buffer) |
65 | - free(buffer); |
66 | + free(bufp); |
67 | return v_result; |
68 | } |