packages/libs/libglog/patches/100-fix-musl-compilation.patch
Amol Bhave 2b7842348e glog: Bump version to 0.4.0
bump glog version from 0.3.5 to 0.4.0

Tested by building another package which depends on glog and verify that
it builds successfully.

Signed-off-by: Amol Bhave <ambhave@fb.com>
2019-04-03 11:53:51 -07:00

13 lines
596 B
Diff

Index: glog-0.4.0/src/symbolize_unittest.cc
===================================================================
--- glog-0.4.0.orig/src/symbolize_unittest.cc
+++ glog-0.4.0/src/symbolize_unittest.cc
@@ -401,7 +401,7 @@ int main(int argc, char **argv) {
FLAGS_logtostderr = true;
InitGoogleLogging(argv[0]);
InitGoogleTest(&argc, argv);
-#if defined(HAVE_SYMBOLIZE)
+#if defined(HAVE_SYMBOLIZE) && defined(HAVE_STACKTRACE)
# if defined(__ELF__)
// We don't want to get affected by the callback interface, that may be
// used to install some callback function at InitGoogle() time.