diff options
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch | 4 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf_5.29.5.bb) | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch index 7a8906a9a4..53fdf7dece 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch +++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch | |||
| @@ -47,12 +47,12 @@ index f7ee9b116..8cd1359e2 100644 | |||
| 47 | 47 | ||
| 48 | add_person_cpp: add_person.cc protoc_middleman | 48 | add_person_cpp: add_person.cc protoc_middleman |
| 49 | pkg-config --cflags protobuf # fails if protobuf is not installed | 49 | pkg-config --cflags protobuf # fails if protobuf is not installed |
| 50 | - c++ -std=c++14 add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` | 50 | - c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` |
| 51 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp | 51 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp |
| 52 | 52 | ||
| 53 | list_people_cpp: list_people.cc protoc_middleman | 53 | list_people_cpp: list_people.cc protoc_middleman |
| 54 | pkg-config --cflags protobuf # fails if protobuf is not installed | 54 | pkg-config --cflags protobuf # fails if protobuf is not installed |
| 55 | - c++ -std=c++14 list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf` | 55 | - c++ list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf` |
| 56 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp | 56 | + $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp |
| 57 | 57 | ||
| 58 | add_person_dart: add_person.dart protoc_middleman_dart | 58 | add_person_dart: add_person.dart protoc_middleman_dart |
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_5.29.5.bb b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb index 176f51e5c8..90be1179aa 100644 --- a/meta-oe/recipes-devtools/protobuf/protobuf_5.29.5.bb +++ b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb | |||
| @@ -7,20 +7,18 @@ SECTION = "console/tools" | |||
| 7 | LICENSE = "BSD-3-Clause & MIT" | 7 | LICENSE = "BSD-3-Clause & MIT" |
| 8 | LIC_FILES_CHKSUM = " \ | 8 | LIC_FILES_CHKSUM = " \ |
| 9 | file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ | 9 | file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ |
| 10 | file://third_party/lunit/LICENSE;md5=99f08e72434dfa34fe0581d3dfb2d7f4 \ | ||
| 11 | file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \ | 10 | file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \ |
| 12 | " | 11 | " |
| 13 | 12 | ||
| 14 | DEPENDS = "zlib abseil-cpp jsoncpp" | 13 | DEPENDS = "zlib abseil-cpp jsoncpp" |
| 15 | DEPENDS:append:class-target = " protobuf-native" | 14 | DEPENDS:append:class-target = " protobuf-native" |
| 16 | 15 | ||
| 17 | SRCREV = "f5de0a0495faa63b4186fc767324f8b9a7bf4fc4" | 16 | SRCREV = "74211c0dfc2777318ab53c2cd2c317a2ef9012de" |
| 18 | 17 | ||
| 19 | SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=29.x;protocol=https \ | 18 | SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=https \ |
| 20 | file://run-ptest \ | 19 | file://run-ptest \ |
| 21 | file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ | 20 | file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ |
| 22 | file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \ | 21 | file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \ |
| 23 | file://0001-utf8_range-add-version-marker-to-library-19009.patch \ | ||
| 24 | " | 22 | " |
| 25 | SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " | 23 | SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " |
| 26 | 24 | ||
