aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-05-26 20:30:57 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-01 16:45:49 +0700
commitc84597179bf677851cefcbe2481f70ca0c35aa24 (patch)
tree953a4cf584cda789f6be9259a35c29b77b4c6369
parentba6f0951e1105c3b1c037f745ea9646228275c14 (diff)
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>
-rw-r--r--development/rtags/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gzbin0 -> 753 bytes
-rw-r--r--development/rtags/rtags.SlackBuild5
2 files changed, 4 insertions, 1 deletions
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 000000000000..39805b3c3461
--- /dev/null
+++ b/development/rtags/0017-Add-when-argument-to-define-obsolete-function-alias.patch.gz
Binary files differ
diff --git a/development/rtags/rtags.SlackBuild b/development/rtags/rtags.SlackBuild
index 646b8932f62b..24ccd4171ba0 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 \