[packages/graphite2] - GCC 15 fix

hawk hawk at pld-linux.org
Fri Aug 15 17:43:28 CEST 2025


commit 18f69b8fb5c48c7a4dc505c07d009b31d5928e5a
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Fri Aug 15 17:43:04 2025 +0200

    - GCC 15 fix

 gcc15.patch    | 11 +++++++++++
 graphite2.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/graphite2.spec b/graphite2.spec
index b20e03a..40c6016 100644
--- a/graphite2.spec
+++ b/graphite2.spec
@@ -20,6 +20,7 @@ Source0:	https://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tgz
 Patch0:		%{name}-fix_wrong_linker_opts.patch
 Patch1:		%{name}-includes-libs-perl.patch
 Patch2:		%{name}-python.patch
+Patch3:		gcc15.patch
 URL:		https://graphite.sil.org/
 BuildRequires:	cmake >= 2.8.0
 BuildRequires:	libstdc++-devel
@@ -101,6 +102,7 @@ Interfejs Pythona 3 do biblioteki graphite2
 %patch -P 0 -p1
 %patch -P 1 -p1
 %patch -P 2 -p1
+%patch -P 3 -p1
 
 %build
 install -d build
diff --git a/gcc15.patch b/gcc15.patch
new file mode 100644
index 0000000..dab230b
--- /dev/null
+++ b/gcc15.patch
@@ -0,0 +1,11 @@
+diff -urN graphite2-1.3.14.orig/tests/featuremap/featuremaptest.cpp graphite2-1.3.14/tests/featuremap/featuremaptest.cpp
+--- graphite2-1.3.14.orig/tests/featuremap/featuremaptest.cpp	2020-04-01 08:23:13.000000000 +0530
++++ graphite2-1.3.14/tests/featuremap/featuremaptest.cpp	2025-01-23 16:27:12.648804481 +0530
+@@ -25,6 +25,7 @@
+ #include <iostream>
+ #include <map>
+ #include <memory>
++#include <stdint.h>
+ #include <string>
+ #include <vector>
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/graphite2.git/commitdiff/18f69b8fb5c48c7a4dc505c07d009b31d5928e5a



More information about the pld-cvs-commit mailing list