opnsense-src/contrib
Stefan Eßer 06bb8e1dab contrib/bc: fix build with GCC
Building with GCC failed with the following error message:

 error: to be safe all intermediate pointers in cast from 'char **'
 to 'const char **' must be 'const' qualified [-Werror=cast-qual]

This was caused by main() being declared with "char *argv[]" as the
3rd parameter, but argv later being passed cast to "const char**":

113 |     if (BC_IS_BC) s = bc_main(argc, (const char**) argv);
    |                                      ^

This is fixed by declaring the 3rd parameter of main() as "const
char *argv[]".

Reported by:	CI
MFC after:	3 days

(cherry picked from commit ef5752762ba9ec54d5c02023167d24bcdbb45fd7)

vendor/bc: upgrade to version 7.0.1

This update fixes building bc on FreeBSD with non-default compilers
(GCC-12, GCC-13). GCC warned about casting argv from non-const to const
and since warnings are treated as errors, the build failed.

(cherry picked from commit 1e19146fc7692f59e8dfc5da7957e938cd0b81b8)
(cherry picked from commit 5b0dc991093c82824f6fe566af947f64f5072264)
2024-09-03 18:28:14 +02:00
..
arm-optimized-routines Update the Arm Optimized Routine library to v24.01 2024-04-08 13:15:18 +00:00
atf atf: Guard against multiple evaluation. 2024-05-20 09:04:54 +00:00
bc contrib/bc: fix build with GCC 2024-09-03 18:28:14 +02:00
bearssl Merge commit 'd84e570b54961e8874bbd8de25635eb96be0977e' 2023-02-20 22:13:27 -08:00
bionic-x86_64-string
blocklist blacklistd: Handle fds that are pointing to routing sockets 2024-03-25 18:28:30 -04:00
bmake Merge bmake-20230622 2023-06-27 13:57:58 -07:00
bsddialog
bsnmp bsnmp: make single bit bitfields unsigned to avoid clang 16 warning 2023-04-17 18:26:03 +02:00
byacc byacc: Adjust expected test output to match our patches. 2023-02-22 20:05:02 +01:00
bzip2 bzip2: remove locally added __FBSDID 2023-12-13 23:08:50 +00:00
capsicum-test capsicum: introduce cap_rights_is_empty Function 2024-06-05 11:55:17 -04:00
com_err
cortex-strings
dialog
diff
dma dma: use OpenSSL 1.1 init API 2023-05-11 19:03:34 -04:00
ee ee: fix wprintw usage (highlighted by ncurses 6.5) 2024-06-27 11:01:25 +02:00
elftoolchain readelf: fix -wR option, memory leaks, and -wf minor bug 2023-03-06 12:51:23 -05:00
expat MFC: MFV: expat 2.6.0. 2024-02-20 22:52:29 -08:00
file (upstream) PR/386: Add newlines for consitency 2 2023-11-03 23:28:32 -04:00
flex
gdtoa
googletest Import GoogleTest 1.14.0 2023-08-10 02:32:33 -07:00
hyperv/tools hyperv/kvp: Remove set but unused variables. 2023-06-27 10:19:32 -07:00
jemalloc release: update stable/14 following branching from main 2023-08-24 19:07:33 -04:00
kyua
ldns ldns: Ignore commented-out lines in resolv.conf. 2024-05-20 09:04:54 +00:00
ldns-host
less MFV: less: Do not trust st_size if it equals zero 2024-04-27 00:07:32 -07:00
lib9p lib9p: Remove set but unused sockets[] array from l9p_start_server. 2023-06-20 09:28:59 -07:00
libarchive libarchive: merge bugfixes from vendor branch 2024-05-03 06:51:37 +02:00
libbegemot
libc-pwcache Remove __FBSDID from netbsd libc sources 2023-12-13 23:08:50 +00:00
libc-vis Remove __FBSDID from netbsd libc sources 2023-12-13 23:08:50 +00:00
libcbor libcbor: vendor update to 0.11.0 2024-08-01 11:11:45 -04:00
libcxxrt Tentatively apply https://github.com/libcxxrt/libcxxrt/pull/27 2024-04-19 23:14:14 +02:00
libdivsufsort
libedit
libevent libevent: Import libevent 2.1.12 2023-11-28 07:15:25 -08:00
libexecinfo
libfido2 libfido2: update to 1.14.0 2024-08-01 11:11:45 -04:00
libpcap libpcap: Update to 1.10.4 2023-05-05 10:56:10 -03:00
libucl libucl: import snapshot 2024-02-06 2024-03-27 09:18:47 +01:00
libxo
llvm-project Merge commit d2353ae00c3b from llvm git (by Argyrios Kyrtzidis): 2024-08-13 11:24:24 +02:00
lua Merge LUA 5.4.6 2023-07-15 11:31:04 -06:00
lutok
mandoc mandoc: Fix bootstrapping on macOS with Clang 16 / Apple Clang 15 2024-05-02 21:10:13 +01:00
mknod
mtree
ncurses ncurses: readd 2 html files in the doc (fix MK_HTML=yes) 2024-06-27 11:06:23 +02:00
netbsd-tests tmpfs tests: Remove an xfail annotation 2024-05-08 09:06:16 -04:00
netcat
ntp ntp: Vendor import of ntp-4.2.8p18 2024-05-29 18:42:19 -07:00
nvi nvi: import version 2.2.1 2023-12-04 11:20:00 +01:00
ofed irdma(4): Upgrade to 1.2.36-k 2024-02-20 21:45:32 -08:00
one-true-awk awk: Merge in bsd-feature branch of OTA from 20240422 (31bb33a32f71) 2024-05-20 13:29:26 -06:00
openbsm OpenBSM: Remove $FreeSBD$ tags from the configuration files 2024-03-21 06:51:30 +01:00
opencsd/decoder Import OpenCSD v.1.4.0. 2023-03-27 17:03:16 +01:00
openpam openpam: Migrate from COMPAT_32BIT to generic COMPAT_libcompat 2023-07-09 18:48:17 +01:00
openresolv
pam_modules/pam_passwdqc
pf pf: Remove __FBSDID() macro use 2023-12-13 23:08:50 +00:00
pjdfstest
pnglite
pnpinfo pnpinfo: remove locally added __FBSDID 2023-12-13 23:08:50 +00:00
processor-trace
sendmail Merge commit '850ef5ae11d69ea3381bd310f564f025fc8caea3' 2024-02-07 02:29:43 +00:00
smbfs smbfs manuals: describe consistently 2024-06-12 15:46:25 -06:00
spleen contrib/spleen: update to Spleen 2.0.0 2023-06-08 10:42:25 -04:00
sqlite3 sqlite3: Vendor import of sqlite3 3.46.1 2024-09-02 17:01:33 -07:00
tcp_wrappers tcp_wrappers: silence a few warnings 2024-02-08 18:40:06 +01:00
tcpdump tcpdump: cope with incorrect packet lengths 2024-04-18 15:35:52 +02:00
tcsh
telnet Fix snprintf truncation in telnet 2023-12-24 14:59:34 +01:00
terminus
tnftp
traceroute traceroute: Implement ECN bleaching detection 2024-02-02 09:32:24 -05:00
tzcode tzcode: Fix overflow handling in TZ parser. 2024-02-21 21:33:23 +01:00
tzdata contrib/tzdata: import tzdata 2024a 2024-02-05 08:28:54 +08:00
unbound unbound: Vendor import 1.21.0 2024-08-23 12:29:42 -07:00
unifdef unifdef: Handle redefined symbols correctly. 2023-09-07 20:28:31 +00:00
unvis
vis
wireguard-tools
wpa hostapd: Work around lack of MLME support 2024-04-02 17:28:45 -07:00
xz Backport export of lzma_mt_block_size symbol. 2024-04-07 21:01:25 -07:00