[libfilesys-smbclient-perl] 02/03: Add patch to handle a change in libsmbclient.h in samba 4.0.
gregor herrmann
gregoa at debian.org
Sun Nov 3 19:22:39 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libfilesys-smbclient-perl.
commit 1be1eaeaa14f2450af9b2d7f8aa98964a1b83eb7
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Nov 3 20:18:26 2013 +0100
Add patch to handle a change in libsmbclient.h in samba 4.0.
---
debian/patches/samba4.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 21 insertions(+)
diff --git a/debian/patches/samba4.patch b/debian/patches/samba4.patch
new file mode 100644
index 0000000..de6ddfe
--- /dev/null
+++ b/debian/patches/samba4.patch
@@ -0,0 +1,20 @@
+Description: close() in gone from libsmbclient.h in samba 4.0 apparently
+Origin: vendor
+Forwarded: no
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-11-03
+
+--- a/SmbClient.xs
++++ b/SmbClient.xs
+@@ -454,11 +454,7 @@
+ * Close file desriptor fd
+ *
+ */
+-#ifdef HAVE_CLOSEFN
+ RETVAL=context->close_fn(context, fd);
+-#else
+- RETVAL=context->close(context, fd);
+-#endif
+ OUTPUT:
+ RETVAL
+
diff --git a/debian/patches/series b/debian/patches/series
index bcb8213..31190ad 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
10_Makefile.PL.patch
spelling-error-in-pod.patch
pod-error.patch
+samba4.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfilesys-smbclient-perl.git
More information about the Pkg-perl-cvs-commits
mailing list