aboutsummaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2018-04-17 14:10:49 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2018-04-17 14:10:49 +0000
commit4e2c600ca3c66118495219386b65344fc2dbbdec (patch)
tree6c9a563948d4f275b2eafc7254835e6d5c0327de /net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
parent884fb2d5051b3ec7f865ff8387c32fea93f928a5 (diff)
downloadports-4e2c600ca3c66118495219386b65344fc2dbbdec.tar.gz
ports-4e2c600ca3c66118495219386b65344fc2dbbdec.zip
Notes
Diffstat (limited to 'net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h')
-rw-r--r--net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h b/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
new file mode 100644
index 000000000000..58be8043dc96
--- /dev/null
+++ b/net-im/telegram-desktop/files/patch-Telegram_ThirdParty_libtgvoip_os_linux_PulseAudioLoader.h
@@ -0,0 +1,20 @@
+--- Telegram/ThirdParty/libtgvoip/os/linux/PulseAudioLoader.h.orig 2018-02-07 04:46:43 UTC
++++ Telegram/ThirdParty/libtgvoip/os/linux/PulseAudioLoader.h
+@@ -9,6 +9,10 @@
+
+ #include <pulse/pulseaudio.h>
+
++#ifndef typeof
++#define typeof __typeof__
++#endif
++
+ #define DECLARE_DL_FUNCTION(name) static typeof(name)* _import_##name
+
+ namespace tgvoip{
+@@ -106,4 +110,4 @@ private:
+ #define pa_operation_get_state PulseAudioLoader::_import_pa_operation_get_state
+ #endif
+
+-#endif // LIBTGVOIP_PULSEAUDIOLOADER_H
+\ No newline at end of file
++#endif // LIBTGVOIP_PULSEAUDIOLOADER_H