summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2010-08-25 07:56:38 +0000
committerKeri Harris <keri@gentoo.org>2010-08-25 07:56:38 +0000
commit42ded9e8608b8b921d1f444f3cf346ff1133020e (patch)
treecdfc64d5616fb02a4e800769a48a133dd64f5a45 /dev-lang/mozart/files
parentVersion bump (diff)
downloadgentoo-2-42ded9e8608b8b921d1f444f3cf346ff1133020e.tar.gz
gentoo-2-42ded9e8608b8b921d1f444f3cf346ff1133020e.tar.bz2
gentoo-2-42ded9e8608b8b921d1f444f3cf346ff1133020e.zip
Add threadsafe mkinstalldirs patch
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mozart/files')
-rw-r--r--dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch b/dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch
new file mode 100644
index 000000000000..778a81108765
--- /dev/null
+++ b/dev-lang/mozart/files/mozart-1.4.0-mkinstalldirs.patch
@@ -0,0 +1,11 @@
+--- mozart-1.4.0.20080704.orig/mkinstalldirs 1998-11-17 12:25:23.000000000 +1300
++++ mozart-1.4.0.20080704/mkinstalldirs 2008-12-07 12:01:14.000000000 +1300
+@@ -40,7 +40,7 @@
+
+ if test ! -d "${pathcomp}"; then
+ echo "mkdir $pathcomp" 1>&2
+- mkdir "${pathcomp}" || errstatus=$?
++ mkdir "${pathcomp}" || test -d "${pathcomp}" || errstatus=$?
+ dochmod "${pathcomp}"
+ fi
+