[packages/freetdi-gala] - added includes patch (missing header detected by gcc 13), noarch

qboosh qboosh at pld-linux.org
Thu May 30 22:34:08 CEST 2024


commit 75d0f569bdbad9a43ea9060b4c4331215f8802fa
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu May 30 22:30:38 2024 +0200

    - added includes patch (missing header detected by gcc 13), noarch

 freetdi-gala.spec   |  3 +++
 gala-includes.patch | 10 ++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/freetdi-gala.spec b/freetdi-gala.spec
index 0e395d3..0d2d304 100644
--- a/freetdi-gala.spec
+++ b/freetdi-gala.spec
@@ -15,11 +15,13 @@ Source0:	https://github.com/freetdi/gala/archive/%{version}/gala-%{version}.tar.
 # Source0-md5:	374877cb2a2a3ad17c801f835b55a9cf
 Patch0:		gala-int128.patch
 Patch1:		gala-boost.patch
+Patch2:		gala-includes.patch
 URL:		https://github.com/freetdi/gala
 %if %{with tests}
 BuildRequires:	boost-devel
 BuildRequires:	libstdc++-devel >= 6:4.7
 %endif
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -52,6 +54,7 @@ danych, mając do nich pełny dostęp - na własną odpowiedzialność.
 %setup -q -n gala-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # not autoconf configure
diff --git a/gala-includes.patch b/gala-includes.patch
new file mode 100644
index 0000000..c48962a
--- /dev/null
+++ b/gala-includes.patch
@@ -0,0 +1,10 @@
+--- gala-1/trace.h.orig	2021-06-14 14:43:42.000000000 +0200
++++ gala-1/trace.h	2024-05-30 22:02:31.715399831 +0200
+@@ -23,6 +23,7 @@
+ //    DO_TRACE to trace program flow
+ //
+ //
++#include <cstdint>
+ #include <iostream>
+ #include <vector>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freetdi-gala.git/commitdiff/75d0f569bdbad9a43ea9060b4c4331215f8802fa



More information about the pld-cvs-commit mailing list