void-packages/srcpkgs/perl-Fuse/patches/build-fix.patch

26 lines
571 B
Diff

--- Fuse.xs 2013-09-13 06:16:35.000000000 +0400
+++ Fuse.xs 2013-10-29 14:38:44.000000000 +0400
@@ -754,6 +754,9 @@
int _PLfuse_release (const char *file, struct fuse_file_info *fi) {
int rv;
+#ifndef PERL_HAS_64BITINT
+ char *temp;
+#endif
int flags = fi->flags;
FUSE_CONTEXT_PRE;
DEBUGf("release begin\n");
diff --git Fuse.xs Fuse.xs
index b41c761..266978b 100755
--- Fuse.xs
+++ Fuse.xs
@@ -2,7 +2,7 @@
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
-
+#include <linux/ioctl.h>
#include <fuse.h>
#if defined(__linux__) || defined(__APPLE__)