Add cstdint patch to fix FTBFS.

This commit is contained in:
Jerry James 2023-01-20 22:06:13 -07:00
parent 5d897d207d
commit 8f394016c2
2 changed files with 15 additions and 0 deletions

10
stp-cstdint.patch Normal file
View File

@ -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 <cstdint>
namespace stp
{

View File

@ -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 <loganjerry@gmail.com> - 2.3.3-24
- Add cstdint patch to fix FTBFS
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild