15
0
forked from pool/python-nss
Files
python-nss/fix-ftbfs-python3-12.patch
Matej Cepl 9f42255415 - Add fix-ftbfs-python3-12.patch from
https://bugs.debian.org/1055552 to fix FTBFS with Python 3.12
  (bsc#1219842).
- Update new-setuptools.patch to make setup.py more compatible
  with the current setuptools.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nss?expand=0&rev=18
2024-02-12 15:54:46 +00:00

23 lines
579 B
Diff

Description: fix ftbfs on python3.12
Author: Bo YU <tsu.yubo@gmail.com>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1055552
Forwarded: no, no suitable upstream to submit this
Last-Update: 2023-12-06
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
src/py_nspr_error.c | 2 ++
1 file changed, 2 insertions(+)
--- a/src/py_nspr_error.c
+++ b/src/py_nspr_error.c
@@ -20,6 +20,8 @@
#include "secerr.h"
#include "sslerr.h"
+#define HAVE_STDARG_PROTOTYPES 1
+
typedef struct {
PyBaseExceptionObject base;
PyObject *error_desc;