]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.313.patch0
python3: Update to 3.6.3
[ipfire-3.x.git] / vim / patches / vim-7.3.313.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.313
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.313 (after 7.3.307)
11 Problem: One more warning when compiling with dynamic Python 3.
12 Solution: Change PySliceObject to PyObject.
13 Files: src/if_python3.c
14
15
16 *** ../vim-7.3.312/src/if_python3.c 2011-09-14 15:41:54.000000000 +0200
17 --- src/if_python3.c 2011-09-14 18:54:49.000000000 +0200
18 ***************
19 *** 194,200 ****
20 static int (*py3_PySys_SetObject)(char *, PyObject *);
21 static PyObject* (*py3_PyList_Append)(PyObject *, PyObject *);
22 static Py_ssize_t (*py3_PyList_Size)(PyObject *);
23 ! static int (*py3_PySlice_GetIndicesEx)(PySliceObject *r, Py_ssize_t length,
24 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength);
25 static PyObject* (*py3_PyErr_NoMemory)(void);
26 static void (*py3_Py_Finalize)(void);
27 --- 194,200 ----
28 static int (*py3_PySys_SetObject)(char *, PyObject *);
29 static PyObject* (*py3_PyList_Append)(PyObject *, PyObject *);
30 static Py_ssize_t (*py3_PyList_Size)(PyObject *);
31 ! static int (*py3_PySlice_GetIndicesEx)(PyObject *r, Py_ssize_t length,
32 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step, Py_ssize_t *slicelength);
33 static PyObject* (*py3_PyErr_NoMemory)(void);
34 static void (*py3_Py_Finalize)(void);
35 *** ../vim-7.3.312/src/version.c 2011-09-14 17:50:05.000000000 +0200
36 --- src/version.c 2011-09-14 18:56:03.000000000 +0200
37 ***************
38 *** 711,712 ****
39 --- 711,714 ----
40 { /* Add new patch number below this line */
41 + /**/
42 + 313,
43 /**/
44
45 --
46 All good vision statements are created by groups of people with bloated
47 bladders who would rather be doing anything else.
48 (Scott Adams - The Dilbert principle)
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\ an exciting new programming language -- http://www.Zimbu.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///