Applying ./patches/010-support-openssl-3.0.patch using plaintext: 
patching file cmake/Modules/FindOpenSSL.cmake
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /builder/shared-workdir/build/sdk/staging_dir/toolchain-arm_xscale_gcc-12.2.0_musl_eabi/bin/arm-openwrt-linux-muslgnueabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- libevent NOT found.
CMake Error at CMakeLists.txt:9 (message):
  libevent2 not found!


-- Configuring incomplete, errors occurred!
make[3]: *** [Makefile:70: /builder/shared-workdir/build/sdk/build_dir/target-arm_xscale_musl_eabi/apfree-wifidog-4.08.1771/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
time: package/feeds/packages/apfree-wifidog/compile#0.47#0.20#0.78