Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717540 - net-libs/mbedtls-2.20.0 needs a patch to compile : 'session' undeclared
Summary: net-libs/mbedtls-2.20.0 needs a patch to compile : 'session' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-15 11:45 UTC by Helmut Jarausch
Modified: 2020-04-15 13:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild containing 'sed' command (mbedtls-2.20.0.ebuild,2.87 KB, text/plain)
2020-04-15 11:45 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2020-04-15 11:45:11 UTC
Created attachment 633040 [details]
ebuild containing 'sed' command

/var/tmp/portage/net-libs/mbedtls-2.20.0/work/mbedtls-mbedtls-2.20.0/library/ssl_tls.c:1883:9: error: 'session' undeclared (first use in this function)
 1883 |     if( session->compression == MBEDTLS_SSL_COMPRESS_DEFLATE &&

The following fix (ebuild attached) lets this package build successfully

s/session->compression/ssl->session->compression/
Comment 1 Larry the Git Cow gentoo-dev 2020-04-15 13:38:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae67063cedfaf8bac41aaa869550251aebf4b2e

commit 7ae67063cedfaf8bac41aaa869550251aebf4b2e
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-04-15 13:37:49 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-04-15 13:38:36 +0000

    net-libs/mbedtls: Fixed compilation with USE="zlib" (again)
    
    Closes: https://bugs.gentoo.org/717540
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-libs/mbedtls/mbedtls-2.20.0.ebuild | 1 +
 1 file changed, 1 insertion(+)