Created attachment 234981 [details] misc/raspberrypi-userland: fix build on FreeBSD 13.1 Possibly due to a changed compiler version, -Werror causes the port to no longer build on FreeBSD 13.1. - patch out -Werror - fix include for basename Tested with Poudriere on armv7 FreeBSD 13.1. If this patch is committed after 2022Q3 drops, please MFH.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e48f39f4e9221483c54c5cc380ca5f6a167e1312 commit e48f39f4e9221483c54c5cc380ca5f6a167e1312 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-06-28 12:07:09 +0000 Commit: Dmitri Goutnik <dmgk@FreeBSD.org> CommitDate: 2022-06-30 13:42:39 +0000 misc/raspberrypi-userland: fix build - patch out -Werror - add <libgen.h> for basename in raspicam and patch for const correctness PR: 264940 misc/raspberrypi-userland/Makefile | 2 +- ...ations_android_apps_vidtex_CMakeLists.txt (new) | 10 +++++++ ...cations_linux_apps_dtmerge_CMakeLists.txt (new) | 11 ++++++++ ...pplications_linux_apps_dtoverlay_CMakeLists.txt | 13 +++++++-- ...ications_linux_apps_gencmd_CMakeLists.txt (new) | 11 ++++++++ ...lications_linux_apps_hello__pi_Makefile.include | 6 ++--- ...ations_linux_apps_raspicam_CMakeLists.txt (new) | 11 ++++++++ ...ications_linux_apps_raspicam_RaspiStill.c (new) | 31 ++++++++++++++++++++++ ...tions_linux_apps_raspicam_RaspiStillYUV.c (new) | 31 ++++++++++++++++++++++ ...plications_linux_apps_raspicam_RaspiVid.c (new) | 31 ++++++++++++++++++++++ ...cations_linux_apps_raspicam_RaspiVidYUV.c (new) | 31 ++++++++++++++++++++++ ...plications_linux_apps_smem_CMakeLists.txt (new) | 11 ++++++++ ...tions_linux_libs_bcm__host_CMakeLists.txt (new) | 11 ++++++++ ...applications_linux_libs_sm_CMakeLists.txt (new) | 11 ++++++++ .../patch-interface_mmal_CMakeLists.txt (new) | 11 ++++++++ .../patch-interface_vcos_CMakeLists.txt (new) | 11 ++++++++ ...ch-interface_vcos_pthreads_CMakeLists.txt (new) | 11 ++++++++ ...terface_vmcs__host_linux_vcfiled_CMakeLists.txt | 11 ++++++-- .../files/patch-makefiles_cmake_vmcs.cmake | 4 +-- 19 files changed, 259 insertions(+), 10 deletions(-)
Committed, thanks!