fix clang build error
This commit is contained in:
parent
f094dc27c0
commit
7f690379cd
12
0003-fix-clang.patch
Normal file
12
0003-fix-clang.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -u -r kylin-usb-creator-1.1.2/UIControl/src/include/menumodule.cpp kylin-usb-creator-1.1.2/UIControl/src/include/menumodule.cpp
|
||||
--- kylin-usb-creator-1.1.2/UIControl/src/include/menumodule.cpp 2022-03-17 10:32:06.000000000 +0800
|
||||
+++ kylin-usb-creator-1.1.2/UIControl/src/include/menumodule.cpp 2023-08-31 11:02:28.000000000 +0800
|
||||
@@ -17,7 +17,7 @@
|
||||
*/
|
||||
#include "menumodule.h"
|
||||
#include "xatom-helper.h"
|
||||
-menuModule::menuModule(QWidget *parent = nullptr) : QWidget(parent)
|
||||
+menuModule::menuModule(QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
init();
|
||||
}
|
||||
@ -1,12 +1,13 @@
|
||||
Name: kylin-usb-creator
|
||||
Version: 1.1.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: kylin-usb-creator
|
||||
License: GPL-3+
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch01: 0001-fix-version-of-kylin-usb-creator.patch
|
||||
Patch02: 0002-add-kylin-user-guide-of-kylin-usb-creator.patch
|
||||
Patch03: 0003-fix-clang.patch
|
||||
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qtscript-devel
|
||||
@ -27,6 +28,7 @@ BuildRequires: ukui-interface
|
||||
%setup -q
|
||||
%patch01 -p1
|
||||
%patch02 -p1
|
||||
%patch03 -p1
|
||||
|
||||
%build
|
||||
%{qmake_qt5} %{_qt5_qmake_flags} CONFIG+=enable-by-default kylin-usb-creator.pro
|
||||
@ -62,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 31 2023 yoo <sunyuechi@iscas.ac.cn> - 1.1.2-2
|
||||
- fix clang build error
|
||||
|
||||
* Mon May 08 2023 peijiankang <peijiankang@kylinos.cn> - 1.1.2-1
|
||||
- update to upstream version 1.1.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user