From 39f93959ebb03cf0688ad5086eb608cb0d3f1029 Mon Sep 17 00:00:00 2001 From: Philipp Kaeser Date: Thu, 2 Oct 2025 17:22:00 +0000 Subject: [PATCH 1/2] libbase: Updates bison minimum version to 3.8.2, having the fix for the now-removed extra compile flag. --- src/plist/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plist/CMakeLists.txt b/src/plist/CMakeLists.txt index bba6bd8..80f9ded 100644 --- a/src/plist/CMakeLists.txt +++ b/src/plist/CMakeLists.txt @@ -19,7 +19,9 @@ FLEX_TARGET( ${CMAKE_CURRENT_BINARY_DIR}/analyzer.c DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/analyzer.h) -FIND_PACKAGE(BISON 3.0 REQUIRED) +# Needs 3.8.2 due to a build warning. +# See: https://github.com/phkaeser/wlmaker/issues/53 +FIND_PACKAGE(BISON 3.8.2 REQUIRED) BISON_TARGET( grammar grammar.y @@ -47,9 +49,6 @@ TARGET_INCLUDE_DIRECTORIES( PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/) -# TODO(kaeser@gubbe.ch):Remove, once updating post bison 3.8.2 (Aug 2022). -# See: https://github.com/phkaeser/wlmaker/issues/53 -TARGET_COMPILE_OPTIONS(libbase_plist PRIVATE -Wno-unused-but-set-variable) TARGET_LINK_LIBRARIES(libbase_plist libbase) SET_TARGET_PROPERTIES( libbase_plist From 180518647b02c84d5133c48cc2269ccd9fbce176 Mon Sep 17 00:00:00 2001 From: Philipp Kaeser Date: Thu, 2 Oct 2025 17:28:13 +0000 Subject: [PATCH 2/2] FIXME: bump bsd. --- .github/workflows/build-for-bsd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-for-bsd.yml b/.github/workflows/build-for-bsd.yml index 3ac000f..b47ee02 100644 --- a/.github/workflows/build-for-bsd.yml +++ b/.github/workflows/build-for-bsd.yml @@ -1,4 +1,4 @@ -name: Build for Free BSD 14.2 +name: Build for Free BSD 14.3 on: push: @@ -19,7 +19,7 @@ jobs: uses: cross-platform-actions/action@v0.26.0 with: operating_system: freebsd - version: '14.2' + version: '14.3' run: | sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf sudo pkg install -y \