qtcreator: patch and rebuild for clang-9.0.0
[ci skip]
This commit is contained in:
parent
34cd94978e
commit
a8cbaa51ee
2 changed files with 12 additions and 1 deletions
11
srcpkgs/qtcreator/patches/clang9.patch
Normal file
11
srcpkgs/qtcreator/patches/clang9.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/plugins/clangformat/clangformatutils.cpp
|
||||
+++ src/plugins/clangformat/clangformatutils.cpp
|
||||
@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcStyle()
|
||||
style.AllowShortBlocksOnASingleLine = false;
|
||||
style.AllowShortCaseLabelsOnASingleLine = false;
|
||||
style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline;
|
||||
- style.AllowShortIfStatementsOnASingleLine = false;
|
||||
+ style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never;
|
||||
style.AllowShortLoopsOnASingleLine = false;
|
||||
style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None;
|
||||
style.AlwaysBreakBeforeMultilineStrings = false;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'qtcreator'
|
||||
pkgname=qtcreator
|
||||
version=4.9.2
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc="qt-creator-opensource-src-${version}"
|
||||
build_style=qmake
|
||||
make_install_args="INSTALL_ROOT=\${DESTDIR}/usr"
|
||||
|
|
Loading…
Reference in a new issue