Files
Khem Raj 394f3537c5 etcd-cpp-apiv3: Fix build with gprc 2.66+
GPR_ASSERT is removed from latest gprc

Fixes
   | /home/pokybuild/yocto-worker/meta-oe/build/build/tmp-glibc/work/core2-64-poky-linux/etcd-cpp-apiv3/0.15.4/git/src/v3/Action.cpp: In member function 'void etcdv3::Action::waitForResponse()':
   | /home/pokybuild/yocto-worker/meta-oe/build/build/tmp-glibc/work/core2-64-poky-linux/etcd-cpp-apiv3/0.15.4/git/src/v3/Action.cpp:101:5: error: 'GPR_ASSERT' was not declared in this scope
   |   101 |     GPR_ASSERT(got_tag == (void*) this);
   |       |     ^~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-04 15:35:46 -07:00

29 lines
790 B
BlitzBasic

DESCRIPTION = "C++ API for etcd's v3 client API"
HOMEPAGE = "https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450"
SRC_URI = " \
git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \
file://0001-include-stdint.h-for-int64_t-types.patch \
file://0001-Replacing-GPR_ASSERT-with-c-assert.patch \
"
SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e"
inherit cmake
DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native"
S = "${WORKDIR}/git"
EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON"
do_install:append() {
sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/cmake/etcd-cpp-api/etcd-targets.cmake
}
SOLIBS = ".so"
FILES_SOLIBSDEV = ""