Opened 4 years ago
Last modified 4 years ago
#61048 assigned defect
libVLC @3.0.11: error: expected a type
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | RJVB (René Bertin) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | libVLC |
Description
libVLC fails to build:
access/avaudiocapture.m:51:36: error: expected a type + (void)requestAccessForMediaType:(AVMediaType)mediaType completionHandler:(void (^)(BOOL granted))handler API_AVAILABLE(macos(10.14), ios(7.0)); ^ 1 error generated.
Change History (8)
comment:1 Changed 4 years ago by RJVB (René Bertin)
comment:3 Changed 4 years ago by RJVB (René Bertin)
Well, doh ... but why did I do that? Certainly not for the fun of it.
comment:5 Changed 4 years ago by RJVB (René Bertin)
Hmm, could we just roll back to 3.0.8 in hope that whatever issues that version had can be addressed more easily?
comment:6 Changed 4 years ago by RJVB (René Bertin)
OK, so it looks like most of the remaining failures *could* be a simple result of building with too old a compiler. I have added a few tweaks that should avoid this, what's the best way to check this? Given the previous experience with the PR-related test builds I just as rather avoid those and have someone do a test build on 10.13 or earlier (as far as I can tell, only the Qt4 version of the phonon VLC backend fails on 10.14 and up).
comment:8 Changed 4 years ago by RJVB (René Bertin)
Thanks Ken. Yes, I pushed the changes to my repo. My version evidently has a few additional convience tweaks but they should be transparent (=disabled) if you build from inside the portdir (instead of adding the entire tree as a source).
This is becoming way too complicated to maintain, with upstream dropping all support for building on older OS versions.
Remind me again why the port had to be updated to 3.0.11 please?