Bläddra i källkod

Auto-update iowow to v1.4.18 (#3825)

* Update iowow to v1.4.18

* Update xmake.lua

---------

Co-authored-by: c8ef <[email protected]>
ruki 1 år sedan
förälder
incheckning
923545dfd3
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      packages/i/iowow/xmake.lua

+ 2 - 0
packages/i/iowow/xmake.lua

@@ -6,6 +6,7 @@ package("iowow")
     add_urls("https://github.com/Softmotions/iowow/archive/refs/tags/$(version).tar.gz",
     add_urls("https://github.com/Softmotions/iowow/archive/refs/tags/$(version).tar.gz",
              "https://github.com/Softmotions/iowow.git")
              "https://github.com/Softmotions/iowow.git")
 
 
+    add_versions("v1.4.18", "ef4ee56dd77ce326fff25b6f41e7d78303322cca3f11cf5683ce9abfda34faf9")
     add_versions("v1.4.17", "13a851026dbc1f31583fba96986e86e94a7554f9e7d38aa12a9ea5dbebdf328b")
     add_versions("v1.4.17", "13a851026dbc1f31583fba96986e86e94a7554f9e7d38aa12a9ea5dbebdf328b")
 
 
     if is_plat("linux", "bsd") then
     if is_plat("linux", "bsd") then
@@ -15,6 +16,7 @@ package("iowow")
     add_deps("cmake")
     add_deps("cmake")
 
 
     on_install("linux", "macosx", "bsd", "cross", function (package)
     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"}
         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, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))