mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
canto-curses: rebuild for python3-3.13
This commit is contained in:
parent
23723b6b3d
commit
4467648095
2 changed files with 21 additions and 1 deletions
20
srcpkgs/canto-curses/patches/python-3.13.patch
Normal file
20
srcpkgs/canto-curses/patches/python-3.13.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
Taken from Arch. Cf.
|
||||||
|
|
||||||
|
https://gitlab.archlinux.org/archlinux/packaging/packages/canto-curses
|
||||||
|
|
||||||
|
diff --unified --recursive --text --new-file canto-curses-0.9.9.orig/canto_curses/widecurse.c canto-curses-0.9.9/canto_curses/widecurse.c
|
||||||
|
--- canto-curses-0.9.9.orig/canto_curses/widecurse.c 2024-11-19 06:55:26.703201292 +0100
|
||||||
|
+++ canto-curses-0.9.9/canto_curses/widecurse.c 2024-11-19 06:55:39.423227011 +0100
|
||||||
|
@@ -6,9 +6,12 @@
|
||||||
|
published by the Free Software Foundation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#define NCURSES_INTERNALS 1
|
||||||
|
#include <Python.h>
|
||||||
|
+#include <curses.h>
|
||||||
|
#include <py_curses.h>
|
||||||
|
#include <readline/readline.h>
|
||||||
|
+#include <wchar.h>
|
||||||
|
|
||||||
|
static PyObject *py_wcwidth(PyObject * self, PyObject * args)
|
||||||
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'canto-curses'
|
# Template file for 'canto-curses'
|
||||||
pkgname=canto-curses
|
pkgname=canto-curses
|
||||||
version=0.9.9
|
version=0.9.9
|
||||||
revision=10
|
revision=11
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_dirs="/usr/lib/canto/plugins"
|
pycompile_dirs="/usr/lib/canto/plugins"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
|
Loading…
Add table
Reference in a new issue