summaryrefslogtreecommitdiffstats
path: root/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-09-22 17:25:57 +0200
committerTDE Gitea <[email protected]>2021-09-29 06:38:41 +0000
commit08dc2d3a905752c1f405392c4f2e33ba577a9b8b (patch)
tree2e6f4dbd0bf48e8fe6bc4e41888253eef71d3f32 /arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff
parent9ef3d4a4b9fc3e366f4a169482997f5ce2fbdf4f (diff)
downloadtde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.tar.gz
tde-packaging-08dc2d3a905752c1f405392c4f2e33ba577a9b8b.zip
ArchLinux: Update remaining application in tde-extra to R14.0.10.
Switch amarok, kmplayer, ksplash-engine-moodin, tde-systemsettings, tdesudo and tdmtheme to CMake. Backport patches to tdesudo to resolve FTBFS. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff')
-rw-r--r--arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff b/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff
new file mode 100644
index 000000000..60bd6082c
--- /dev/null
+++ b/arch/tde-extra/tde-tdesudo/bp000-1136b8150f.diff
@@ -0,0 +1,31 @@
+From 1136b8150f58e909eaa094d991dcefa81b8f6a60 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= <[email protected]>
+Date: Tue, 11 May 2021 19:45:01 +0200
+Subject: Fix ftbfs on Fedora 34
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+error: ordered comparison of pointer with integer zero ('char*' and 'int')
+
+Signed-off-by: François Andriot <[email protected]>
+---
+ tdesudo/tdesudo.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tdesudo/tdesudo.cpp b/tdesudo/tdesudo.cpp
+index c255d0f..83158ab 100644
+--- a/tdesudo/tdesudo.cpp
++++ b/tdesudo/tdesudo.cpp
+@@ -205,7 +205,7 @@ TdeSudo::TdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
+ chmod(m_tmpname.ascii(),0644);
+
+ QCStringList output;
+- while (fgets(buf, 1024, f) > 0)
++ while (fgets(buf, 1024, f) != NULL)
+ output += buf;
+ if (pclose(f) < 0) {
+ kdError() << k_lineinfo << "Could not run xauth.\n";
+--
+cgit v1.2.1
+