mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
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>
18 lines
660 B
Diff
18 lines
660 B
Diff
https://bugs.gentoo.org/529044
|
|
|
|
deploy this workaround until newer versions of the kernel/C library/libsandbox
|
|
are rolled out into general circulation
|
|
|
|
--- a/src/closures.c
|
|
+++ b/src/closures.c
|
|
@@ -301,7 +301,8 @@ open_temp_exec_file_dir (const char *dir)
|
|
#ifdef O_TMPFILE
|
|
fd = open (dir, flags | O_RDWR | O_EXCL | O_TMPFILE, 0700);
|
|
/* If the running system does not support the O_TMPFILE flag then retry without it. */
|
|
- if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP)) {
|
|
+ if (fd != -1 || (errno != EINVAL && errno != EISDIR && errno != EOPNOTSUPP &&
|
|
+ errno != EACCES)) {
|
|
return fd;
|
|
} else {
|
|
errno = 0;
|