summaryrefslogtreecommitdiff
path: root/community/perl-fuse
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-fuse')
-rw-r--r--community/perl-fuse/PKGBUILD15
-rw-r--r--community/perl-fuse/build-fix.patch13
2 files changed, 24 insertions, 4 deletions
diff --git a/community/perl-fuse/PKGBUILD b/community/perl-fuse/PKGBUILD
index a7efcd34d..ca5b8ce33 100644
--- a/community/perl-fuse/PKGBUILD
+++ b/community/perl-fuse/PKGBUILD
@@ -1,17 +1,24 @@
-# $Id: PKGBUILD 95164 2013-08-06 11:52:21Z spupykin $
+# $Id: PKGBUILD 99530 2013-10-29 10:58:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Tom K <tomk@runbox.com>
pkgname=perl-fuse
-pkgver=0.15
+pkgver=0.16
pkgrel=1
pkgdesc="write filesystems in Perl using FUSE"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/Fuse"
depends=('perl' 'fuse')
license=('GPL')
-source=(http://www.cpan.org/authors/id/D/DP/DPAVLIN/Fuse-$pkgver.tar.gz)
-md5sums=('5c521508bea036fed946d43b44d56056')
+source=(http://search.cpan.org/CPAN/authors/id/D/DP/DPATES/Fuse-$pkgver.tar.gz
+ build-fix.patch)
+md5sums=('d7f36eb55392270d2c6b2f05737b553f'
+ '16d985400e620286efdf4610d78cb5d6')
+
+prepare() {
+ cd $srcdir/Fuse-$pkgver
+ patch -p1 <$srcdir/build-fix.patch
+}
build() {
cd $srcdir/Fuse-$pkgver
diff --git a/community/perl-fuse/build-fix.patch b/community/perl-fuse/build-fix.patch
new file mode 100644
index 000000000..51cb5ebce
--- /dev/null
+++ b/community/perl-fuse/build-fix.patch
@@ -0,0 +1,13 @@
+diff -wbBur Fuse-0.16/Fuse.xs Fuse-0.16.q/Fuse.xs
+--- Fuse-0.16/Fuse.xs 2013-09-13 06:16:35.000000000 +0400
++++ Fuse-0.16.q/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");