Date: Sun, 26 Feb 2023 11:27:30 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269833] archivers/py-lzma: fix build on 14.0 Message-ID: <bug-269833-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269833 Bug ID: 269833 Summary: archivers/py-lzma: fix build on 14.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sbz@FreeBSD.org Reporter: pi@FreeBSD.org Assignee: sbz@FreeBSD.org Flags: maintainer-feedback?(sbz@FreeBSD.org) Created attachment 240420 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D240420&action= =3Dedit patch Fails to build with error like this: cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DPY_SSIZE_T_CLEAN=3D1 -DWITH_COMPAT=3D1 -DPYLZMA_VERSION=3D0.5.0 -D_7ZIP_ST=3D1 -Isrc/sdk/C -I/usr/local/include/python3.9 -c src/pylzma/pylzma_aes.c -o build/temp.freebsd-14.0-CURRENT-amd64-cpython-39/src/pylzma/pylzma_aes.o src/pylzma/pylzma_aes.c:158:5: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'void *' [-Wint-conversion] NULL, /* printfunc tp_print; */ ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 1 error generated. A small patch seems to fix this. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269833-7788>