1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 04:35:13 +03:00
aports/testing/pypy-bootstrap/py2_unchecked-ioctl.py2patch
psykose b7b1f44cea
testing/pypy-bootstrap: rename from pypy-stage0
works around a bug in abuild where apk info --who-owns on the .so files
returns -stage0 (the package name of this bootstrap), which then adds it
to the depends of pypy, which makes it uninstallable as they cannot be
pulled in at the same time. like this, it will instead add
pypy-bootstrap, which will be resolved by itself.
2022-05-31 18:10:54 +02:00

11 lines
395 B
Text

--- ./Modules/fcntlmodule.c.orig
+++ ./Modules/fcntlmodule.c
@@ -118,7 +118,7 @@
int mutate_arg = 1;
char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */
- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl",
+ if (PyArg_ParseTuple(args, "O&Iw#|n:ioctl",
conv_descriptor, &fd, &code,
&str, &len, &mutate_arg)) {
char *arg;