aboutsummaryrefslogtreecommitdiffstats
path: root/testing/telegram-tdlib/sysctl_h.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-25 11:40:29 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-10-25 11:53:59 -0300
commit2ed6226fc6f48fac1f5b86d68d774d6e54c4a025 (patch)
treed09c630030e347373bc9c7e59938b0a02c097d21 /testing/telegram-tdlib/sysctl_h.patch
parent7dcf1b9988ce780d8c3686d3a612dcf04da1f561 (diff)
downloadaports-2ed6226fc6f48fac1f5b86d68d774d6e54c4a025.tar.bz2
aports-2ed6226fc6f48fac1f5b86d68d774d6e54c4a025.tar.xz
testing/telegram-tdlib: upgrade to 1.5.0
Diffstat (limited to 'testing/telegram-tdlib/sysctl_h.patch')
-rw-r--r--testing/telegram-tdlib/sysctl_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/telegram-tdlib/sysctl_h.patch b/testing/telegram-tdlib/sysctl_h.patch
new file mode 100644
index 0000000000..68a5119aca
--- /dev/null
+++ b/testing/telegram-tdlib/sysctl_h.patch
@@ -0,0 +1,13 @@
+diff --git a/tdutils/td/utils/port/detail/ThreadPthread.cpp b/tdutils/td/utils/port/detail/ThreadPthread.cpp
+index c712cef..c0cb69b 100644
+--- a/tdutils/td/utils/port/detail/ThreadPthread.cpp
++++ b/tdutils/td/utils/port/detail/ThreadPthread.cpp
+@@ -14,7 +14,6 @@ char disable_linker_warning_about_empty_file_thread_pthread_cpp TD_UNUSED;
+
+ #include <pthread.h>
+ #include <sched.h>
+-#include <sys/sysctl.h>
+ #include <unistd.h>
+
+ namespace td {
+