https://bugs.kde.org/show_bug.cgi?id=373175

David Faure <fa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/ext
                   |                            |ra-cmake-modules/6684cb99bd
                   |                            |f408fc491e547393dbd7aac4d15
                   |                            |1f2
         Resolution|---                         |FIXED

--- Comment #4 from David Faure <fa...@kde.org> ---
Git commit 6684cb99bdf408fc491e547393dbd7aac4d151f2 by David Faure, on behalf
of A. Wilcox.
Committed on 31/08/2018 at 08:26.
Pushed by dfaure into branch 'master'.

Add _XOPEN_SOURCE to C definitions

When building on non-glibc Unix platforms, such as Solaris, NetBSD, and
Linux/musl or Linux/uclibc, multiple components of KF5 fail to build. This is
because -std=iso9899:1990 is specified (for strict C90 compliance) but
_XOPEN_SOURCE is not defined, so none of the POSIX interfaces are exported. I
have seen this reported in at least:

* kinit
* kscreenlocker
* plasma-workspace

The attached patch resolves this issue on all our build boxes; additionally,
applying it to my glibc builder did not change the already working result.

Differential Revision: https://phabricator.kde.org/D8256

M  +3    -0    kde-modules/KDECompilerSettings.cmake

https://commits.kde.org/extra-cmake-modules/6684cb99bdf408fc491e547393dbd7aac4d151f2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to