summaryrefslogtreecommitdiffstats
path: root/arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-09-20 21:13:29 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-09-29 09:27:55 +0200
commit137ab75fb86696cbffd1cee23f4d90c4ac2973c7 (patch)
tree95020a8981185de31ebad3d95015356bee9a1b50 /arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff
parentf6a3277957fc0e5d0a00dde49d7e7eee72b6d750 (diff)
downloadtde-packaging-137ab75fb86696cbffd1cee23f4d90c4ac2973c7.tar.gz
tde-packaging-137ab75fb86696cbffd1cee23f4d90c4ac2973c7.zip
ArchLinux: Update tdepim, tdemultimedia, tdenetwork, tdegraphics and tdegames to R14.0.10.
Backport patches to tdegraphics to resolve FTBFS. Switch tdemultimedia to CMake. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 6beb7211c30f0b4feeb7e487dc25899507ae72b3)
Diffstat (limited to 'arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff')
-rw-r--r--arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff b/arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff
new file mode 100644
index 000000000..1565ee3f2
--- /dev/null
+++ b/arch/tde-base/tde-tdegraphics/bp000-d19460fd6e.diff
@@ -0,0 +1,33 @@
+From d19460fd6eae693832e4c5160aa2071bf71062f6 Mon Sep 17 00:00:00 2001
+From: Mavridis Philippe <mavridisf@gmail.com>
+Date: Thu, 8 Jul 2021 23:14:10 +0300
+Subject: Corrected boolean usage to conform with C++17 standard.
+
+This resolves a FTBFS on some systems.
+
+Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
+---
+ kfaxview/libkfaximage/faxinit.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/kfaxview/libkfaximage/faxinit.cpp b/kfaxview/libkfaximage/faxinit.cpp
+index aa6166aa..fa4517d2 100644
+--- a/kfaxview/libkfaximage/faxinit.cpp
++++ b/kfaxview/libkfaximage/faxinit.cpp
+@@ -319,11 +319,11 @@ FillTable(struct tabent *T, int Size, const struct proto *P, int State)
+ void
+ fax_init_tables(void)
+ {
+- static bool already_initialized = 0;
++ static bool already_initialized = false;
+ if (already_initialized)
+ return;
+
+- ++already_initialized;
++ already_initialized = true;
+
+ FillTable(MainTable, 7, Pass, S_Pass);
+ FillTable(MainTable, 7, Horiz, S_Horiz);
+--
+cgit v1.2.1
+