gentoo/dev-perl/Fuse/files/Fuse-0.16.1-ioctl-header.patch
Kent Fredric b4afbc116a
dev-perl/Fuse: -r bump for various toolchain love and bug fixes
- Fix incorrect LICENSE
- Use sys-fs/fuse:0 as the code doesn't bind against fuse:3, even if
  present.
- Strip unwanted tests
- Disable parallel testing (has a defined order where an script ensures
  the "mount" test is run before all others, and an "unmount" script run
  at the end for cleanup, and jumbling this order messes everything up.
- Fix tests failing to load without '.' in @INC
- Patch test code to work in "${T}" instead of /tmp/, and guard against
  lots of problems with bad path handling that could fail due to shell
  interpolation, as well as avoiding a few unneeded calls to dumb things
  like qx{cat foo} which works better done natively in perl
- Borrow debians ioctl patch which may be tripping up musl
- Ensure CFLAGS passed to make/compiler
- Avoid running test suite under FEATURES="usersandbox" as the need to
  run fuse and mount filesystems for testing

Bug: https://bugs.gentoo.org/699664
Bug: https://bugs.gentoo.org/712738
Bug: https://bugs.gentoo.org/720770
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
2020-09-18 16:30:49 +12:00

23 lines
538 B
Diff

From ecddb700c4551157fb5604c59c38eefc9a99d21b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= <rouca@debian.org>
Date: Sun, 1 Jul 2018 22:10:44 +0200
Subject: Include ioctl header in order to close FTBFS in MIPS
Workarround a glibc bug
Forwarded: no, not-needed
---
Fuse.xs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Fuse.xs b/Fuse.xs
index e9cce2e..4504a29 100755
--- a/Fuse.xs
+++ b/Fuse.xs
@@ -1,3 +1,5 @@
+#include <sys/ioctl.h>
+
#define PERL_NO_GET_CONTEXT
#include "EXTERN.h"
#include "perl.h"