Bug 264940 - misc/raspberrypi-userland: fix build on FreeBSD 13.1
Summary: misc/raspberrypi-userland: fix build on FreeBSD 13.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dmitri Goutnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-28 12:10 UTC by Robert Clausecker
Modified: 2022-06-30 13:45 UTC (History)
1 user (show)

See Also:
fuz: merge-quarterly?


Attachments
misc/raspberrypi-userland: fix build on FreeBSD 13.1 (21.12 KB, patch)
2022-06-28 12:10 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2022-06-28 12:10:15 UTC
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-06-30 13:45:18 UTC
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(-)
Comment 2 Dmitri Goutnik freebsd_committer freebsd_triage 2022-06-30 13:45:42 UTC
Committed, thanks!