devel/bossa: fix build with clang 18
Clang 18 has a new warning about variable length arrays used in C++,
which is emitted when building devel/bossa:
src/Flasher.cpp:115:28: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]
115 | uint8_t buffer[bufferSize];
| ^~~~~~~~~~
src/Flasher.cpp:115:28: note: read of non-const variable 'bufferSize' is not allowed in a constant expression
src/Flasher.cpp:114:22: note: declared here
114 | uint32_t bufferSize = _samba.writeBufferSize();
| ^
[... more of these ...]
Since refactoring the code to no longer use VLAs is rather intrusive,
suppress the warnings instead.
While here, pet portlint.
PR: 276804
Approved by: maintainer timeout (2 weeks)
MFH: 2024Q130a231f8ebPort details
devel/bossa 1.9.1_1
Flash programmer for Atmel SAM microcontrollers
- Maintainer
- kevans@FreeBSD.org
- Packages
- latest: 1.9.1_1
- Upstream
- up to date
- Last update
- to 1.9.1_1 · 30a231f8eb
- Quarterly
- 2026Q4: 1.9.1_1
- WWW
- https://github.com/shumatech/BOSSA
- Links
- cgit · VuXML
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.9.1_1.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (21)
devel/bossa: fix the build with clang-15 Using `move()` without qualifying it now throws a warning about an unqualified call to 'std::move', despite any prior `using` declaration; prefix it appropriately. MFH: 2023Q1a3ba5254df
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
devel/bossa: Update to 1.9.1 PR: 251882 Reviewed by: 0mp (mentor) Approved by: kevans (maintainer), 0mp (mentor)bed38778a0
Clean up some things Reported by: portscan and common senseeefdcbfd7c
Bump PORTREVISION for ports depending on the canonical version of GCC as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330ea8c8ec7da
Update devel/readline to 8.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine40c9c7f7eb
Bump PORTREVISION for ports depending on the canonical version of GCC defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590a9f015d155
Bump PORTREVISION for ports depending on the canonical version of GCC in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 22254209f9633cb6
devel/bossa: Fix build after recent Clang update on -HEAD Clang 6 caught a bogus comparison that was not previously caught; fix the build by correcting the comparison to correctly dereference the `char *` before comparing it with '\0'. PORTREVISION bumped because the comparison was erroneous and still successfully built everywhere but -HEAD. This patch is effectively from upstream. It will go away with the update to BOSSA 1.8, which requires a little more testing still. Approved by: antoinee29eb9ed3e
Bump PORTREVISION for ports depending on the canonical version of GCC (via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275e59c88cece
* Updated maintainer email address PR: 220395 Submitted by: kevans Reviewed by: lifanov (mentor) Approved by: lifanov (mentor) Differential Revision: https://reviews.freebsd.org/D114976b38c75dd9
Update devel/readline to 7.0 patch 3 - Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoinecb037d3c98
devel/bossa: Adding the 1200bps hack to devel/bossa should improve reliability of programming the Arduino Due. PR: 218241 Submitted by: Kyle Evans <bsdports@kyle-evans.net> (maintainer)fcbe224d2c
Bump PORTREVISIONs for ports depending on the canonical version of GCC and lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 21670704d6f52202
devel/bossa: Update to actual 1.7.0 release No changes, this is purely cosmetic. PR: 213168f2589de393
Minor improvement to deal with all-caps name from upstream
Apply suggestion from mat@:
- Set GH_PROJECT rather than overwriting default WRKSRC
Reported by: mat
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D80190cad5d7592New port devel/bossa: Flash programmer for Atmel SAM microcontrollers PR: 211397 Submitted by: bsdports@kyle-evans.net (maintainer) Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D8017ecbf92379f