1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-04 02:49:14 -04:00
ports/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_logging.cpp
Steve Wills 690c76d9c1 net-im/telegram-desktop: update to 1.5.11
PR:		235476
Submitted by:	Henry Hu <henry.hu.sh@gmail.com> (maintainer)
2019-02-05 14:05:36 +00:00

20 lines
583 B
C++

--- Telegram/ThirdParty/libtgvoip/logging.cpp.orig 2018-12-31 01:05:58 UTC
+++ Telegram/ThirdParty/libtgvoip/logging.cpp
@@ -13,7 +13,7 @@
#ifdef __ANDROID__
#include <sys/system_properties.h>
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
#include <sys/utsname.h>
#endif
@@ -51,7 +51,7 @@ void tgvoip_log_file_write_header(FILE* file){
#else
char* systemVersion="Windows RT";
#endif
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
#ifdef __ANDROID__
char systemVersion[128];
char sysRel[PROP_VALUE_MAX];