1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-06-05 22:19:21 +02:00

Get buildroot-external tree to reflect 2022.02.1

- Changes to the raspberypi board folder/structure
- Bump python related poackages and fixes to Python3.10
- Bump KF5 framewerk packages to 5.91
- Bump qtwebengine to 5.15.8
- Bump/Add/Fix all OVOS related packages
- Fixes all over the OpenVoiceOS structure for 2022.02.1
This commit is contained in:
j1nx
2022-05-12 10:46:41 +02:00
parent 2ebb462737
commit e84818f62e
382 changed files with 859 additions and 38843 deletions

View File

@ -0,0 +1,30 @@
From 2ee560056ec889ea7cd3ce1801b796b0939dd540 Mon Sep 17 00:00:00 2001
From: Derek Schmidt <skeh@is.nota.live>
Date: Tue, 14 Dec 2021 21:46:11 -0700
Subject: [PATCH] Use Py_ssize_t for tuple return on stream methods
---
src/_portaudiomodule.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/_portaudiomodule.c b/src/_portaudiomodule.c
index a5bfd60..ca678c2 100644
--- a/src/_portaudiomodule.c
+++ b/src/_portaudiomodule.c
@@ -25,6 +25,7 @@
*/
#include <stdio.h>
+#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "portaudio.h"
#include "_portaudiomodule.h"
@@ -1291,7 +1292,7 @@ int _stream_callback_cfunction(const void *input, void *output,
PyObject *py_status_flags = PyLong_FromUnsignedLong(statusFlags);
PyObject *py_input_data = Py_None;
const char *pData;
- unsigned output_len;
+ Py_ssize_t output_len;
PyObject *py_result;
if (input) {