From: Michael Tremer Date: Sat, 22 Apr 2023 09:35:56 +0000 (+0000) Subject: _pakfire: Define PY_SSIZE_T_CLEAN X-Git-Tag: 0.9.29~194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e77b8975d855c9d02856e38346aeba65cbddf7db;p=people%2Fms%2Fpakfire.git _pakfire: Define PY_SSIZE_T_CLEAN https://docs.python.org/3/c-api/intro.html Signed-off-by: Michael Tremer --- diff --git a/src/_pakfire/archive.c b/src/_pakfire/archive.c index 012d57326..348334ba7 100644 --- a/src/_pakfire/archive.c +++ b/src/_pakfire/archive.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/file.c b/src/_pakfire/file.c index d2e4c2853..4d6ea3299 100644 --- a/src/_pakfire/file.c +++ b/src/_pakfire/file.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/key.c b/src/_pakfire/key.c index 90fa9ee7c..e7c6f52b3 100644 --- a/src/_pakfire/key.c +++ b/src/_pakfire/key.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/package.c b/src/_pakfire/package.c index 460d02818..1e7f48efb 100644 --- a/src/_pakfire/package.c +++ b/src/_pakfire/package.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/problem.c b/src/_pakfire/problem.c index 6d17ed9b2..323cc97b5 100644 --- a/src/_pakfire/problem.c +++ b/src/_pakfire/problem.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/progressbar.c b/src/_pakfire/progressbar.c index 70f90d067..35dc840e4 100644 --- a/src/_pakfire/progressbar.c +++ b/src/_pakfire/progressbar.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/repo.c b/src/_pakfire/repo.c index 4b7024bc9..497185ae5 100644 --- a/src/_pakfire/repo.c +++ b/src/_pakfire/repo.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/solution.c b/src/_pakfire/solution.c index b0315cd7e..4a3edd2bb 100644 --- a/src/_pakfire/solution.c +++ b/src/_pakfire/solution.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include diff --git a/src/_pakfire/util.c b/src/_pakfire/util.c index 3f2cc0ebb..f0842b101 100644 --- a/src/_pakfire/util.c +++ b/src/_pakfire/util.c @@ -18,6 +18,7 @@ # # #############################################################################*/ +#define PY_SSIZE_T_CLEAN #include #include