mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Telegram: remove -pipe gcc option
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
From 7e56df8f6daa4f1960535050c130b86ee8d0026f Mon Sep 17 00:00:00 2001
|
||||
From ef6a0eaa529bc699a78e18e7f2fd58d7d3d5df32 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 6 Oct 2019 15:25:59 +1000
|
||||
Date: Sun, 6 Oct 2019 20:25:58 +1000
|
||||
Subject: Add Sonnet spell checking
|
||||
|
||||
|
||||
@@ -54,10 +54,10 @@ index ae480a0..fe65db1 100644
|
||||
|
||||
class MaskedInputField : public RpWidgetWrap<QLineEdit> {
|
||||
diff --git a/Telegram/gyp/common/haiku.gypi b/Telegram/gyp/common/haiku.gypi
|
||||
index 0c55076..b077e62 100644
|
||||
index dbc6dce..78d0b6c 100644
|
||||
--- a/Telegram/gyp/common/haiku.gypi
|
||||
+++ b/Telegram/gyp/common/haiku.gypi
|
||||
@@ -35,7 +35,16 @@
|
||||
@@ -34,7 +34,16 @@
|
||||
'-Wno-missing-field-initializers',
|
||||
'-Wno-sign-compare',
|
||||
],
|
||||
@@ -75,7 +75,7 @@ index 0c55076..b077e62 100644
|
||||
'_REENTRANT',
|
||||
'QT_PLUGIN',
|
||||
diff --git a/Telegram/gyp/telegram/haiku.gypi b/Telegram/gyp/telegram/haiku.gypi
|
||||
index 58da6a6..008585e 100644
|
||||
index 76a08fa..2062a63 100644
|
||||
--- a/Telegram/gyp/telegram/haiku.gypi
|
||||
+++ b/Telegram/gyp/telegram/haiku.gypi
|
||||
@@ -30,6 +30,12 @@
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
From fb5d922dc83f3b243f74d0b0fc7ae89e50735a4d Mon Sep 17 00:00:00 2001
|
||||
From 5a510ef350b1bd0f244c9c673701b4f581c86897 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sun, 6 Oct 2019 15:18:21 +1000
|
||||
Date: Sun, 6 Oct 2019 20:25:00 +1000
|
||||
Subject: Add Haiku support
|
||||
|
||||
|
||||
@@ -2363,10 +2363,10 @@ index 6531a7a..242f869 100644
|
||||
'libs_loc%': '<(libs_loc)',
|
||||
diff --git a/Telegram/gyp/common/haiku.gypi b/Telegram/gyp/common/haiku.gypi
|
||||
new file mode 100644
|
||||
index 0000000..0c55076
|
||||
index 0000000..dbc6dce
|
||||
--- /dev/null
|
||||
+++ b/Telegram/gyp/common/haiku.gypi
|
||||
@@ -0,0 +1,67 @@
|
||||
@@ -0,0 +1,62 @@
|
||||
+# This file is part of Telegram Desktop,
|
||||
+# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||
+#
|
||||
@@ -2391,7 +2391,6 @@ index 0000000..0c55076
|
||||
+ [ 'build_haiku', {
|
||||
+ 'variables': {
|
||||
+ 'haiku_common_flags': [
|
||||
+ '-pipe',
|
||||
+ '-Wall',
|
||||
+ '-W',
|
||||
+ '-fPIC',
|
||||
@@ -2417,14 +2416,10 @@ index 0000000..0c55076
|
||||
+ 'cflags_c': [
|
||||
+ '<@(haiku_common_flags)',
|
||||
+ '-std=gnu11',
|
||||
+ '--param ggc-min-expand=10',
|
||||
+ '--param ggc-min-heapsize=8192',
|
||||
+ ],
|
||||
+ 'cflags_cc': [
|
||||
+ '<@(haiku_common_flags)',
|
||||
+ '-std=c++1z',
|
||||
+ '--param ggc-min-expand=10',
|
||||
+ '--param ggc-min-heapsize=8192',
|
||||
+ '-Wno-register',
|
||||
+ ],
|
||||
+ 'configurations': {
|
||||
@@ -2707,10 +2702,10 @@ index f5624a8..fd1e3bd 100644
|
||||
'<(RULE_INPUT_PATH)',
|
||||
diff --git a/Telegram/gyp/telegram/haiku.gypi b/Telegram/gyp/telegram/haiku.gypi
|
||||
new file mode 100644
|
||||
index 0000000..58da6a6
|
||||
index 0000000..76a08fa
|
||||
--- /dev/null
|
||||
+++ b/Telegram/gyp/telegram/haiku.gypi
|
||||
@@ -0,0 +1,79 @@
|
||||
@@ -0,0 +1,75 @@
|
||||
+# This file is part of Telegram Desktop,
|
||||
+# the official desktop version of Telegram messaging app, see https://telegram.org
|
||||
+#
|
||||
@@ -2772,14 +2767,10 @@ index 0000000..58da6a6
|
||||
+ 'cflags': [
|
||||
+ '-Ofast',
|
||||
+ '-fno-strict-aliasing',
|
||||
+ '--param ggc-min-expand=10',
|
||||
+ '--param ggc-min-heapsize=8192',
|
||||
+ ],
|
||||
+ 'cflags_cc': [
|
||||
+ '-Ofast',
|
||||
+ '-fno-strict-aliasing',
|
||||
+ '--param ggc-min-expand=10',
|
||||
+ '--param ggc-min-heapsize=8192',
|
||||
+ ],
|
||||
+ 'ldflags': [
|
||||
+ '-Ofast',
|
||||
|
||||
@@ -3,7 +3,7 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
|
||||
HOMEPAGE="https://www.telegram.org/"
|
||||
COPYRIGHT="2013-2019 Telegram"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3d5642d609415cbfe4ba72276947ec63b2ebeb6de2fdd0aa942e8a0f089f0f57"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user