I maintain the Adélie Linux distribution and am responsible for the packaging of all KDE related stuff. We use the lightweight musl libc and target all sorts of platforms, including x86, PowerPC, ARM, and MIPS; therefore, we occasionally find portability issues. We love to fix them!
- User Since
- Jan 29 2017, 4:11 PM (120 w, 1 d)
Apr 18 2019
Mar 18 2019
Dec 11 2018
Sorry, I hit it while https://community.kde.org/index.php?title=Get_KDE_Software_on_Your_Linux_Distro&oldid=82263 was in cache apparently. Looks good to me.
Dec 10 2018
I'd recommend alphabetising the list.
Sep 16 2018
I would be happy to push the fix with the proper commit message (arcanist botched it badly), but it doesn't look like I have permission:
Sep 12 2018
See D15461; this commit does not fully fix builds without liborigin.
Aug 30 2018
rindex was being used in kscreenlocker but that code was removed last year.
Mar 25 2018
Mar 18 2018
Mar 17 2018
Mar 4 2018
That's fine with me.
I can confirm that this patch does fix the build on musl. Thank you!
musl is strictly POSIX conformant, which means it uses int for msg_iovlen and socklen_t for msg_controllen in the msghdr struct.
Oct 12 2017
Please do note that _XOPEN_SOURCE must be 600 and not 700 because some components of KDE still use rindex which is no longer supported in X/Open 7.
Sorry, I had accidentally uploaded a WIP version of the patch. This is complete.
This diff was created with git format-patch. I do not have commit rights.
Sep 30 2017
Jun 15 2017
Since a9c44a1 conv_legacy is no longer an option for kscreenlocker. This patch is no longer necessary as of Plasma 5.10.
This is now a patch made with `git format-patch``` against current master (6a24cf9). Still passes on both Py2 and Py3.
Feb 2 2017
I just wanted to add that after a convoluted process (ripping all the Wayland checks out of CMakeLists.txt, and only building the kcheckpass target, since the screen locker itself does not even build at all...), I have tested that this change *does* work correctly on FreeBSD 10.3-RELEASE-p11.
Jan 31 2017
Out of interest: how did you stumble on that code?
I have fixed the style issue with no space between if and bracket.