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
kodi: update to 19.3. #34083
kodi: update to 19.3. #34083
Conversation
Ah, I hadn't tested |
It's something to do with
|
#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
*pos = pFile->GetPosition();
#else
pos->__pos = pFile->GetPosition();
#endif So, the first branch seems to treat typedef union _G_fpos64_t {
char __opaque[16];
long long __lldata;
double __align;
} fpos_t; And the other branch also won't work because there's no I dunno, I think I'm going to need someone that groks C++ to take a look at this, because I'm in over my head here. EDIT: I had missed two crucial type-casting lines. |
The truth is this shouldn't be touching Please squash the commits! |
Update patches to match.
Hmm, out of curiosity, why's that? |
Because it's an opaque structure, you aren't supposed to poke inside its bits. |
Superseded by #36526 |
Obsoleted by #36526. |
Update patches to match. (Is there a way to do that other than cloning the upstream, making the changes by hand, and doing a
git diff
?)Testing the changes
I briefly tested the changes in this PR. It installs fine on a Pi 4 (
aarch64
), although there were setup pains — on both19.0
and.3
— that forced me toward LibreELEC instead.