Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net-im/telegram-cli won't compile with >=dev-libs/openssl-1.1 #162

Open
tacvbo opened this issue Mar 27, 2019 · 5 comments
Open

net-im/telegram-cli won't compile with >=dev-libs/openssl-1.1 #162

tacvbo opened this issue Mar 27, 2019 · 5 comments
Labels

Comments

@tacvbo
Copy link

tacvbo commented Mar 27, 2019

net-im/telegram-cli won't compile with >=dev-libs/openssl-1.1, there is a patch that works here:

https://github.com/vysheng/tgl/pull/126/files/66758bbea27515c5f35e3fafc64d3a3601a5b777

I've added it to the ebuild as this

if [[ ${PV} != 9999 ]];then
src_prepare(){
cp -r ../tgl-${TGL_COMMIT}/* tgl
cp -r ../tl-parser-${TL_PARSER_COMMIT}/* tgl/tl-parser
PATCHES=( "${FILESDIR}/${P}-assertion-issue.patch"
"${FILESDIR}/${P}-openssl.patch" )
default_src_prepare
}
else
src_prepare(){
PATCHES=( "${FILESDIR}/${P}-openssl.patch" )
default_src_prepare
}
fi

@jorgicio jorgicio added build error patch patch-related issues labels Mar 27, 2019
@jorgicio
Copy link
Owner

Hi. Patch added. Thanks.
Also, the 9999 version doesn't need the patch (by the moment) because I assume this pull request will be pushed some time in the future.

Anyways, thank you!

@jorgicio
Copy link
Owner

jorgicio commented Mar 27, 2019

Bad news: the patch failed, so I'll reopen this.

Also, this patch is for tgl, not for telegram-cli. However, that gave me an idea and I hope this may work as expected.

@jorgicio jorgicio reopened this Mar 27, 2019
@jorgicio
Copy link
Owner

Sorry for the mess. The patch failed again. Probably this was already merged, I don't know.

I'll keep this open. Also, merged 1.3.1-r3 version with some changes.

@jorgicio jorgicio reopened this Mar 27, 2019
@jorgicio jorgicio reopened this Mar 27, 2019
@tacvbo
Copy link
Author

tacvbo commented Mar 27, 2019

This patch works for 9999, it's needed.

https://pastebin.com/5jAgP47G

Preparing source in /var/tmpfs/portage/net-im/telegram-cli-9999/work/telegram-cli-9999 ...

  • Applying telegram-cli-9999-openssl.patch ... [ ok ]

Source prepared.
Configuring source in /var/tmpfs/portage/net-im/telegram-cli-9999/work/telegram-cli-9999 ...
...

@jorgicio
Copy link
Owner

Patch bumped. As it works only with live version, I'll leave this issue open until I find a solution for the 1.3.1 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants