From 923545dfd3ef223b7e0e47ebf0100c949d1979ce Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 20 Apr 2024 12:05:44 +0800 Subject: [PATCH] Auto-update iowow to v1.4.18 (#3825) * Update iowow to v1.4.18 * Update xmake.lua --------- Co-authored-by: c8ef --- packages/i/iowow/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/i/iowow/xmake.lua b/packages/i/iowow/xmake.lua index aadd3fee6..40d95daa6 100644 --- a/packages/i/iowow/xmake.lua +++ b/packages/i/iowow/xmake.lua @@ -6,6 +6,7 @@ package("iowow") add_urls("https://github.com/Softmotions/iowow/archive/refs/tags/$(version).tar.gz", "https://github.com/Softmotions/iowow.git") + add_versions("v1.4.18", "ef4ee56dd77ce326fff25b6f41e7d78303322cca3f11cf5683ce9abfda34faf9") add_versions("v1.4.17", "13a851026dbc1f31583fba96986e86e94a7554f9e7d38aa12a9ea5dbebdf328b") if is_plat("linux", "bsd") then @@ -15,6 +16,7 @@ package("iowow") add_deps("cmake") on_install("linux", "macosx", "bsd", "cross", function (package) + io.replace("src/utils/sort_r.h", "defined __FreeBSD__ ||", "", {plain = true}) local configs = {"-DBUILD_EXAMPLES=OFF", "-DPACKAGE_TGZ=OFF", "-DPACKAGE_ZIP=OFF"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))