summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp')
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp b/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp
new file mode 100644
index 000000000000..ed63cd4530b6
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_lib__ui_ui_style_style__core__font.cpp
@@ -0,0 +1,11 @@
+--- Telegram/lib_ui/ui/style/style_core_font.cpp.orig 2020-02-10 08:12:05 UTC
++++ Telegram/lib_ui/ui/style/style_core_font.cpp
+@@ -22,7 +22,7 @@ void style_InitFontsResource() {
+ Q_INIT_RESOURCE(win);
+ #elif defined Q_OS_MAC // Q_OS_WIN
+ Q_INIT_RESOURCE(mac);
+-#elif defined Q_OS_LINUX && !defined DESKTOP_APP_USE_PACKAGED // Q_OS_WIN || Q_OS_MAC
++#elif (defined Q_OS_LINUX || defined Q_OS_FREEBSD) && !defined DESKTOP_APP_USE_PACKAGED // Q_OS_WIN || Q_OS_MAC
+ Q_INIT_RESOURCE(linux);
+ #endif // Q_OS_WIN || Q_OS_MAC || (Q_OS_LINUX && !DESKTOP_APP_USE_PACKAGED)
+ }