diff options
author | Matteo Bernardini | 2020-01-12 12:08:26 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-01-12 12:08:26 +0100 |
commit | 0c6fe367a7009c5bbabc3071f8cccc77a37859eb (patch) | |
tree | ac54688f55ad545306ad664b6b58a85e87de6768 /development/qt-creator | |
parent | 3066e0530b82d92e7856c44afb715f6fae0a5df0 (diff) | |
download | slackbuilds-0c6fe367a7009c5bbabc3071f8cccc77a37859eb.tar.gz |
20200112.1 global branch merge.current-20200112.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/qt-creator')
-rw-r--r-- | development/qt-creator/clang-9.patch | 11 | ||||
-rw-r--r-- | development/qt-creator/qt-creator.SlackBuild | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/development/qt-creator/clang-9.patch b/development/qt-creator/clang-9.patch new file mode 100644 index 0000000000..d3e18b6a04 --- /dev/null +++ b/development/qt-creator/clang-9.patch @@ -0,0 +1,11 @@ +--- a/src/plugins/clangformat/clangformatutils.cpp 2019-09-23 22:09:30.394472064 +1000 ++++ a/src/plugins/clangformat/clangformatutils.cpp 2019-09-23 22:11:54.426645315 +1000 +@@ -60,7 +60,7 @@ + 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; diff --git a/development/qt-creator/qt-creator.SlackBuild b/development/qt-creator/qt-creator.SlackBuild index e088f2281f..2b35b37e97 100644 --- a/development/qt-creator/qt-creator.SlackBuild +++ b/development/qt-creator/qt-creator.SlackBuild @@ -94,6 +94,8 @@ fi patch -p0 < $CWD/remove-w-error-unguarded-availability-new.patch +patch -p1 < $CWD/clang-9.patch + # Fix for https://lists.qt-project.org/pipermail/qt-creator/2019-May/008050.html QMAKE_LFLAGS="$QMAKE_LFLAGS -L/usr/lib$LIBDIRSUFFIX" |