void-packages/srcpkgs/telegram-desktop/patches/06-remove-GLIBC-2.15-compat...

30 lines
870 B
Diff

--- Telegram/gyp/telegram_linux.gypi 2018-02-18 20:54:28.997216923 +0100
+++ - 2018-02-18 20:58:29.334937600 +0100
@@ -57,9 +57,6 @@
'-Wno-strict-overflow',
],
'ldflags': [
- '-Wl,-wrap,aligned_alloc',
- '-Wl,-wrap,secure_getenv',
- '-Wl,-wrap,clock_gettime',
'-Wl,--no-as-needed,-lrt',
],
'configurations': {
--- Telegram/gyp/qt.gypi 2018-02-18 20:54:28.997216923 +0100
+++ - 2018-02-18 20:59:47.859601720 +0100
@@ -176,14 +176,10 @@
],
'conditions': [
[ 'build_linux', {
- 'dependencies': [
- '<(DEPTH)/linux_glibc_wraps.gyp:linux_glibc_wraps',
- ],
'library_dirs': [
'<(qt_loc)/plugins/platforminputcontexts',
],
'libraries': [
- '<(PRODUCT_DIR)/obj.target/liblinux_glibc_wraps.a',
'<@(qt_libs_release)',
'-lcrypto',
'-lX11',