From: Jan Palus Date: Sat, 4 Jul 2020 14:52:04 +0000 (+0200) Subject: attempt to fix build by using constant that fits int X-Git-Tag: auto/th/kde4-calligra-2.9.11-5~2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b7845e3440f85e6202053d574a299b55f3131bd3;p=packages%2Fkde4-calligra.git attempt to fix build by using constant that fits int --- 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(); 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