mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Update to 2.2.0
PR: ports/95569 Submitted by: delphij
This commit is contained in:
parent
87cf5c6943
commit
59d41b8f46
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159655
@ -5,7 +5,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ldap2
|
||||
PORTVERSION= 2.0.11
|
||||
PORTVERSION= 2.2.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= python-ldap
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (python-ldap-2.0.11.tar.gz) = 1c20cdbe8cfab1c92b39848f7deeb6ec
|
||||
SHA256 (python-ldap-2.0.11.tar.gz) = c320ca3502426de75a5b982da2a57c44dc20c1024986d169a782299663f1c69f
|
||||
SIZE (python-ldap-2.0.11.tar.gz) = 71715
|
||||
MD5 (python-ldap-2.2.0.tar.gz) = f17b02ef1dc6ab12d819bfef9c036627
|
||||
SHA256 (python-ldap-2.2.0.tar.gz) = 143e42559817d139ae4cbc01e52bba339531a146e3f739641604b96045adc784
|
||||
SIZE (python-ldap-2.2.0.tar.gz) = 70993
|
||||
|
@ -1,26 +0,0 @@
|
||||
Index: LDAPObject.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/python-ldap/python-ldap/Modules/LDAPObject.c,v
|
||||
retrieving revision 1.72
|
||||
diff -u -r1.72 LDAPObject.c
|
||||
--- Modules/LDAPObject.c 11 Mar 2006 21:05:57 -0000 1.72
|
||||
+++ Modules/LDAPObject.c 23 Mar 2006 21:48:33 -0000
|
||||
@@ -971,8 +971,16 @@
|
||||
if (pmsg == NULL) {
|
||||
retval = NULL;
|
||||
} else {
|
||||
- retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid,
|
||||
- pyctrls ? pyctrls : PyList_New(0));
|
||||
+ if (pyctrls != NULL) {
|
||||
+ retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid,
|
||||
+ pyctrls);
|
||||
+ } else {
|
||||
+ PyObject *pNewList = PyList_New(0);
|
||||
+ retval = Py_BuildValue("(OOiO)", result_str, pmsg, res_msgid,
|
||||
+ pNewList);
|
||||
+ Py_DECREF(pNewList);
|
||||
+ }
|
||||
+
|
||||
if (pmsg != Py_None) {
|
||||
Py_DECREF(pmsg);
|
||||
}
|
Loading…
Reference in New Issue
Block a user