patch to fix current CVS version of Fuse perl bindings
[Fuse-DBI] / fuse-perl-patch / cvs-20041116.diff
1 Index: Fuse.pm
2 ===================================================================
3 RCS file: /cvsroot/fuse/perl/Fuse.xs,v
4 retrieving revision 1.1.1.1
5 diff -u -w -r1.1.1.1 Fuse.xs
6 --- Fuse.xs     11 Nov 2004 15:44:16 -0000      1.1.1.1
7 +++ Fuse.xs     16 Nov 2004 15:41:43 -0000
8 @@ -2,7 +2,7 @@
9  #include "perl.h"
10  #include "XSUB.h"
11  
12 -#include <fuse.h>
13 +#include <fuse/fuse.h>
14  
15  #undef DEBUGf
16  #if 0
17 @@ -101,7 +101,7 @@
18         if(prv) {
19                 rv = POPi;
20                 while(--prv)
21 -                       dirfil(dirh,POPp,0);
22 +                       dirfil(dirh,POPp,0,0);
23         } else {
24                 fprintf(stderr,"getdir() handler returned nothing!\n");
25                 rv = -ENOSYS;
26 Index: Makefile.PL
27 ===================================================================
28 RCS file: /cvsroot/fuse/perl/Makefile.PL,v
29 retrieving revision 1.1.1.1
30 diff -u -w -r1.1.1.1 Makefile.PL
31 --- Makefile.PL 11 Nov 2004 15:44:16 -0000      1.1.1.1
32 +++ Makefile.PL 16 Nov 2004 15:41:43 -0000
33 @@ -13,5 +13,6 @@
34         # Insert -I. if you add *.h files later:
35      'INC'              => '-I../include', # e.g., '-I/usr/include/other'
36         # Un-comment this if you add C files to link with later:
37 -    'OBJECT'           => 'Fuse.o ../lib/.libs/libfuse.a -lpthread', # link all the C files too
38 +#    'OBJECT'          => 'Fuse.o ../lib/.libs/libfuse.a -lpthread', # link all the C files too
39 +    'OBJECT'           => 'Fuse.o -lfuse -lpthread', # link all the C files too
40  );