mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 04:58:52 +02:00
Telegram: disable ASLR and set heap limit for build
This commit is contained in:
@@ -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="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3d5642d609415cbfe4ba72276947ec63b2ebeb6de2fdd0aa942e8a0f089f0f57"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion.tar.gz"
|
||||
@@ -44,7 +44,8 @@ srcGitRev_10="9a2a9f2d0f38a39c5ec9b329042ca5f060b058e0"
|
||||
SOURCE_URI_10="https://github.com/lz4/lz4/archive/$srcGitRev_10.tar.gz"
|
||||
CHECKSUM_SHA256_10="fb17b28934ea7f85bd381dd183d765973f7e90a7e2ebc2415af61fe6848741cc"
|
||||
SOURCE_FILENAME_10="lz4-$srcGitRev_10.tar.gz"
|
||||
SOURCE_URI_11="https://salsa.debian.org/debian/telegram-desktop/raw/debian/master/debian/rules#noarchive"
|
||||
srcGitRev_11="0663103551379b958b2e79c51d51d163ec484300"
|
||||
SOURCE_URI_11="https://salsa.debian.org/debian/telegram-desktop/raw/$srcGitRev_11/debian/rules#noarchive"
|
||||
CHECKSUM_SHA256_11="2b24fb808acee36b5a15824c4ff8bd8b8e83a326a9e4593d2b21922425c5ffb3"
|
||||
|
||||
PATCHES="
|
||||
@@ -165,6 +166,7 @@ BUILD()
|
||||
Telegram/gyp/refresh.sh --api-id $TELEGRAM_API_ID --api-hash $TELEGRAM_API_HASH
|
||||
cd out/Release
|
||||
# multi-job takes too much memory
|
||||
export DISABLE_ASLR=1
|
||||
make
|
||||
|
||||
#build notify gate tool
|
||||
|
||||
Reference in New Issue
Block a user