Skip to content

Commit 769793c

Browse files
authored
Merge pull request Homebrew#218719 from Homebrew/bump-rtags-2.41
rtags 2.41
2 parents 1102959 + 7e10e58 commit 769793c

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

.github/autobump.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3069,6 +3069,7 @@ rswift
30693069
rsync
30703070
rsyncy
30713071
rsyslog
3072+
rtags
30723073
rtl_433
30733074
rtorrent
30743075
rubberband

Formula/r/rtags.rb

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,12 @@ class Rtags < Formula
22
desc "Source code cross-referencer like ctags with a clang frontend"
33
homepage "https://github.com/Andersbakken/rtags"
44
license "GPL-3.0-or-later"
5-
revision 3
65
head "https://github.com/Andersbakken/rtags.git", branch: "master"
76

87
stable do
98
url "https://github.com/Andersbakken/rtags.git",
10-
tag: "v2.40",
11-
revision: "8597d6d2adbe11570dab55629ef9a684304ec3cd"
12-
13-
# fix compiling with gcc 11
14-
patch do
15-
url "https://github.com/Andersbakken/rct/commit/31347b4ff91fa6ea68035e0e7b88ed0330016d7f.patch?full_index=1"
16-
sha256 "9324dded21b6796e218b0f531ade00cc3b2ef725e00e8296c497db3de47638df"
17-
directory "src/rct"
18-
end
9+
tag: "v2.41",
10+
revision: "39339388256df662d0084b4a094d03e52748f9e8"
1911

2012
# fix lisp files, remove on release 2.42
2113
patch do
@@ -41,13 +33,13 @@ class Rtags < Formula
4133
end
4234

4335
bottle do
44-
sha256 cellar: :any, arm64_sequoia: "7cbafd2962f2d48c3c6039a629551f7d6622ce4ac98f59bf77720bb8ae77dd74"
45-
sha256 cellar: :any, arm64_sonoma: "bb206bede3bd73fbfef3fc8cbe547f9b8dbe00a788f34470e6fdd1a4e1f3448e"
46-
sha256 cellar: :any, arm64_ventura: "2179553e6e583a3f45e0473cab00aa2475a663b6a766b3e57eca70b74bcbd174"
47-
sha256 cellar: :any, sonoma: "8dba70a31d59037e8291637367451f6d51c32176e0f49165a921a43dee6737dd"
48-
sha256 cellar: :any, ventura: "7443ddcafb2ec4841d5b86893a0b7935f47615fc6e8eb173705e94564a08b097"
49-
sha256 arm64_linux: "c3ba30f3d73089d09b6dc7aead7db71c6adb589595e699707333e647f9705a71"
50-
sha256 x86_64_linux: "16ce83f28f301d27a3d8a127c5eed780b0e974014c075123147a2e14727b793a"
36+
sha256 cellar: :any, arm64_sequoia: "8fd30b2507239fc7ff15cca941e00f105e8a6724b032a591b1b0d3812699d3cf"
37+
sha256 cellar: :any, arm64_sonoma: "4bd18ea58c0d2161ea6b22209ae085719b21e4db751ab60f4a46911e770affd0"
38+
sha256 cellar: :any, arm64_ventura: "8a8fca81684ec7d9ddb05633c1f99b00f99f9222a6584bb494c52fa0ac0abe53"
39+
sha256 cellar: :any, sonoma: "fce14066a6e4c0345b2a7e5ddf8e03be8f6d577b558d1c887a82afcfcb3a64e8"
40+
sha256 cellar: :any, ventura: "719ad5a7d65ec34fbe8b28e3fe3c83c06a9a4e4d164da471f6658927d1a45b7c"
41+
sha256 arm64_linux: "a044de5d959c2c7e6e1976922eb3488ab2d5a04069f2400c89b739fad39aad7c"
42+
sha256 x86_64_linux: "606bea1ce1da5dfbddc609b1f5d80fb36b4edc7e5aa26351504b0bebb4edde74"
5143
end
5244

5345
depends_on "cmake" => :build
@@ -58,7 +50,10 @@ class Rtags < Formula
5850
uses_from_macos "zlib"
5951

6052
def install
61-
system "cmake", "-S", ".", "-B", "build", "-DRTAGS_NO_BUILD_CLANG=ON", *std_cmake_args
53+
# Fix to add backward compatibility for CMake version 4
54+
# `master` and `v2.41` are differ too much and so patch is not working
55+
# PR ref: https://github.com/Andersbakken/rtags/pull/1443
56+
system "cmake", "-S", ".", "-B", "build", "-DCMAKE_POLICY_VERSION_MINIMUM=3.5", *std_cmake_args
6257
system "cmake", "--build", "build"
6358
system "cmake", "--install", "build"
6459
end

0 commit comments

Comments
 (0)