Opened 6 months ago
#72870 assigned defect
edid-decode @20241119: error: use of undeclared identifier 'ENODEV'
| Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | wwalexander (William Alexander) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.5 |
| Keywords: | catalina | Cc: | |
| Port: | edid-decode |
Description
On macOS 10.15 and earlier:
../edid-decode-20241119/edid-decode.h:628:76: error: use of undeclared identifier 'ENODEV'
static inline int read_edid(int adapter_fd, unsigned char *edid) { return -ENODEV; }
^
../edid-decode-20241119/edid-decode.h:629:93: error: use of undeclared identifier 'ENODEV'
static inline int test_reliability(int adapter_fd, unsigned cnt, unsigned msleep) { return -ENODEV; }
^
../edid-decode-20241119/edid-decode.h:630:55: error: use of undeclared identifier 'ENODEV'
static inline int read_hdcp(int adapter_fd) { return -ENODEV; }
^
../edid-decode-20241119/edid-decode.h:631:74: error: use of undeclared identifier 'ENODEV'
static inline int read_hdcp_ri(int adapter_fd, double ri_time) { return -ENODEV; }
^
4 errors generated.
The solution may be as simple as adding this line to that file:
#include <errno.h>
This is an upstream bug but I don't know where to report it because the homepage listed in the port is just a git repository web browser.
Note: See
TracTickets for help on using
tickets.
