-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg7: fix compilation for OS X 10.7 through 10.12 #25416
ffmpeg7: fix compilation for OS X 10.7 through 10.12 #25416
Conversation
Notifying maintainers: |
Please rebase against master in order to pick up c83c328. |
29738ce
to
05faf0e
Compare
2813e8b
to
56893ea
Compare
Did the build fail otherwise? If yes, then no need to revbump it. |
I agree with you. It looks like there is no need to revbump it. |
56893ea
to
a88599b
Compare
@erikbs did you submit this patch upstream? If so, please include a link to the issue/PR; if not, please do so we can see what they say about it. Also the latest upstream version is |
@reneeotten I did and got some feedback (before I opened this PR), but it has not been merged: https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/ . As far as I can see the issue is still there on |
I recommend that this PR be merged for There are ports that depend on |
a88599b
to
a0955d3
Compare
Good idea, I pushed an update with a note added. |
@erikbs upstream has released version 7.1 - please try the updated version and check if this issues has been resolved. |
@reneeotten still not fixed in upstream: https://trac.macports.org/ticket/71218 |
So can we merge this? #26404 contains a fix for building on macOS <10.15, but it won't work because timg depends on broken ffmpeg7. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't look upstream is going to respond anytime soon. I am fine with merging this PR provided that you apply the patch conditionally to only the systems that need it.
@erikbs ping |
a0955d3
to
f1f70fb
Compare
Pushed a new commit:
Tested okay on 10.9. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@reneeotten
f1f70fb
to
3a354b0
Compare
Add typedef for AVMediaType when compiling against older SDK versions that use NSString* directly. Fixes: https://trac.macports.org/ticket/70519
3a354b0
to
cbccf1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for this contribution!
While 10.7, 10.8, 10.9, 10.10, and 10.12 are all fixed, 10.11 fails with the following:
Still, this is a big improvement! |
@mascguy https://trac.macports.org/ticket/64469
|
Just curious, has that been done for |
@mascguy nope, it encounter the same issue. |
Description
Add patch that adds a type alias for OS X <= 10.12 from
AVMediaType
toNSString*
(introduced in the 10.13 SDK, but with an extra specifier). I have submitted the same patch to ffmpeg. Before 10.13 these constants were declared directly asNSString*
.Type(s)
Tested on
macOS 10.9.5 13F1911 x86_64
Xcode 6.2 6C131e
Verification
Have you
port lint --nitpick
?sudo port test
?sudo port -vst install
?