forked from pool/python-nss
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
23 lines
579 B
Diff
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;
|