Skip to content

Commit

Permalink
Merge pull request #166950 from Homebrew/bump-libobjc2-2.2.1
Browse files Browse the repository at this point in the history
libobjc2 2.2.1
  • Loading branch information
BrewTestBot committed Mar 23, 2024
2 parents 2e58ee0 + 5533c08 commit 6ddd0bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Expand Up @@ -1060,6 +1060,7 @@ liblouis
libmicrohttpd
libnfs
libnice
libobjc2
libomp
libopenmpt
liboqs
Expand Down
12 changes: 6 additions & 6 deletions Formula/lib/libobjc2.rb
@@ -1,12 +1,12 @@
class Libobjc2 < Formula
desc "Objective-C runtime library intended for use with Clang"
homepage "https://github.com/gnustep/libobjc2"
url "https://github.com/gnustep/libobjc2/archive/refs/tags/v2.1.tar.gz"
sha256 "78fc3711db14bf863040ae98f7bdca08f41623ebeaf7efaea7dd49a38b5f054c"
url "https://github.com/gnustep/libobjc2/archive/refs/tags/v2.2.1.tar.gz"
sha256 "768ea8c5bd0999a29b5d15781125494f986456c1dc5c51d370fb31852cd31ea1"
license "MIT"

bottle do
sha256 cellar: :any_skip_relocation, x86_64_linux: "ba344263f90c949f7be3cf48ac100e83eb0fe062f5b770cd688b2b84b6f3ece4"
sha256 cellar: :any_skip_relocation, x86_64_linux: "7b71a49e26e6f376aea15f25c584ba70da3ea0c4cfbb7eaa0e66a52eb300ccb9"
end

depends_on "cmake" => :build
Expand All @@ -22,8 +22,8 @@ class Libobjc2 < Formula
fails_with :gcc

resource "robin-map" do
url "https://github.com/Tessil/robin-map/archive/refs/tags/v1.0.1.tar.gz"
sha256 "b2ffdb623727cea852a66bddcb7fa6d938538a82b40e48294bb581fe086ef005"
url "https://github.com/Tessil/robin-map/archive/refs/tags/v1.2.1.tar.gz"
sha256 "2b54d2c1de2f73bea5c51d5dcbd64813a08caf1bfddcfdeee40ab74e9599e8e3"
end

def install
Expand Down Expand Up @@ -55,6 +55,6 @@ def install
"-L#{testpath}", "-Wl,-rpath,#{testpath}", "-lTest", "-o", "RuntimeTest"

# RuntimeTest deliberately throws a test exception and outputs this to stderr.
assert_match "in flight exception", shell_output("#{testpath}/RuntimeTest 2>&1")
assert_match "testExceptions() ran", shell_output("#{testpath}/RuntimeTest 2>&1")
end
end

0 comments on commit 6ddd0bd

Please sign in to comment.