development/rtags: Fix build with latest emacs patch.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Clemons 2024-05-26 20:30:57 +09:00 committed by Willy Sudiarto Raharjo
parent ba6f0951e1
commit c84597179b
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rtags
VERSION=${VERSION:-2.38}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -78,6 +78,9 @@ tar xvf $CWD/rct-$RCT_VERSION.tar.gz
rmdir rct
mv rct-$RCT_VERSION rct
cd ..
# fix build with latest emacs in patches/
# thanks debian maintainers
zcat $CWD/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gz | patch -p1 || exit 1
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \