summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-10-01 20:28:34 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-10-01 20:29:09 +0100
commit150f49cdb500318a543afebda095b3127fdc7f95 (patch)
tree378e13dd51df9c394d8b2b25af2c2a1242b07618 /dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch
parentnet-p2p/cpuminer-opt: 3.9.8.1 version bump (diff)
downloadgentoo-150f49cdb500318a543afebda095b3127fdc7f95.tar.gz
gentoo-150f49cdb500318a543afebda095b3127fdc7f95.tar.bz2
gentoo-150f49cdb500318a543afebda095b3127fdc7f95.zip
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>
Diffstat (limited to 'dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch')
-rw-r--r--dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch b/dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch
new file mode 100644
index 000000000000..5e8c943eee38
--- /dev/null
+++ b/dev-libs/libffi-compat/files/libffi-3.2.1-complex_alpha.patch
@@ -0,0 +1,20 @@
+--- 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
+