diff options
Diffstat (limited to 'dev-ml/ocaml-mysql/files')
-rw-r--r-- | dev-ml/ocaml-mysql/files/digest-ocaml-mysql-1.0.3-r1 | 1 | ||||
-rw-r--r-- | dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.patch | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-ml/ocaml-mysql/files/digest-ocaml-mysql-1.0.3-r1 b/dev-ml/ocaml-mysql/files/digest-ocaml-mysql-1.0.3-r1 new file mode 100644 index 000000000000..b6a1e1190087 --- /dev/null +++ b/dev-ml/ocaml-mysql/files/digest-ocaml-mysql-1.0.3-r1 @@ -0,0 +1 @@ +MD5 3254be1cb6ef8801701a5628e60cfee4 ocaml-mysql-1.0.3.tar.gz 111574 diff --git a/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.patch b/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.patch new file mode 100644 index 000000000000..115629468bc2 --- /dev/null +++ b/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.patch @@ -0,0 +1,26 @@ +--- sh.common.orig 2004-04-07 08:50:21.000000000 +0100 ++++ sh.common 2005-05-29 20:39:20.854878600 +0100 +@@ -168,7 +168,13 @@ + else + tmpdir="/tmp" + fi +- tmpfile="$tmpdir/.shtool.$$" ++ if mkdir "$tmpdir/.shtool.$$"; then ++ tmpfile="$tmpdir/.shtool.$$/shtool.tmp" ++ else ++ echo "$msgprefix:Error: failed to create temporary file" 1>&2 ++ exit 1 ++ fi ++ tmpfile="$tmpdir/.shtool.$$/shtool.tmp" + rm -f $tmpfile >/dev/null 2>&1 + touch $tmpfile + chmod 600 $tmpfile +@@ -188,7 +194,7 @@ + shtool_exit () { + rc="$1" + if [ ".$gen_tmpfile" = .yes ]; then +- rm -f $tmpfile >/dev/null 2>&1 || true ++ rm -fr "$tmpdir/.shtool.$$" >/dev/null 2>&1 || true + fi + exit $rc + } |