diff options
author | Joshua Kinard <kumba@gentoo.org> | 2019-03-24 15:43:33 -0400 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2019-03-24 15:45:12 -0400 |
commit | 14577373ea94b996b856cad1c7f837fb79032d2f (patch) | |
tree | d220d5337c20e8d53d9400129f5e57ab62c07406 /sys-apps/util-linux/util-linux-2.33.1.ebuild | |
parent | sys-power/upower: stable 0.99.9-r1 for ia64, bug #681620 (diff) | |
download | gentoo-14577373ea94b996b856cad1c7f837fb79032d2f.tar.gz gentoo-14577373ea94b996b856cad1c7f837fb79032d2f.tar.bz2 gentoo-14577373ea94b996b856cad1c7f837fb79032d2f.zip |
sys-apps/util-linux: Build fix on MIPS from upstream
In glibc-2.29, the definitions of 'struct termios' were consolidated
across architectures. This causes a build error in util-linux on MIPS
due to undefined struct members 'c_ospeed' and 'c_ispeed', which MIPS
does not have. The included patch from upstream fixes this, and should
be in the next util-linux release.
Signed-off-by: Joshua Kinard <kumba@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Diffstat (limited to 'sys-apps/util-linux/util-linux-2.33.1.ebuild')
-rw-r--r-- | sys-apps/util-linux/util-linux-2.33.1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/util-linux/util-linux-2.33.1.ebuild b/sys-apps/util-linux/util-linux-2.33.1.ebuild index a671878bc149..503832c70fa6 100644 --- a/sys-apps/util-linux/util-linux-2.33.1.ebuild +++ b/sys-apps/util-linux/util-linux-2.33.1.ebuild @@ -90,6 +90,13 @@ src_prepare() { configure || die elibtoolize + + # In glibc-2.29+, a lot of changes were made to arch-specific + # handling of `struct termios', which breaks atleast MIPS. + # The below patch from upstream fixes this, and should be + # in the next release. + # See: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=963413a1adf6767ab17712097e288e1a346f63a7 + epatch "${FILESDIR}/${P}-fix-struct_termios-check.patch" } lfs_fallocate_test() { |