[Differential] [Request, 2 lines] D1437: Fix build kwin with new glibc/qt

stalkerg (Yury Zhuravlev) noreply at phabricator.kde.org
Sun Apr 17 16:21:38 UTC 2016


stalkerg created this revision.
stalkerg added a subscriber: graesslin.
stalkerg set the repository for this revision to rKWIN KWin.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  After update glibc to 2.23 and qt for 5.6.0 build kwin is failed.
  Main reason in that gcc can not find major and minor functions. (http://linux.die.net/man/3/major)
  After small investigation I understood why is happen.  Major and minor function declaration in sysmacros.h and nobody include their. Not in sys/* and not in kde or qt headers.
  
  That simple patch added include sysmacros.h to source.
  
  PS I was try find glibc changes who resulted in situation but I am failed.

REPOSITORY
  rKWIN KWin

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

AFFECTED FILES
  logind.cpp
  virtual_terminal.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: stalkerg
Cc: plasma-devel, graesslin, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160417/9bc8093b/attachment.html>


More information about the Plasma-devel mailing list