Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosquitto 2.0.19 #192699

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1819,6 +1819,7 @@ monolith
moon
morpheus
morse
mosquitto
moto
mpc
mpd
Expand Down
23 changes: 21 additions & 2 deletions Formula/m/mosquitto.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Mosquitto < Formula
desc "Message broker implementing the MQTT protocol"
homepage "https://mosquitto.org/"
url "https://mosquitto.org/files/source/mosquitto-2.0.18.tar.gz"
sha256 "d665fe7d0032881b1371a47f34169ee4edab67903b2cd2b4c083822823f4448a"
url "https://mosquitto.org/files/source/mosquitto-2.0.19.tar.gz"
sha256 "33af3637f119a61c509c01d2f8f6cc3d8be76f49e850132f2860af142abf82a9"
# # dual-licensed under EPL-1.0 and EDL-1.0 (Eclipse Distribution License v1.0),
# EDL-1.0 is pretty the same as BSD-3-Clause,
# see discussions in https://github.com/spdx/license-list-XML/issues/1149
Expand Down Expand Up @@ -32,6 +32,11 @@ class Mosquitto < Formula

uses_from_macos "libxslt" => :build

# remove unsupported `--version-script` linker flag
on_macos do
patch :DATA
end

on_linux do
depends_on "util-linux"
end
Expand Down Expand Up @@ -71,3 +76,17 @@ def caveats
assert_equal 0, $CHILD_STATUS.exitstatus
end
end

__END__
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index de53e8b..479b45d 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -106,7 +106,6 @@ set_target_properties(libmosquitto PROPERTIES
VERSION ${VERSION}
SOVERSION 1
LINK_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/linker.version
- LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/linker.version"
)

install(TARGETS libmosquitto
Loading