summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/protobuf
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2021-10-15 00:14:19 +0200
committerKhem Raj <raj.khem@gmail.com>2021-10-16 09:50:38 -0700
commit12b27e51290a35b30945cea519acfef8dff3fc14 (patch)
treeccda415fb2d6731af1b1112967c3abdb44726da1 /meta-oe/recipes-devtools/protobuf
parent6bbc8b2d3a4e4bdfb55f886bd954e5dc24e7fcde (diff)
downloadmeta-openembedded-12b27e51290a35b30945cea519acfef8dff3fc14.tar.gz
protobuf-c: update to 1.4.0
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/protobuf')
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c/0001-avoid-race-condition.patch36
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb)7
2 files changed, 2 insertions, 41 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-avoid-race-condition.patch b/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-avoid-race-condition.patch
deleted file mode 100644
index 4fc7703d81..0000000000
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-avoid-race-condition.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 216e31260b618ec73862f9f5336597f391444dac Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Sun, 29 Sep 2019 17:20:42 +0800
4Subject: [PATCH] avoid race condition
5
6It's possible that the cxx-generate-packed-data.cc is compiled
7while the t/test-full.pb.h is being generated. This will result
8the following error.
9
10 DEBUG: ./t/test-full.pb.h:4:0: error: unterminated #ifndef
11 ./t/test-full.pb.h:4:0: error: unterminated #ifndef
12
13Add a dependency to avoid such problem.
14
15Upstream-Status: Pending
16
17Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
18---
19 Makefile.am | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/Makefile.am b/Makefile.am
23index b0cb065..1608ae0 100644
24--- a/Makefile.am
25+++ b/Makefile.am
26@@ -156,6 +156,7 @@ noinst_PROGRAMS += \
27 t_generated_code2_cxx_generate_packed_data_SOURCES = \
28 t/generated-code2/cxx-generate-packed-data.cc \
29 t/test-full.pb.cc
30+t/generated-code2/cxx-generate-packed-data.cc: t/test-full.pb.h
31 $(t_generated_code2_cxx_generate_packed_data_OBJECTS): t/test-full.pb.h
32 t_generated_code2_cxx_generate_packed_data_CXXFLAGS = \
33 $(AM_CXXFLAGS) \
34--
352.17.1
36
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb
index 1a0bf535c9..cc037d3934 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.3.3.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.4.0.bb
@@ -12,11 +12,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cb901168715f4782a2b06c3ddaefa558"
12 12
13DEPENDS = "protobuf-native protobuf" 13DEPENDS = "protobuf-native protobuf"
14 14
15SRCREV = "f20a3fa131c275a0e795d99a28f94b4dbbb5af26" 15SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
16 16SRCREV = "f224ab2eeb648a818eb20687d7150a285442c907"
17SRC_URI = "git://github.com/protobuf-c/protobuf-c.git \
18 file://0001-avoid-race-condition.patch \
19 "
20 17
21S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
22 19