diff --git a/Formula/f/fluent-bit.rb b/Formula/f/fluent-bit.rb index bbb52398c4923..643af44d1c314 100644 --- a/Formula/f/fluent-bit.rb +++ b/Formula/f/fluent-bit.rb @@ -1,8 +1,8 @@ class FluentBit < Formula desc "Fast and Lightweight Logs and Metrics processor" homepage "https://github.com/fluent/fluent-bit" - url "https://github.com/fluent/fluent-bit/archive/refs/tags/v3.0.7.tar.gz" - sha256 "9c9b94bcdcf1cd0a899b24e1d3e18c6269227512661631814c2ac820683e2ec8" + url "https://github.com/fluent/fluent-bit/archive/refs/tags/v3.1.2.tar.gz" + sha256 "13f6f83371039fe62f7f97f272a4d2bcd559ade03e5b9049cd53837024825c53" license "Apache-2.0" head "https://github.com/fluent/fluent-bit.git", branch: "master" @@ -57,14 +57,13 @@ def install end __END__ +diff --git a/lib/luajit-cmake/LuaJIT.cmake b/lib/luajit-cmake/LuaJIT.cmake +index c0dee58..80d26e2 100644 --- a/lib/luajit-cmake/LuaJIT.cmake +++ b/lib/luajit-cmake/LuaJIT.cmake -@@ -569,13 +569,13 @@ set(luajit_headers - ${LJ_DIR}/luaconf.h - ${LJ_DIR}/luajit.h - ${LJ_DIR}/lualib.h) --install(FILES ${luajit_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/luajit) -+install(FILES ${luajit_headers} DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/include/luajit) +@@ -669,11 +669,11 @@ set(luajit_headers + ${CMAKE_CURRENT_BINARY_DIR}/luajit.h) + install(FILES ${luajit_headers} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/luajit) install(TARGETS libluajit - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) @@ -76,4 +75,4 @@ def install +if (FALSE) add_executable(luajit ${LJ_DIR}/luajit.c) target_link_libraries(luajit libluajit) - if(APPLE AND ${CMAKE_C_COMPILER_ID} STREQUAL "zig") + target_include_directories(luajit PRIVATE