NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/58823: wgetscrreg is not defined



>Number:         58823
>Category:       lib
>Synopsis:       wgetscrreg is not defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 10 17:35:00 +0000 2024
>Originator:     Firas Khana
>Release:        trunk (pkgsrc-2024Q3)
>Organization:
glaucus Linux
>Environment:
This is a Linux machine :)
>Description:
`wgetscrreg` is not defined in NetBSD's curses, and it is used by some programs like (https://github.com/deadpixi/mtm). I noticed that pkgsrc's Makefile of mtm depends on ncurses for this reason (https://github.com/NetBSD/pkgsrc/blob/97716d7eeba2012eb90501bf49dc156e4bbe11e0/misc/mtm/Makefile#L23)

Is this intended?

Thanks for your time!
>How-To-Repeat:
Attempt to build `mtm` against NetBSD's curses library.
>Fix:
Add the following definition of `wgetscrreg` to `curses.h`:

```c
int	 wgetscrreg(const WINDOW *, int *, int *);
```



Home | Main Index | Thread Index | Old Index