From: | "Jeffrey Gardner (je_fro)" <je_fro@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/charm/files: charm-6.1.2-charmc-gentoo.patch charm-6.1.2-charmrun.patch |
Date: | Mon, 01 Jun 2009 04:32:12 |
Message-Id: | E1MAzBz-0006oB-1l@stork.gentoo.org |
1 | je_fro 09/06/01 04:32:11 |
2 | |
3 | Added: charm-6.1.2-charmc-gentoo.patch |
4 | charm-6.1.2-charmrun.patch |
5 | Log: |
6 | latest version |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: charm-6.1.2-charmc-gentoo.patch |
16 | =================================================================== |
17 | --- src/scripts/charmc.old 2009-05-31 23:09:12.285687725 -0500 |
18 | +++ src/scripts/charmc 2009-05-31 23:08:49.782155308 -0500 |
19 | @@ -335,19 +335,9 @@ |
20 | PROG_EXT=".exe" |
21 | fi |
22 | |
23 | -CHARMLIB="$CHARMBIN/../lib" |
24 | -CHARMINC="$CHARMBIN/../include" |
25 | -CHARMLIBSO= |
26 | -if test -d "$CHARMBIN/../lib_so" |
27 | -then |
28 | - CHARMLIBSO=`cd $CHARMBIN/../lib_so 2>/dev/null && pwd` |
29 | - #getting absolute path is harder than thought because of symbolic links and .. |
30 | - #ksh needs cd -P to resolve werid symbolic links, however -P is not portable |
31 | - #csh is ok too if it exists |
32 | - test -z "$CHARMLIBSO" && CHARMLIBSO=`cd -P $CHARMBIN/../lib_so 2>/dev/null && pwd` |
33 | - test -z "$CHARMLIBSO" && CHARMLIBSO=`csh -c "cd $CHARMBIN/../lib_so >& /dev/null && pwd"` |
34 | - test -z "$CHARMLIBSO" && echo "$CHARMBIN/../lib_so: not found" && exit 1 |
35 | -fi |
36 | +CHARMLIB="$/usr/gentoo-libdir" |
37 | +CHARMINC="/usr/include/gentoo-include" |
38 | +CHARMLIBSO="/usr/gentoo-libdir" |
39 | |
40 | ############################################################################## |
41 | # |
42 | |
43 | |
44 | |
45 | |
46 | 1.1 sys-cluster/charm/files/charm-6.1.2-charmrun.patch |
47 | |
48 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/files/charm-6.1.2-charmrun.patch?rev=1.1&view=markup |
49 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/files/charm-6.1.2-charmrun.patch?rev=1.1&content-type=text/plain |
50 | |
51 | Index: charm-6.1.2-charmrun.patch |
52 | =================================================================== |
53 | --- src/arch/net/charmrun/charmrun.c.orig 2009-05-30 10:37:32.676819167 -0500 |
54 | +++ src/arch/net/charmrun/charmrun.c 2009-05-30 10:38:08.835027500 -0500 |
55 | @@ -1291,7 +1291,7 @@ |
56 | char *tmp=tmpnam(NULL);/*This was once /tmp/fnord*/ |
57 | #endif |
58 | unlink(tmp); |
59 | - fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC); |
60 | + fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC, 0666); |
61 | if (fd<0) { |
62 | fprintf(stderr,"cannot open temp file /tmp/fnord"); |
63 | exit(1); |