The scenario where things break down without this patch is not clear:
it's a make rule, and so make itself will ensure it's not run several times
in parallel.

Signed-off-by: Alexander Kanavin <a...@linutronix.de>
---
 .../ghostscript/ghostscript/mkdir-p.patch     | 50 -------------------
 .../ghostscript/ghostscript_10.01.1.bb        |  1 -
 2 files changed, 51 deletions(-)
 delete mode 100644 meta/recipes-extended/ghostscript/ghostscript/mkdir-p.patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript/mkdir-p.patch 
b/meta/recipes-extended/ghostscript/ghostscript/mkdir-p.patch
deleted file mode 100644
index 3e6d3e3c48a..00000000000
--- a/meta/recipes-extended/ghostscript/ghostscript/mkdir-p.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 2b23026f8e2a352417fb1c4da94bf69b19bef267 Mon Sep 17 00:00:00 2001
-From: Joe Slater <joe.sla...@windriver.com>
-Date: Thu, 29 Mar 2018 16:04:32 +0800
-Subject: [PATCH 05/10] ghostscript: allow directories to be created more than
- once
-
-When doing parallel builds, we might try to create directories
-more than once.  This should not cause an error.
-
-Upstream-Status: Pending
-
-Signed-off-by: Joe Slater <joe.sla...@windriver.com>
-
-Rebase to 9.23
-Signed-off-by: Hongxu Jia <hongxu....@windriver.com>
----
- base/unix-end.mak | 17 ++++++++---------
- 1 file changed, 8 insertions(+), 9 deletions(-)
-
-diff --git a/base/unix-end.mak b/base/unix-end.mak
-index 9ce599a..feff5a6 100644
---- a/base/unix-end.mak
-+++ b/base/unix-end.mak
-@@ -17,15 +17,14 @@
- UNIX_END_MAK=$(GLSRC)unix-end.mak $(TOP_MAKEFILES)
- # Define the rule for building standard configurations.
- directories: $(UNIX_END_MAK)
--      @if test "$(BINDIR)"    != "" -a ! -d $(BINDIR);        then mkdir 
$(BINDIR);        fi
--      @if test "$(GLGENDIR)"  != "" -a ! -d $(GLGENDIR);      then mkdir 
$(GLGENDIR);      fi
--      @if test "$(GLOBJDIR)"  != "" -a ! -d $(GLOBJDIR);      then mkdir 
$(GLOBJDIR);      fi
--      @if test "$(DEVGENDIR)" != "" -a ! -d $(DEVGENDIR);     then mkdir 
$(DEVGENDIR);     fi
--      @if test "$(DEVOBJDIR)" != "" -a ! -d $(DEVOBJDIR);     then mkdir 
$(DEVOBJDIR);     fi
--      @if test "$(AUXDIR)"    != "" -a ! -d $(AUXDIR);        then mkdir 
$(AUXDIR);        fi
--      @if test "$(PSGENDIR)"  != "" -a ! -d $(PSGENDIR);      then mkdir 
$(PSGENDIR);      fi
--      @if test "$(PSGENDIR)"  != "" -a ! -d $(PSGENDIR)/cups; then mkdir 
$(PSGENDIR)/cups; fi
--      @if test "$(PSOBJDIR)"  != "" -a ! -d $(PSOBJDIR);      then mkdir 
$(PSOBJDIR);      fi
-+      @if test "$(BINDIR)"    != "" -a ! -d $(BINDIR);        then mkdir -p 
$(BINDIR);        fi
-+      @if test "$(GLGENDIR)"  != "" -a ! -d $(GLGENDIR);      then mkdir -p 
$(GLGENDIR);      fi
-+      @if test "$(GLOBJDIR)"  != "" -a ! -d $(GLOBJDIR);      then mkdir -p 
$(GLOBJDIR);      fi
-+      @if test "$(DEVGENDIR)" != "" -a ! -d $(DEVGENDIR);     then mkdir -p 
$(DEVGENDIR);     fi
-+      @if test "$(DEVOBJDIR)" != "" -a ! -d $(DEVOBJDIR);     then mkdir -p 
$(DEVOBJDIR);     fi
-+      @if test "$(AUXDIR)"    != "" -a ! -d $(AUXDIR);        then mkdir -p 
$(AUXDIR);        fi
-+      @if test "$(PSGENDIR)"  != "" -a ! -d $(PSGENDIR)/cups; then mkdir -p 
$(PSGENDIR)/cups; fi
-+      @if test "$(PSOBJDIR)"  != "" -a ! -d $(PSOBJDIR);      then mkdir -p 
$(PSOBJDIR);      fi
- 
- 
- gs: .gssubtarget $(UNIX_END_MAK)
--- 
-1.8.3.1
-
diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.01.1.bb 
b/meta/recipes-extended/ghostscript/ghostscript_10.01.1.bb
index 5d4b8cdc913..250b4ba9981 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.01.1.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.01.1.bb
@@ -32,7 +32,6 @@ SRC_URI_BASE = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/d
                 file://ghostscript-9.16-Werror-return-type.patch \
                 file://do-not-check-local-libpng-source.patch \
                 file://avoid-host-contamination.patch \
-                file://mkdir-p.patch \
 "
 
 SRC_URI = "${SRC_URI_BASE} \
-- 
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182753): 
https://lists.openembedded.org/g/openembedded-core/message/182753
Mute This Topic: https://lists.openembedded.org/mt/99524144/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to