Files
gentoo/dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch
Sergei Trofimovich 150f49cdb5 dev-libs/libffi-compat: new package, provides libffi.so.6
There are still a few binary-only packages out there that rely on
'libffi.so.6' presence. This package provides these libraries.
No development headers here. Thus this library can co-exist with
dev-libs/libffi:0/7 package.

Ebuild is based on dev-libs/libffi. We can fast-stabilize it if
in-tree stable packages do rely on libffi.so.6 (they should not).

The patch is almost entirely by Timo Rothenpieler.
I renamed a package and made a few minor tweaks.

Fix-by: Timo Rothenpieler
Reported-by: Timo Rothenpieler
Closes: https://bugs.gentoo.org/695964
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2019-10-01 20:29:09 +01:00

21 lines
605 B
Diff

--- a/src/alpha/osf.S.orig 2015-01-16 10:46:15.000000000 +0100
+++ b/src/alpha/osf.S 2015-01-16 10:46:24.000000000 +0100
@@ -279,6 +279,7 @@
.gprel32 $load_64 # FFI_TYPE_SINT64
.gprel32 $load_none # FFI_TYPE_STRUCT
.gprel32 $load_64 # FFI_TYPE_POINTER
+ .gprel32 $load_none # FFI_TYPE_COMPLEX
/* Assert that the table above is in sync with ffi.h. */
@@ -294,7 +295,8 @@
|| FFI_TYPE_SINT64 != 12 \
|| FFI_TYPE_STRUCT != 13 \
|| FFI_TYPE_POINTER != 14 \
- || FFI_TYPE_LAST != 14
+ || FFI_TYPE_COMPLEX != 15 \
+ || FFI_TYPE_LAST != 15
#error "osf.S out of sync with ffi.h"
#endif