summaryrefslogtreecommitdiff
path: root/user/qt5-qtpositioning/no-getting-thread-names.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-16 04:39:46 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-16 04:39:46 -0500
commitfde9480ee878da11ee6a397b08c1d9064fb64bde (patch)
tree4db7ac27bee0e862bc7655505f394581e89794df /user/qt5-qtpositioning/no-getting-thread-names.patch
parent44d8df53c1fa631897a0935a0a7889a9e6ac0f84 (diff)
downloadpackages-fde9480ee878da11ee6a397b08c1d9064fb64bde.tar.gz
packages-fde9480ee878da11ee6a397b08c1d9064fb64bde.tar.bz2
packages-fde9480ee878da11ee6a397b08c1d9064fb64bde.tar.xz
packages-fde9480ee878da11ee6a397b08c1d9064fb64bde.zip
user/qt5-qtpositioning: new package
Diffstat (limited to 'user/qt5-qtpositioning/no-getting-thread-names.patch')
-rw-r--r--user/qt5-qtpositioning/no-getting-thread-names.patch12
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;
+ }