all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Alexandre Derumier <aderumier@odiso.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH frr 3/4] fix python3.9
Date: Sun, 22 Aug 2021 12:08:00 +0200	[thread overview]
Message-ID: <20210822100801.511588-4-aderumier@odiso.com> (raw)
In-Reply-To: <20210822100801.511588-1-aderumier@odiso.com>

---
 ...e-ax_python.m4-to-hardcode-python3.9.patch | 25 +++++++++++++++++++
 debian/patches/series                         |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 debian/patches/0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch

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
index 0000000..50073d9
--- /dev/null
+++ b/debian/patches/0001-Adjust-the-ax_python.m4-to-hardcode-python3.9.patch
@@ -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], [
diff --git a/debian/patches/series b/debian/patches/series
index 50b22cc..41c48c5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -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
-- 
2.30.2




  parent reply	other threads:[~2021-08-22 10:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-22 10:07 [pve-devel] [PATCH frr 0/4] revert frr to 7.4 Alexandre Derumier
2021-08-22 10:07 ` [pve-devel] [PATCH frr 1/4] Revert "update submodule to frr-7.5.1" Alexandre Derumier
2021-08-22 10:07 ` [pve-devel] [PATCH frr 2/4] Revert "update patches" Alexandre Derumier
2021-08-22 10:08 ` Alexandre Derumier [this message]
2021-08-22 10:08 ` [pve-devel] [PATCH frr 4/4] bump to 7.5.1-99+pve~really7.4 Alexandre Derumier
2021-08-24  8:47 ` [pve-devel] applied-series: Re: [PATCH frr 0/4] revert frr to 7.4 Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210822100801.511588-4-aderumier@odiso.com \
    --to=aderumier@odiso.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal