Summary: | Baloo does not compile on non-Linux platforms | ||
---|---|---|---|
Product: | [Unmaintained] Baloo | Reporter: | Nicolas Pavillon <nicos> |
Component: | General | Assignee: | Vishesh Handa <me> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arthur, iandw.au, niederstrasser |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | MacPorts | ||
OS: | macOS | ||
Latest Commit: | http://commits.kde.org/baloo/a1d2889e3128709eac833ad1660a595c773f4552 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Suppresses use of malloc_trim on non-GNU/Linux platforms |
Description
Nicolas Pavillon
2014-04-25 14:12:31 UTC
Provide a patch? I am not in a position to provide a patch which is functionally equivalent, as the malloc_trim() function does not have direct analogs on other platforms. The attached patch ensures compilation by suppressing the function on other platforms. Created attachment 86288 [details]
Suppresses use of malloc_trim on non-GNU/Linux platforms
Git commit a1d2889e3128709eac833ad1660a595c773f4552 by Vishesh Handa. Committed on 12/05/2014 at 11:25. Pushed by vhanda into branch 'KDE/4.13'. XapianDB: We only need the headers for malloc_trim M +2 -0 src/xapian/xapiandatabase.cpp http://commits.kde.org/baloo/a1d2889e3128709eac833ad1660a595c773f4552 This conflicts with a similar change in the master branch to get around the same problem in FreeBSD. Refer to https://git.reviewboard.kde.org/r/117187/ and commit ad0c5818 of 15 May. Vishesh, please could you reconcile these changes? In commit a1d2889e3128709eac833ad1660a595c773f4552, #include <unistd.h> needs to be kept outside the #ifdef. Otherwise the build fails on OS X 10.9 with use of undeclared identifier 'usleep'. |