[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    D6024: Fix detection of sys/event.h on FreeBSD < 12
From:       "Tobias C. Berner" <noreply () phabricator ! kde ! org>
Date:       2017-05-30 12:04:43
Message-ID: differential-rev-PHID-DREV-mda733vy7wxlpwaldzun-req () phabricator ! kde ! org
[Download RAW message or body]

tcberner created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Unfortunately I only tested the kevent stuff on FreeBSD 12. FreeBSD < 12 has an \
older clang, which seems to add less headers automatically.  
  The call to `check_include_file(sys/event.h)` fails as it's missing `sys/types.h`.
  So change this to `check_include_files(sys/types.h;sys/event.h)`.

REPOSITORY
  R133 KScreenLocker

BRANCH
  Plasma/5.10

REVISION DETAIL
  https://phabricator.kde.org/D6024

AFFECTED FILES
  CMakeLists.txt

To: tcberner, #freebsd
Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, \
jensreuterberg, abetts, sebas, apol, mart, lukas


[Attachment #3 (unknown)]

<table><tr><td style="">tcberner created this revision.<br />Restricted Application \
added a project: Plasma.<br />Restricted Application added a subscriber: \
plasma-devel. </td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px \
8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D6024" rel="noreferrer">View \
Revision</a></tr></table><br /><div><strong>REVISION \
SUMMARY</strong><div><p>Unfortunately I only tested the kevent stuff on FreeBSD 12. \
FreeBSD &lt; 12 has an older clang, which seems to add less headers \
automatically.</p>

<p>The call to <tt style="background: #ebebeb; font-size: \
13px;">check_include_file(sys/event.h)</tt> fails as it&#039;s missing <tt \
style="background: #ebebeb; font-size: 13px;">sys/types.h</tt>.<br /> So change this \
to <tt style="background: #ebebeb; font-size: \
13px;">check_include_files(sys/types.h;sys/event.h)</tt>.</p></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>Plasma/5.10</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D6024" \
rel="noreferrer">https://phabricator.kde.org/D6024</a></div></div><br \
/><div><strong>AFFECTED FILES</strong><div><div>CMakeLists.txt</div></div></div><br \
/><div><strong>To: </strong>tcberner, FreeBSD<br /><strong>Cc: </strong>plasma-devel, \
ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, \
apol, mart, lukas<br /></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic