diff options
| author | 2024-01-30 11:59:36 +0000 | |
|---|---|---|
| committer | 2024-01-30 12:04:33 +0000 | |
| commit | 4d19e0936eca54b068998d96d5c60eb04b0abe5d (patch) | |
| tree | 33cd437f4026114ecd9a9df7d395724584f973a3 | |
| parent | games-engines/minetest: fix gcc-14 build error (diff) | |
| download | gentoo-4d19e0936eca54b068998d96d5c60eb04b0abe5d.tar.gz gentoo-4d19e0936eca54b068998d96d5c60eb04b0abe5d.tar.bz2 gentoo-4d19e0936eca54b068998d96d5c60eb04b0abe5d.zip | |
dev-libs/isa-l: add workaround for x86 build errors
x86-specific optimisations are presently broken - they call assembly
instructions which do not in fact work in 32-bit mode. Until upstream
has either fixed them or declared end of support for this arch, fall
back to the generic code.
Closes: https://bugs.gentoo.org/922193
Signed-off-by: Marek Szuba <marecki@gentoo.org>
| -rw-r--r-- | dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch | 12 | ||||
| -rw-r--r-- | dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch new file mode 100644 index 000000000000..34b60337fe8f --- /dev/null +++ b/dev-libs/isa-l/files/isa-l-2.30.0_makefile-x86.patch @@ -0,0 +1,12 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -64,8 +64,7 @@ + endif + + if CPU_X86_32 +-libisal_la_SOURCES += ${lsrc_x86_32} +-other_tests += ${other_tests_x86_32} ++libisal_la_SOURCES += ${lsrc_base_aliases} + endif + + if CPU_AARCH64 diff --git a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild index 5d8fbc1d2c4b..5998011ab3dd 100644 --- a/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild +++ b/dev-libs/isa-l/isa-l-2.30.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,7 @@ BDEPEND="amd64? ( PATCHES=( "${FILESDIR}"/${PN}-2.30.0_makefile-no-D.patch + "${FILESDIR}"/${PN}-2.30.0_makefile-x86.patch ) src_prepare() { |
