summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/re2c/re2c/mkdir.patch36
-rw-r--r--meta/recipes-support/re2c/re2c_1.0.1.bb (renamed from meta/recipes-support/re2c/re2c_0.16.bb)7
2 files changed, 3 insertions, 40 deletions
diff --git a/meta/recipes-support/re2c/re2c/mkdir.patch b/meta/recipes-support/re2c/re2c/mkdir.patch
deleted file mode 100644
index d59f01b36c..0000000000
--- a/meta/recipes-support/re2c/re2c/mkdir.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1Upstream-Status: Submitted (https://github.com/skvadrik/re2c/pull/191)
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From bccc10c60523f88c8f81413151cdcd612eb16198 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Mon, 31 Jul 2017 15:43:41 +0100
7Subject: [PATCH] Makefile.am: create target directory before writing into it
8
9In some situations src/parse/ may not exist before a file is copied into the
10directory. Ensure that this doesn't happen by creating the directory first.
11---
12 re2c/Makefile.am | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/re2c/Makefile.am b/re2c/Makefile.am
16index 3b3b2c5e..0707fc5a 100644
17--- a/Makefile.am
18+++ b/Makefile.am
19@@ -187,6 +187,7 @@ CLEANFILES = \
20 $(DOC)
21
22 $(AUTOGEN_PARSER): $(CUSTOM_PARSER)
23+ $(AM_V_at)$(MKDIR_P) $(dir $@)
24 $(AM_V_GEN) if test $(BISON) = "no"; \
25 then \
26 cp $(top_srcdir)/$(BOOTSTRAP_PARSER) $@ && \
27@@ -211,6 +212,7 @@ $(BOOTSTRAP_PARSER): $(CUSTOM_PARSER)
28 $(top_srcdir)/$(CUSTOM_PARSER);
29
30 .re.cc:
31+ $(AM_V_at)$(MKDIR_P) $(dir $@)
32 $(AM_V_GEN) if test -x $(RE2C); \
33 then \
34 $(top_builddir)/$(RE2C) $(RE2CFLAGS) -o $@ $< && \
35--
362.11.0
diff --git a/meta/recipes-support/re2c/re2c_0.16.bb b/meta/recipes-support/re2c/re2c_1.0.1.bb
index 50dd7b7d26..4ed8d257ac 100644
--- a/meta/recipes-support/re2c/re2c_0.16.bb
+++ b/meta/recipes-support/re2c/re2c_1.0.1.bb
@@ -5,10 +5,9 @@ SECTION = "devel"
5LICENSE = "PD" 5LICENSE = "PD"
6LIC_FILES_CHKSUM = "file://README;beginline=146;md5=881056c9add17f8019ccd8c382ba963a" 6LIC_FILES_CHKSUM = "file://README;beginline=146;md5=881056c9add17f8019ccd8c382ba963a"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
9 file://mkdir.patch" 9SRC_URI[md5sum] = "e2c6cf52fc6a21595f21bc82db5324f8"
10SRC_URI[md5sum] = "3bf508fabd52ed7334647d0ccb956e8d" 10SRC_URI[sha256sum] = "605058d18a00e01bfc32aebf83af35ed5b13180b4e9f279c90843afab2c66c7c"
11SRC_URI[sha256sum] = "48c12564297641cceb5ff05aead57f28118db6277f31e2262437feba89069e84"
12 11
13BBCLASSEXTEND = "native" 12BBCLASSEXTEND = "native"
14 13