]> git.pld-linux.org Git - packages/samba.git/blob - samba-smbwrapper.patch
This commit was manufactured by cvs2git to create tag 'auto-ac-samba-
[packages/samba.git] / samba-smbwrapper.patch
1 diff -urN samba-3.0.25a.org/examples/libsmbclient/smbwrapper/Makefile samba-3.0.25a/examples/libsmbclient/smbwrapper/Makefile
2 --- samba-3.0.25a.org/examples/libsmbclient/smbwrapper/Makefile 2006-01-25 00:46:42.000000000 +0100
3 +++ samba-3.0.25a/examples/libsmbclient/smbwrapper/Makefile     2007-06-17 17:43:30.088457851 +0200
4 @@ -3,7 +3,7 @@
5  
6  CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL)
7  
8 -LDFLAGS = -L/usr/local/samba/lib
9 +LDFLAGS = -L../../../source/bin
10  
11  SMBINCLUDE = -I../../../source/include
12  CFLAGS= -fpic -g -O0 $(DEFS) $(SMBINCLUDE)
13 diff -urN samba-3.0.25a.org/examples/libsmbclient/smbwrapper/wrapper.c samba-3.0.25a/examples/libsmbclient/smbwrapper/wrapper.c
14 --- samba-3.0.25a.org/examples/libsmbclient/smbwrapper/wrapper.c        2006-01-25 00:46:42.000000000 +0100
15 +++ samba-3.0.25a/examples/libsmbclient/smbwrapper/wrapper.c    2007-06-17 17:39:16.085693163 +0200
16 @@ -62,6 +62,7 @@
17  #include <dirent.h>
18  #include <signal.h>
19  #include <stdarg.h>
20 +#include <string.h>
21  #ifdef __USE_GNU
22  # define SMBW_USE_GNU
23  #endif
24 @@ -73,6 +74,7 @@
25  #include <errno.h>
26  #include "libsmbclient.h"
27  #include "bsd-strlfunc.h"
28 +#include "smbw.h"
29  #include "wrapper.h"
30  
31  /*
32 @@ -488,7 +490,7 @@
33           * function and smbw.c et al.  Functions that return other than an
34           * integer value, however, MUST have their return value defined.
35           */
36 -        off64_t         smbw_lseek();
37 +        /* off64_t         smbw_lseek(); */
38          
39          if (smbw_fd(fd)) {
40                 return (off_t) smbw_lseek(fd, offset, whence);
41 @@ -518,7 +520,7 @@
42           * function and smbw.c et al.  Functions that return other than an
43           * integer value, however, MUST have their return value defined.
44           */
45 -        off64_t         smbw_lseek();
46 +        /* off64_t         smbw_lseek(); */
47          
48         if (smbw_fd(fd))
49                 ret = smbw_lseek(fd, offset, whence);
This page took 0.028613 seconds and 3 git commands to generate.