[MacPorts] #72212: bladeRF: I made a fix for the 'tecla' dependency problem, but now there is another build issue
MacPorts
noreply at macports.org
Tue Mar 18 15:37:27 UTC 2025
#72212: bladeRF: I made a fix for the 'tecla' dependency problem, but now there is
another build issue
-----------------------+----------------------------
Reporter: mcquiggi | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: bladeRF, tecla
Port: bladeRF |
-----------------------+----------------------------
Comment (by mcquiggi):
More info on the tecla fix so it is documented here as well:
Error message:
./getline.c:3931:34: error: incompatible function pointer types passing
'TputsRetType (TputsArgType)' (aka 'void (int)') to parameter of type 'int
(*)(int)' [-Wincompatible-function-pointer-types]
3931 | tputs((char *)string, nline, gl_tputs_putchar);
| ^~~~~~~~~~~~~~~~
/opt/local/include/term.h:848:60: note: passing argument to parameter here
848 | extern NCURSES_EXPORT(int) tputs (const char *, int, int
(*)(int));
I changed line 3931 of getline.c as follows:
Old line 3931 (getline.c): ''tputs((char *)string, nline,
gl_tputs_putchar);''
Revision: ''tputs((char *)string, nline, (int * ) &gl_tputs_putchar);''
This resolved the build issue.
--
Ticket URL: <https://trac.macports.org/ticket/72212#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list