BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM
microcontrollers designed as a replacement for Atmel's SAM-BA software.
This version is a fork of the original project with some Arduino-specific
patches applied that are unlikely to be accepted upstream.
===> The following configuration options are available for bossa-1.9.1_1:
BOSSA=off: Include BOSSA GUI application using wxWidgets
BOSSASH=on: Include BOSSA Shell
===> Use 'make config' to modify these settings
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: 2024Q1
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: 2023Q1
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)
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.
(Only the first 15 lines of the commit message are shown above )
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: 238330
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: 231590
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: 222542
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: antoine
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: 219275
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)
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: 216707
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/D8019