Brad Smith

Results 70 issues of Brad Smith

Unbreak on riscv64, we don't have sys/auxv.h or getauxval(). OpenBSD/riscv64 assumes RV64GC, aka RV64IMAFDC. Our kernel provides no support for the V extension.

While looking at include/boost/config/platform/bsd.hpp and updating the OpenBSD bits I noticed this bit of the header. ``` // // The BSD has macros only, no functions: // #if !defined(__OpenBSD__) ||...

Add futex(2) support for OpenBSD.

Just wanted to mention that recent macOS versions have something similar to TCP_INFO. struct tcp_connection_info https://developer.apple.com/documentation/kernel/tcp_connection_info http://git.haproxy.org/?p=haproxy-2.6.git;a=commitdiff_plain;h=7747d465d54a1e367e9bf9c07c263d7f1f7fd481;hp=5c83e3a1563cd7face299bf08037e51f976eb5e3

Resolves: https://github.com/audacity/audacity/issues/6357 Rename swap functions to not conflict with OpenBSD's swap macros - [X] I signed [CLA](https://www.audacityteam.org/cla/) - [X] The title of the pull request describes an issue it addresses...

``` /home/ports/pobj/audacity-3.5.1/audacity-Audacity-3.5.1/libraries/lib-wx-wrappers/AudacityDontAskAgainMessageDialog.cpp:57:14: warning: | has lower precedence than !=; != will be evaluated first [-Wparentheses] if (style | wxCENTRE != 0) ^~~~~~~~~~~~~~~ /home/ports/pobj/audacity-3.5.1/audacity-Audacity-3.5.1/libraries/lib-wx-wrappers/AudacityDontAskAgainMessageDialog.cpp:57:14: note: place parentheses around the '!=' expression...

``` /home/ports/pobj/audacity-3.5.1/audacity-Audacity-3.5.1/libraries/lib-basic-ui/BasicUI.cpp:17:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if HAS_XDG_OPEN_HELPER ^ /home/ports/pobj/audacity-3.5.1/audacity-Audacity-3.5.1/libraries/lib-basic-ui/BasicUI.cpp:15:30: note: expanded from macro 'HAS_XDG_OPEN_HELPER' #define HAS_XDG_OPEN_HELPER (defined(__linux__) && !defined __ANDROID__) || defined (__FreeBSD__) ||...

OpenBSD has some swapping macros that originate from the endian.h / sys/endian.h header. ``` uint64_t swap64(uint64_t val64); uint32_t swap32(uint32_t val32); uint16_t swap16(uint16_t val16); ``` These currently conflict with functions within...

Move the Sndio backend away from being OpenBSD specific and make use of the pkg-config support. Sndio is also used on FreeBSD and Linux.