VISA is a multivendor standard for interfacing test and measurement
equipment.
LibreVISA aims to be a compliant implementation of the VISA standard in
a free software library. Currently support for targets connected via USB,
exposing the USBTMC interface, and VXI-11 devices.
devel/librevisa: fix build with libc++ 19
As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.
This causes devel/librevisa to fail to compile with clang 19 and libc++
19, resulting in errors similar to:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined
template 'std::char_traits<unsigned short>'
820 | static_assert(is_same<_CharT, typename
traits_type::char_type>::value,
| ^
usb/usb_resource_creator.cpp:73:20: note: in instantiation of template class
'std::basic_string<unsigned short>' requested here
73 | usb_string serial;
| ^
(Only the first 15 lines of the commit message are shown above )
devel/librevisa: fix build with lld 17
Building devel/librevisa with lld 17 results in the following link
errors:
ld: error: version script assignment of 'global' to symbol
'viAssertIntrSignal' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viAssertTrigger'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol
'viAssertUtilSignal' failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viBufRead' failed:
symbol not defined
ld: error: version script assignment of 'global' to symbol 'viBufWrite'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viClear' failed:
symbol not defined
ld: error: version script assignment of 'global' to symbol 'viDiscardEvents'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viGetDefaultRM'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viGpibCommand'
failed: symbol not defined
ld: error: version script assignment of 'global' to symbol 'viGpibControlATN'
failed: symbol not defined
(Only the first 15 lines of the commit message are shown above )
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 )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
devel/librevisa: fix build error
On FreeBSD versions where libusb.h defines LIBUSB_CLASS_APPLICATION, the extra
definition from the Makefile prevents the port from building. Remove that extra
definition.
While here, add build dependency for pkg-config
PR: 236750
Submitted by: jcfyecrayz@liamekaens.com
Thank you Uffe for your past work on FreeBSD ports! Hope you'll find time
to contribute to FreeBSD in the future. Reset Uffe's ports maintainership.
Requested by: Uffe Jakobsen <uffe@uffe.org> (maintainer, via e-mail)
By default libtool replaces -export-symbols <file> with -retain-symbols-file
<file> on ELF systems, but this doesn't really do what -export-symbols is
meant to do. On GNU ELF systems it converts <file> to a simple version
script first and then uses -version-script instead of -retain-symbols-file.
Let USES=libtool patch libtool scripts to do this on all systems with GNU
ld(1).
Bump PORTREVISION on all ports where the build log contains -export-symbols.
audio/calf: This port builds a module that now exports only one function,
but it also builds a number of executables that link to this module and
expect to see other functions. Because it's already a bit dodgy to link to
a module (libtool warns about this) let the module continue to export only
one function and instead build an ordinary library from the same source that
the executables can link to. Fix a number of other issues in the same
(Only the first 15 lines of the commit message are shown above )
Add new port: devel/librevisa
PR: 188811
Submitted by: uffe
================================================================
VISA is a multivendor standard for interfacing test and measurement
equipment.
LibreVISA aims to be a compliant implementation of the VISA standard in
a free software library. Currently support for targets connected via USB,
exposing the USBTMC interface, and VXI-11 devices.