diff --git a/development/rtags/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gz b/development/rtags/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gz new file mode 100644 index 0000000000..39805b3c34 Binary files /dev/null and b/development/rtags/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gz differ diff --git a/development/rtags/rtags.SlackBuild b/development/rtags/rtags.SlackBuild index 646b8932f6..24ccd4171b 100644 --- a/development/rtags/rtags.SlackBuild +++ b/development/rtags/rtags.SlackBuild @@ -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 \