git: 407330f44b4b - main - sysutils/swtpm: Fix build with python-3.11

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sat, 03 Feb 2024 00:59:08 UTC
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=407330f44b4b03403f68ffe693674bf08b06b976

commit 407330f44b4b03403f68ffe693674bf08b06b976
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-02-03 00:18:02 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-02-03 00:58:29 +0000

    sysutils/swtpm: Fix build with python-3.11
    
    PR:             276781
    Reported by:    wen@
    Approved by:    maintainer
---
 sysutils/swtpm/files/patch-configure.ac | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sysutils/swtpm/files/patch-configure.ac b/sysutils/swtpm/files/patch-configure.ac
new file mode 100644
index 000000000000..44887f58ccd0
--- /dev/null
+++ b/sysutils/swtpm/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig	2024-02-02 13:37:42 UTC
++++ configure.ac
+@@ -409,8 +409,6 @@ fi
+ 	AC_MSG_ERROR([cp is required])
+ fi
+ 
+-AM_PATH_PYTHON([3.3])
+-
+ AC_ARG_ENABLE([hardening],
+   AS_HELP_STRING([--disable-hardening], [Disable hardening flags]))
+