summaryrefslogtreecommitdiffstats
path: root/development/uncrustify/uncrustify.SlackBuild
diff options
context:
space:
mode:
author Zhu Qun-Ying <zhu.qunying@gmail.com>2019-12-17 14:59:49 -0800
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-21 11:00:48 +0700
commit39c44c274c0ec5a293e18f61b9a4da2da6bd0e4e (patch)
tree1e5cccf09bf6877c143a1dd921184cb20030abfa /development/uncrustify/uncrustify.SlackBuild
parent25cc6ab6c6878c0dd30348610fa05149d8c73a04 (diff)
downloadslackbuilds-39c44c274c0ec5a293e18f61b9a4da2da6bd0e4e.tar.gz
slackbuilds-39c44c274c0ec5a293e18f61b9a4da2da6bd0e4e.tar.xz
development/uncrustify fix a regression in 0.70.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/uncrustify/uncrustify.SlackBuild')
-rw-r--r--development/uncrustify/uncrustify.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/development/uncrustify/uncrustify.SlackBuild b/development/uncrustify/uncrustify.SlackBuild
index d10882bd5d..3695cc75b8 100644
--- a/development/uncrustify/uncrustify.SlackBuild
+++ b/development/uncrustify/uncrustify.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=uncrustify
VERSION=${VERSION:-0.70.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -46,7 +46,7 @@ find -L . \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
+patch -p1 < $CWD/nl_func_leave_one_liners.patch
mkdir -p build
cd build
cmake \