diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-libs/libsigsegv/libsigsegv-2.14.ebuild | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-libs/libsigsegv/libsigsegv-2.14.ebuild')
-rw-r--r-- | dev-libs/libsigsegv/libsigsegv-2.14.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-libs/libsigsegv/libsigsegv-2.14.ebuild b/dev-libs/libsigsegv/libsigsegv-2.14.ebuild index f9110af28dc4..e86eb0345c67 100644 --- a/dev-libs/libsigsegv/libsigsegv-2.14.ebuild +++ b/dev-libs/libsigsegv/libsigsegv-2.14.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools +inherit autotools toolchain-funcs DESCRIPTION="Library for handling page faults in user mode" HOMEPAGE="https://www.gnu.org/software/libsigsegv/" @@ -20,6 +20,13 @@ src_prepare() { src_configure() { econf --enable-shared --disable-static + + if tc-is-cross-compiler && [[ ${CHOST} == sparc64* ]] ; then + # Tries to use fault-linux-sparc-old.h otherwise which is + # for non-POSIX systems. + # bug #833469 + sed -i -e "s:fault-linux-sparc-old.h:fault-linux-sparc.h:" config.status config.h.in config.h || die + fi } src_install() { |