summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-twisted
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-09-19 14:17:45 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-22 22:50:46 +0000
commit60d327c66570b770a18cd1b06526693241170a56 (patch)
tree9ca1ee8077fb4ce00197498b986635454eb08257 /meta-python/recipes-devtools/python/python3-twisted
parent0c4f3a3d8cf6caf7f9fd67e465e1e25ab8dcda40 (diff)
downloadmeta-openembedded-60d327c66570b770a18cd1b06526693241170a56.tar.gz
python-twisted: update version to 17.5.0
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-twisted')
-rw-r--r--meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch76
1 files changed, 0 insertions, 76 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch b/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch
deleted file mode 100644
index d4cf345541..0000000000
--- a/meta-python/recipes-devtools/python/python3-twisted/0001-initsendmsg-Return-NULL-on-error.patch
+++ /dev/null
@@ -1,76 +0,0 @@
1From 890d039f067d52a0ab77b561d40da13f0c135634 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 3 Aug 2017 11:24:43 -0700
4Subject: [PATCH] initsendmsg: Return NULL on error
5
6Fixes a clang error
7
8sendmsg.c:129:9: error: non-void function 'initsendmsg' should return a value [-Wreturn-type]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 twisted/python/sendmsg.c | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15diff --git a/twisted/python/sendmsg.c b/twisted/python/sendmsg.c
16index 9f2fd8c..9c080e1 100644
17--- a/twisted/python/sendmsg.c
18+++ b/twisted/python/sendmsg.c
19@@ -126,7 +126,7 @@ PyMODINIT_FUNC initsendmsg(void) {
20 module = Py_InitModule3("sendmsg", sendmsg_methods, sendmsg_doc);
21
22 if (!module) {
23- return;
24+ return NULL;
25 }
26
27 /*
28@@ -135,39 +135,39 @@ PyMODINIT_FUNC initsendmsg(void) {
29 */
30
31 if (-1 == PyModule_AddIntConstant(module, "SCM_RIGHTS", SCM_RIGHTS)) {
32- return;
33+ return NULL;
34 }
35
36
37 /* BSD, Darwin, Hurd */
38 #if defined(SCM_CREDS)
39 if (-1 == PyModule_AddIntConstant(module, "SCM_CREDS", SCM_CREDS)) {
40- return;
41+ return NULL;
42 }
43 #endif
44
45 /* Linux */
46 #if defined(SCM_CREDENTIALS)
47 if (-1 == PyModule_AddIntConstant(module, "SCM_CREDENTIALS", SCM_CREDENTIALS)) {
48- return;
49+ return NULL;
50 }
51 #endif
52
53 /* Apparently everywhere, but not standardized. */
54 #if defined(SCM_TIMESTAMP)
55 if (-1 == PyModule_AddIntConstant(module, "SCM_TIMESTAMP", SCM_TIMESTAMP)) {
56- return;
57+ return NULL;
58 }
59 #endif
60
61 module = PyImport_ImportModule("socket");
62 if (!module) {
63- return;
64+ return NULL;
65 }
66
67 sendmsg_socket_error = PyObject_GetAttrString(module, "error");
68 if (!sendmsg_socket_error) {
69- return;
70+ return NULL;
71 }
72 }
73
74--
752.13.4
76