fix clang build error

This commit is contained in:
s 2023-06-20 21:19:11 +08:00
parent 27d6c79545
commit 7c545a919a
2 changed files with 16 additions and 1 deletions

11
0002-fix-clang.patch Normal file
View File

@ -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;
}
}

View File

@ -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 <sunyuechi@iscas.ac.cn> - 0.0.3-3
- fix clang build error
* Mon Jun 07 2021 weidong <weidong@uniontech.com> - 0.0.3-2
- Modify program path