diff options
Diffstat (limited to 'user/qt5-qtpositioning/no-getting-thread-names.patch')
-rw-r--r-- | user/qt5-qtpositioning/no-getting-thread-names.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/user/qt5-qtpositioning/no-getting-thread-names.patch b/user/qt5-qtpositioning/no-getting-thread-names.patch new file mode 100644 index 000000000..63aa8f66c --- /dev/null +++ b/user/qt5-qtpositioning/no-getting-thread-names.patch @@ -0,0 +1,12 @@ +--- qtlocation-opensource-src-5.9.6/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp.old 2017-11-29 18:38:56.000000000 +0000 ++++ qtlocation-opensource-src-5.9.6/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp 2018-07-16 09:24:16.990000000 +0000 +@@ -11,7 +11,9 @@ + + std::string getCurrentThreadName() { + char name[32] = "unknown"; ++#ifdef __GLIBC__ + pthread_getname_np(pthread_self(), name, sizeof(name)); ++#endif + + return name; + } |