-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
VLC2: add a fix for < 10.6 #26144
VLC2: add a fix for < 10.6 #26144
Conversation
@reneeotten @herbygillot Bump |
there is way too much patching involved here for me to review. If you say this is older, upstream code then please add links to PRs/commits where these changer weee made which you are reverting here. |
@reneeotten It is every time astonishing how other commits get merged without testing anything beyond 3 latest macOS versions (and often breaking builds on multiple systems), while a fix literally used only for a few old systems all of a sudden requires such a scrutiny. That too, this is a port which exists for older systems and maintained by me… AudioComponent patch reverts this for 10.5 and earlier: videolan/vlc@5e59f5f |
You are always asked to put links in patchfiles, so just do that from the beginning and I don't have to request it again. We "officially" only support the latest three releases as you are well aware. So if it works there it's good enough to merge; anything else is for interested parties to take care of. But these interested parties will have to go the extra mile to provide proper documentation/links to show what is done and why so that others -not as versed in older OS releases- have a way of following it. Both at the time of a PR and two years down the line. So please just do as requested many times before or don't tag me anymore in PRs. |
The memset in patch-SystemConfiguration.diff looks very wrong, seems like it should be clearing buffer, not host_buffer. Otherwise, these changes look fine, though I personally really dislike OS-specific patches. Patches that compile everywhere can be submitted upstream. |
@tobypeterson This version is not maintained by upstream, we keep it only because Qt4 support it killed after (and because it works fine and has some GUI and not just CLI). |
I have nothing as old as Darwin 16.x or earlier, and this is always gonna show green on CI - I have no objection, but I certainly have no idea if this is correct or not - I'd like to prioritize ancient (10.12) over antediluvian (<10.6) versions of macOS / OSX. But if the build bot dies on these we could always roll it back. |
Sure, this change clearly only affects ancient versions of macOS, so it's probably fine regardless. Still, the |
@markemer As I noted above,
This has no impact even on 10.6, since patches are only applied prior to that. So whether VLC2 builds on 10.12 or not, this PR is inconsequential. |
@tobypeterson If you suggest a change, I will add it. |
I think that memset line is not necessary - if you look at netconf.c, it is correctly called a few lines earlier already. I also see that the patch wraps that code in |
1f28c15
to
aef7725
Compare
@tobypeterson I have updated the patch to drop that memset line. |
Description
Fix some issues which prevented it building on 10.5.8.
No need in revbump, since all changes are only used on < 10.6, where it did not build before.
Type(s)
Tested on
macOS 10.5.8
Xcode 3.1.4
Verification
Have you
port lint --nitpick
?sudo port test
?sudo port -vst install
?