summaryrefslogtreecommitdiff
path: root/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch')
-rw-r--r--app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch b/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch
new file mode 100644
index 000000000000..3a2aae35207c
--- /dev/null
+++ b/app-emulation/simh/files/simh-3.9.0-fix-mkdir-race.patch
@@ -0,0 +1,11 @@
+--- simh-3.9.0/makefile
++++ simh-3.9.0/makefile
+@@ -249,7 +249,7 @@
+ NETWORK_OPT = $(NETWORK_CCDEFS)
+ endif
+ ifneq (binexists,$(shell if $(TEST) -e BIN; then echo binexists; fi))
+- MKDIRBIN = if $(TEST) ! -e BIN; then mkdir BIN; fi
++ MKDIRBIN = mkdir -p BIN
+ endif
+ else
+ #Win32 Environments (via MinGW32)