elfutils: address external linkage failures in 0.185 (#25769)

This commit is contained in:
QuellynSnead 2021-09-06 07:07:42 -06:00 committed by GitHub
parent 92e4db4681
commit 1a48c0f51c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,11 @@ class Elfutils(AutotoolsPackage, SourcewarePackage):
variant('debuginfod', default=False,
description='Enable libdebuginfod support.')
# elfutils-0.185-static-inline.patch
# elflint.c (buffer_left): Mark as 'inline' to avoid external linkage failure.
patch('https://794601.bugs.gentoo.org/attachment.cgi?id=714030', when='@0.185',
sha256='d786d49c28d7f0c8fc27bab39ca8714e5f4d128c7f09bb18533a8ec99b38dbf8')
depends_on('bzip2', type='link', when='+bzip2')
depends_on('xz', type='link', when='+xz')
depends_on('zlib', type='link')