Bug#936483: Possible fix

2020-06-19 Thread Giovanni Mascellani
Il 19/06/20 16:51, Giovanni Mascellani ha scritto: > Basically I am replacing PyInt_Check with PyLong_Check, under the > assumption that "long" is the new name of "int" in Python 3. This > assumptions is corroborated by PyGame having this line in > /usr/include/python3.8m/pygame/pgcompat.h: > >

Bug#936483: Possible fix

2020-06-19 Thread Giovanni Mascellani
Hi, the attached patch seems to fix the FTBFS with Python 3. I am not completely sure it is the right fix, though, meaning that the package compiles with my patch, but I am not sure the logic is correct. Basically I am replacing PyInt_Check with PyLong_Check, under the assumption that "long" is t