Skip to content

Commit

Permalink
Auto-update libfswatch to 1.18.3 (#6533)
Browse files Browse the repository at this point in the history
* Update libfswatch to 1.18.3

* Update xmake.lua

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
  • Loading branch information
waruqi and star-hengxing authored Mar 7, 2025
1 parent 04b80ff commit e9ee408
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/l/libfswatch/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package("libfswatch")
add_urls("https://github.com/emcrisostomo/fswatch/archive/refs/tags/$(version).tar.gz",
"https://github.com/emcrisostomo/fswatch.git")

add_versions("1.18.3", "07f9fec15138fe25ea92d869117811c7c4fba2e6c6231682d49b159bae2ebd53")
add_versions("1.18.2", "698f21fe5489311dabe9e90463fb9d40796780abac8d207b857e86ade7345d86")
add_versions("1.17.1", "bd492b6e203b10b30857778f4dd26f688426cd352937bd7779ee245139bafa2b")

Expand All @@ -19,10 +20,10 @@ package("libfswatch")

if on_check then
on_check(function (package)
if package:version() and package:version():eq("1.18.2") then
if package:version() and package:version():ge("1.18.2") then
if package:is_plat("bsd") then
-- libfswatch/src/libfswatch/c++/kqueue_monitor.cpp:134:29: error: unknown type name '__darwin_time_t'; did you mean '__sbintime_t'
raise("package(libfswatch 1.18.2) unsupported current platform")
raise("package(libfswatch >=1.18.2) unsupported platform")
end
end
end)
Expand Down

0 comments on commit e9ee408

Please sign in to comment.