* [gentoo-commits] gentoo-x86 commit in sys-cluster/charm/files: charm-6.1.2-charmc-gentoo.patch charm-6.1.2-charmrun.patch
@ 2009-06-01 4:32 Jeffrey Gardner (je_fro)
0 siblings, 0 replies; only message in thread
From: Jeffrey Gardner (je_fro) @ 2009-06-01 4:32 UTC (permalink / raw
To: gentoo-commits
je_fro 09/06/01 04:32:11
Added: charm-6.1.2-charmc-gentoo.patch
charm-6.1.2-charmrun.patch
Log:
latest version
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Revision Changes Path
1.1 sys-cluster/charm/files/charm-6.1.2-charmc-gentoo.patch
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
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
Index: charm-6.1.2-charmc-gentoo.patch
===================================================================
--- src/scripts/charmc.old 2009-05-31 23:09:12.285687725 -0500
+++ src/scripts/charmc 2009-05-31 23:08:49.782155308 -0500
@@ -335,19 +335,9 @@
PROG_EXT=".exe"
fi
-CHARMLIB="$CHARMBIN/../lib"
-CHARMINC="$CHARMBIN/../include"
-CHARMLIBSO=
-if test -d "$CHARMBIN/../lib_so"
-then
- CHARMLIBSO=`cd $CHARMBIN/../lib_so 2>/dev/null && pwd`
- #getting absolute path is harder than thought because of symbolic links and ..
- #ksh needs cd -P to resolve werid symbolic links, however -P is not portable
- #csh is ok too if it exists
- test -z "$CHARMLIBSO" && CHARMLIBSO=`cd -P $CHARMBIN/../lib_so 2>/dev/null && pwd`
- test -z "$CHARMLIBSO" && CHARMLIBSO=`csh -c "cd $CHARMBIN/../lib_so >& /dev/null && pwd"`
- test -z "$CHARMLIBSO" && echo "$CHARMBIN/../lib_so: not found" && exit 1
-fi
+CHARMLIB="$/usr/gentoo-libdir"
+CHARMINC="/usr/include/gentoo-include"
+CHARMLIBSO="/usr/gentoo-libdir"
##############################################################################
#
1.1 sys-cluster/charm/files/charm-6.1.2-charmrun.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/charm/files/charm-6.1.2-charmrun.patch?rev=1.1&view=markup
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
Index: charm-6.1.2-charmrun.patch
===================================================================
--- src/arch/net/charmrun/charmrun.c.orig 2009-05-30 10:37:32.676819167 -0500
+++ src/arch/net/charmrun/charmrun.c 2009-05-30 10:38:08.835027500 -0500
@@ -1291,7 +1291,7 @@
char *tmp=tmpnam(NULL);/*This was once /tmp/fnord*/
#endif
unlink(tmp);
- fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC);
+ fd = open(tmp,O_RDWR | O_CREAT | O_TRUNC, 0666);
if (fd<0) {
fprintf(stderr,"cannot open temp file /tmp/fnord");
exit(1);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-01 4:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 4:32 [gentoo-commits] gentoo-x86 commit in sys-cluster/charm/files: charm-6.1.2-charmc-gentoo.patch charm-6.1.2-charmrun.patch Jeffrey Gardner (je_fro)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox