From 8f394016c225d3970823f78ac4c9bc9912939a44 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Fri, 20 Jan 2023 22:06:13 -0700 Subject: [PATCH] Add cstdint patch to fix FTBFS. --- stp-cstdint.patch | 10 ++++++++++ stp.spec | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 stp-cstdint.patch diff --git a/stp-cstdint.patch b/stp-cstdint.patch new file mode 100644 index 0000000..aee9616 --- /dev/null +++ b/stp-cstdint.patch @@ -0,0 +1,10 @@ +--- stp-2.3.3/include/stp/AST/ASTNode.h.orig 2019-03-02 07:26:01.000000000 -0700 ++++ stp-2.3.3/include/stp/AST/ASTNode.h 2023-01-20 22:03:09.891362898 -0700 +@@ -28,6 +28,7 @@ THE SOFTWARE. + #include "stp/Util/Attributes.h" + #include "ASTInternal.h" + #include "stp/Globals/Globals.h" ++#include + + namespace stp + { diff --git a/stp.spec b/stp.spec index adf95f7..594ad7c 100644 --- a/stp.spec +++ b/stp.spec @@ -18,6 +18,8 @@ Patch1: %{name}-private-libs.patch # Distutils has been deprecated. Use sysconfig instead. # https://github.com/stp/stp/pull/450 Patch2: %{name}-distutils.patch +# Add a missing include for cstdint +Patch3: %{name}-cstdint.patch BuildRequires: bison BuildRequires: boost-devel @@ -125,6 +127,9 @@ mv %{buildroot}%{_prefix}/man %{buildroot}%{_datadir}/man %{python3_sitelib}/%{name}/ %changelog +* Sat Jan 21 2023 Jerry James - 2.3.3-24 +- Add cstdint patch to fix FTBFS + * Sat Jan 21 2023 Fedora Release Engineering - 2.3.3-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild