Initialize magic_number to zero to avoid such failure.
utilities/blob_db/blob_log_format.cc:91:3: error: 'magic_number' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
if (magic_number != kMagicNumber) {
^~
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
RocksDB is still using CMake 2.8 and thus does not make use of importet targets.
This leads to hardcoded paths to the build directory in the resulting packaged files.
The workaround for the issue is to bypass CMakes detection and let the linker deal with finding the right library.
This is necessary until RocksDB moves to a more modern CMake.
It's also applied in the Poco recipe right now.
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The GCC 8 patch is still needed as the changes are not yet included in 5.13.x
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Also remove the +gitSRCPV suffix from the version.
This is an official release and the version should be enough,
it adds only clutter.
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>