package/libsigrokdecode: fix build with python 3.9
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 5 Nov 2020 17:46:23 +0000 (18:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 6 Nov 2020 07:15:20 +0000 (08:15 +0100)
commit46aab84c6fa1c242b304cbd9cd79a7fd94f7a31a
treec07700320786d1390a7d4f17d8885a4bb2d7098c
parent5f83c87abf2454a342ce8d99a0d908b844e7fcda
package/libsigrokdecode: fix build with python 3.9

This will fix the following build failure with python 3.9 and
sigrok-cli:

/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libsigrokdecode.so: undefined reference to `PyList_Insert'

Fixes:
 - http://autobuild.buildroot.org/results/cc6447b926f8223c68d0086428d29a037b18252d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch [new file with mode: 0644]
package/libsigrokdecode/libsigrokdecode.mk