Package: pam-python / 1.0.6-1.1

Metadata

Package Version Patches format
pam-python 1.0.6-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
intersphinx localmapping.diff | (download)

doc/conf.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 do not require internet access during building.
 intersphinx want to fetch some mapping data, and was set up to use
 the Internet to find it.  Use a local file from python-doc instead to
 avoid violating Debian policy 4.9.
ftbfs 887750 4131599.patch | (download)

src/pam_python.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] fix null ptr check


fix function types.patch | (download)

src/pam_python.c | 30 15 + 15 - 0 !
1 file changed, 15 insertions(+), 15 deletions(-)

 [patch] fix build with -wcast-function-type -werror on gcc8

New versions of gcc8 will fail to build from source on Python
declarations because of the hairy cast we're doing there, example:

    pam_python.c:1355:19: error: cast between incompatible function types from 'PyObject * (*)(PyObject *, PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *, struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Werror=cast-function-type]

This fix comes form the upstream cpython implementation: