diff --git a/OpenIPMI-py313compat.patch b/OpenIPMI-py313compat.patch new file mode 100644 index 0000000..60845b4 --- /dev/null +++ b/OpenIPMI-py313compat.patch @@ -0,0 +1,12 @@ +diff -ur OpenIPMI-2.0.34/swig/OpenIPMI.i OpenIPMI-2.0.34-python/swig/OpenIPMI.i +--- OpenIPMI-2.0.34/swig/OpenIPMI.i 2024-02-11 19:52:41.555777279 +0100 ++++ OpenIPMI-2.0.34-python/swig/OpenIPMI.i 2024-02-11 20:11:59.061132776 +0100 +@@ -38,6 +38,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_GETADDRINFO + #include +Only in OpenIPMI-2.0.34-python/swig: OpenIPMI.i~ diff --git a/OpenIPMI.spec b/OpenIPMI.spec index 8edb0de..1aedd17 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -15,6 +15,7 @@ Patch1: 0001-man.patch Patch2: OpenIPMI-ax-python.patch Patch3: OpenIPMI-sysconfig.patch Patch4: OpenIPMI-c99.patch +Patch5: OpenIPMI-py313compat.patch BuildRequires: make BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel