build: Make the build work on Debian 11 03/35203/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 2 Feb 2022 19:32:18 +0000 (19:32 +0000)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 7 Feb 2022 18:40:51 +0000 (18:40 +0000)
commita47203128ba6a9d840280377a8dd3a72888c3708
tree565a93b377e5a7f006b9749b3b3076faf884b7a8
parent688d276340b17f4449b9afe3838291fb8efa5f42
build: Make the build work on Debian 11

Debian 11 has some packages that have changed, and need adjustment.
Also - its default compiler is gcc 10, which, contrary to either gcc 8
or gcc 11 prints a bunch of warnings, which fails compilation.
And there is no gcc 11 package.

Therefore, use clang for this build.

Additionally, python 3.9 has exposed this issue:
https://bugs.python.org/issue42580

Therefore, make a local patch to scapy to tackle it.

Type: feature
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: I7b9c0f852ab97fe3c1feca3f22020ac0970ba3e2
Makefile
test/patches/scapy-2.4.3/issue42580.patch [new file with mode: 0644]