[packages/kde4-calligra] attempt to fix build by using constant that fits int

atler atler at pld-linux.org
Sat Jul 4 16:53:06 CEST 2020


commit b7845e3440f85e6202053d574a299b55f3131bd3
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jul 4 16:52:04 2020 +0200

    attempt to fix build by using constant that fits int

 build.patch        | 11 +++++++++++
 kde4-calligra.spec |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/kde4-calligra.spec b/kde4-calligra.spec
index f92e33d..f25eec0 100644
--- a/kde4-calligra.spec
+++ b/kde4-calligra.spec
@@ -37,6 +37,7 @@ Patch0:		eigen3.patch
 Patch1:		%{orgname}-exiv2.patch
 Patch2:		%{orgname}-icu.patch
 Patch3:		%{orgname}-boost.patch
+Patch4:		build.patch
 URL:		http://www.calligra-suite.org/
 BuildRequires:	GraphicsMagick-devel
 BuildRequires:	OpenColorIO-devel
@@ -380,6 +381,7 @@ the Plasma Active platform.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 install -d build
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..e731c35
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- calligra-2.9.11/braindump/plugins/stateshape/StatesModel.h.orig	2020-07-04 16:49:52.191491187 +0200
++++ calligra-2.9.11/braindump/plugins/stateshape/StatesModel.h	2020-07-04 16:48:53.161831935 +0200
+@@ -30,7 +30,7 @@
+ {
+ public:
+     enum Role {
+-        SortRole = 0xF14eb9a0
++        SortRole = 0x14eb9a0
+     };
+ public:
+     StatesModel();
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-calligra.git/commitdiff/b7845e3440f85e6202053d574a299b55f3131bd3



More information about the pld-cvs-commit mailing list