[packages/libmspub] add upstream patch for missing include

atler atler at pld-linux.org
Wed Jan 14 14:32:49 CET 2026


commit 9b60f5229f7b3b47364f23b9c3ac4ef902529305
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 14 14:32:20 2026 +0100

    add upstream patch for missing include

 includes.patch | 26 ++++++++++++++++++++++++++
 libmspub.spec  |  2 ++
 2 files changed, 28 insertions(+)
---
diff --git a/libmspub.spec b/libmspub.spec
index 518a5fb..d73634e 100644
--- a/libmspub.spec
+++ b/libmspub.spec
@@ -13,6 +13,7 @@ Source0:	http://dev-www.libreoffice.org/src/libmspub/%{name}-%{version}.tar.xz
 # Source0-md5:	ac6fa9c1c05ece27c58c05e11786fd3a
 Patch0:		%{name}-types.patch
 Patch1:		icu76.patch
+Patch2:		includes.patch
 URL:		http://www.freedesktop.org/wiki/Software/libmspub
 BuildRequires:	autoconf >= 2.65
 BuildRequires:	automake >= 1:1.11
@@ -100,6 +101,7 @@ formatów. Aktualnie obsługiwane są XHTML i raw.
 %setup -q
 %patch -P 0 -p1
 %patch -P 1 -p1
+%patch -P 2 -p1
 
 %build
 %{__libtoolize}
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..2c41612
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,26 @@
+From 9781991ca5dcf1d13016615e2fc1730cf7e22750 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <mail at heiko-becker.de>
+Date: Fri, 02 May 2025 21:42:42 +0200
+Subject: [PATCH] Add missing include
+
+int64_t is defined there. Fixes building with gcc 15.
+
+Change-Id: Ibd1260e7d0034b11e6ef46d1de62266800460921
+Reviewed-on: https://gerrit.libreoffice.org/c/libmspub/+/184917
+Tested-by: Michael Stahl <michael.stahl at allotropia.de>
+Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
+---
+
+diff --git a/src/lib/Coordinate.h b/src/lib/Coordinate.h
+index 4471f86..bac57a1 100644
+--- a/src/lib/Coordinate.h
++++ b/src/lib/Coordinate.h
+@@ -10,6 +10,8 @@
+ #ifndef INCLUDED_COORDINATE_H
+ #define INCLUDED_COORDINATE_H
+ 
++#include <cstdint>
++
+ #include "MSPUBConstants.h"
+ 
+ namespace libmspub
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmspub.git/commitdiff/9b60f5229f7b3b47364f23b9c3ac4ef902529305



More information about the pld-cvs-commit mailing list