From 7c545a919a853d2a4a99e794c14c1caf49d5a546 Mon Sep 17 00:00:00 2001 From: s Date: Tue, 20 Jun 2023 21:19:11 +0800 Subject: [PATCH] fix clang build error --- 0002-fix-clang.patch | 11 +++++++++++ deepin-turbo.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 0002-fix-clang.patch diff --git a/0002-fix-clang.patch b/0002-fix-clang.patch new file mode 100644 index 0000000..6d93343 --- /dev/null +++ b/0002-fix-clang.patch @@ -0,0 +1,11 @@ +diff -u -r deepin-turbo-0.0.3/src/invoker/invoker.c deepin-turbo-0.0.3/src/invoker/invoker.c +--- deepin-turbo-0.0.3/src/invoker/invoker.c 2018-10-13 23:44:23.000000000 +0800 ++++ deepin-turbo-0.0.3/src/invoker/invoker.c 2023-06-18 15:49:22.000000000 +0800 +@@ -468,7 +468,6 @@ + } else { + info("Failed to connect to the DBus session bus: %s", error.message); + dbus_error_free(&error); +- return 1; + } + } + diff --git a/deepin-turbo.spec b/deepin-turbo.spec index 8a203fe..58f9a2e 100644 --- a/deepin-turbo.spec +++ b/deepin-turbo.spec @@ -1,7 +1,7 @@ %bcond_with check Name: deepin-turbo Version: 0.0.3 -Release: 2 +Release: 3 Summary: deepin-trubo is a deepin project that derives from Applauncherd. License: GPLv3 @@ -9,6 +9,7 @@ URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-turbo/ Source0: %{name}-%{version}.orig.tar.xz Patch0: 0001-Modify-program-path.patch +Patch1: 0002-fix-clang.patch BuildRequires: cmake BuildRequires: qt5-qtbase-devel @@ -53,6 +54,9 @@ mv %{?buildroot}/usr/local/include/%{name}/ %{?buildroot}%{_includedir}/ %changelog +* Tue Jun 20 2023 yoo - 0.0.3-3 +- fix clang build error + * Mon Jun 07 2021 weidong - 0.0.3-2 - Modify program path