14
0
Files
python-py-radix/58.patch
Sebastian Wagner 34e00b7ccf Accepting request 1181471 from home:glaubitz:branches:devel:languages:python
- Cherry-pick upstream patch to fix build with GCC 14
  * https://github.com/mjschultz/py-radix/pull/58.patch
- Switch package to modern Python Stack on SLE-15
  + Use Python 3.11 on SLE-15 by default
  + Drop support for older Python versions

OBS-URL: https://build.opensuse.org/request/show/1181471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=6
2024-06-18 11:58:26 +00:00

24 lines
725 B
Diff

From ce1da838d74031cfbd3c4dae3a28b9c3c11b5000 Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert@fedoraproject.org>
Date: Sun, 16 Jun 2024 19:03:43 +0200
Subject: [PATCH] Change incompatible pointer type from RadixNodeObject to
PyObject
---
radix/_radix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/radix/_radix.c b/radix/_radix.c
index 5a1b88f..5dcfc59 100644
--- a/radix/_radix.c
+++ b/radix/_radix.c
@@ -524,7 +524,7 @@ add_node_to_list(radix_node_t *node, void *arg)
PyObject *ret = arg;
if (node->data != NULL)
- PyList_Append(ret, ((RadixNodeObject *)node->data));
+ PyList_Append(ret, ((PyObject *)node->data));
return (0);
}