]> git.proxmox.com Git - frr.git/commitdiff
fix python3.9
authorAlexandre Derumier <aderumier@odiso.com>
Sun, 22 Aug 2021 10:08:00 +0000 (12:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Aug 2021 08:29:33 +0000 (10:29 +0200)
debian/patches/0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch b/debian/patches/0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch
new file mode 100644 (file)
index 0000000..50073d9
--- /dev/null
@@ -0,0 +1,25 @@
+From: =?utf-8?b?T25kxZllaiBTdXLDvQ==?= <ondrej@sury.org>
+Date: Sun, 7 Feb 2021 13:14:17 +0100
+Subject: Adjust the ax_python.m4 to hardcode python3.9
+
+---
+ m4/ax_python.m4 | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/m4/ax_python.m4 b/m4/ax_python.m4
+index 9f43ea0..815bf47 100644
+--- a/m4/ax_python.m4
++++ b/m4/ax_python.m4
+@@ -186,11 +186,7 @@ AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+       AC_MSG_RESULT([yes])
+       PYTHON_CFLAGS="`\"$pycfg\" --includes`"
+-      if test x"${py_ver}" = x"3.8" || test x"{py_ver}" = x"3.9"; then
+-        PYTHON_LIBS="`\"$pycfg\" --ldflags --embed`"
+-      else
+-        PYTHON_LIBS="`\"$pycfg\" --ldflags`"
+-      fi
++      PYTHON_LIBS="`\"$pycfg\" --ldflags --embed`"
+       AC_MSG_CHECKING([whether ${pycfg} provides a working build environment])
+       _FRR_PYTHON_DEVENV([$py_hex], [
index 50b22cc725f54afdcebb2b870a62309aaa86c539..41c48c53dc845ac0ee249e01435a8266700b99f5 100644 (file)
@@ -1,2 +1,3 @@
+0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch
 pve/0001-enable-bgp-daemon.patch
 pve/0002-bgpd-add-an-option-for-RT-auto-derivation-to-force-A.patch