From 5f5c91aeb06c28f4c0d4b3e6daec92823c522fc8 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Sat, 29 Jun 2024 18:51:27 +0000 Subject: Adding metadata --- .../pyalsa/files/pyalsa-1.2.7-python3.12.patch | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 dev-python/pyalsa/files/pyalsa-1.2.7-python3.12.patch (limited to 'dev-python/pyalsa/files/pyalsa-1.2.7-python3.12.patch') diff --git a/dev-python/pyalsa/files/pyalsa-1.2.7-python3.12.patch b/dev-python/pyalsa/files/pyalsa-1.2.7-python3.12.patch deleted file mode 100644 index f27a7714a986..000000000000 --- a/dev-python/pyalsa/files/pyalsa-1.2.7-python3.12.patch +++ /dev/null @@ -1,34 +0,0 @@ -https://github.com/alsa-project/alsa-python/issues/9 -https://github.com/alsa-project/alsa-python/pull/10 -https://github.com/alsa-project/alsa-python/commit/cb75f5cdba0a29bdfa43eb56285da4917d2941a9 - -From cb75f5cdba0a29bdfa43eb56285da4917d2941a9 Mon Sep 17 00:00:00 2001 -From: Francesco Ceruti -Date: Sat, 4 May 2024 22:16:16 +0200 -Subject: [PATCH] alsaseq: fix seg. fault when accessing `ConstantObject` extra - -Closes: https://github.com/alsa-project/alsa-python/pull/10 -Signed-off-by: Francesco Ceruti -Signed-off-by: Jaroslav Kysela ---- a/pyalsa/alsaseq.c -+++ b/pyalsa/alsaseq.c -@@ -353,18 +353,11 @@ typedef struct { - } ConstantObject; - - #if PY_MAJOR_VERSION < 3 --/* PyInt is fixed size in Python 2 */ - # define CONST_VALUE(x) PyInt_AsLong((PyObject *)x) --# define CONST_EXTRA(x) (&(x->extra)) - #else --/* PyLong is variable size in Python 3 */ - # define CONST_VALUE(x) PyLong_AsLong((PyObject *)x) --# define CONST_EXTRA(x) \ -- ((ConstantExtraFields *)( \ -- ((intptr_t)(&x->extra)) \ -- + abs(Py_SIZE(&x->base)) * Py_TYPE(x)->tp_itemsize \ -- )) - #endif -+# define CONST_EXTRA(x) (&(x->extra)) - - /** alsaseq.Constant type (initialized later...) */ - static PyTypeObject ConstantType; -- cgit v1.3