sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Elisamuel Resto (d7c745dffd90b2ec388f25824bd9867e7f86bc06)
- From: Elisamuel Resto <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (d7c745dffd90b2ec388f25824bd9867e7f86bc06)
- Date: Fri, 31 Aug 2007 02:57:34 -0500
GIT changes to master grimoire by Elisamuel Resto <ryuji AT mages.ath.cx>:
net/samba/HISTORY | 3 +++
net/samba/PRE_BUILD | 4 ++++
net/samba/samba-3.0.25c-python_bindings_fix.patch | 11 +++++++++++
3 files changed, 18 insertions(+)
New commits:
commit d7c745dffd90b2ec388f25824bd9867e7f86bc06
Author: Elisamuel Resto <ryuji AT mages.ath.cx>
Commit: Elisamuel Resto <ryuji AT mages.ath.cx>
net/samba: fix python bindings failing to cast (Bug #13967)
diff --git a/net/samba/HISTORY b/net/samba/HISTORY
index 7c5ca41..0cdd897 100644
--- a/net/samba/HISTORY
+++ b/net/samba/HISTORY
@@ -1,3 +1,6 @@
+2007-08-31 Elisamuel Resto <ryuji AT mages.ath.cx>
+ * PRE_BUILD, samba-3.0.25c-python_bindings_fix.patch: fix python
bindings (Bug #13967)
+
2007-08-29 Ladislav Hagara <hgr AT vabo.cz>
* BUILD, INSTALL: added some && to fail properly [Bug 13967]
diff --git a/net/samba/PRE_BUILD b/net/samba/PRE_BUILD
index 0292bd6..c8f75af 100755
--- a/net/samba/PRE_BUILD
+++ b/net/samba/PRE_BUILD
@@ -1,6 +1,10 @@
default_pre_build &&
cd $SOURCE_DIRECTORY &&
+if [[ "${VERSION}" = "3.0.25c" ]]; then
+ patch -p0 < $SPELL_DIRECTORY/samba-3.0.25c-python_bindings_fix.patch
+fi &&
+
sedit 's!libsmbclient.*\$(LIBDIR)!&/..!' source/Makefile.in &&
if [[ "$SAMBA_VSCAN" == "y" ]] ; then
diff --git a/net/samba/samba-3.0.25c-python_bindings_fix.patch
b/net/samba/samba-3.0.25c-python_bindings_fix.patch
new file mode 100644
index 0000000..f6890cd
--- /dev/null
+++ b/net/samba/samba-3.0.25c-python_bindings_fix.patch
@@ -0,0 +1,11 @@
+--- source/python/py_smb.c (revision 24634)
++++ source/python/py_smb.c (revision 24635)
+@@ -48,7 +48,7 @@
+
+ ZERO_STRUCT(ip);
+
+- if (!cli_connect(cli, server, &ip))
++ if (!NT_STATUS_IS_OK(cli_connect(cli, server, &ip)))
+ return NULL;
+
+ return new_cli_state_object(cli);
- [SM-Commit] GIT changes to master grimoire by Elisamuel Resto (d7c745dffd90b2ec388f25824bd9867e7f86bc06), Elisamuel Resto, 08/31/2007
Archive powered by MHonArc 2.6.24.