Bug 156200 - sysconf(_SC_PHYS_PAGES) not supported everywhere
Summary: sysconf(_SC_PHYS_PAGES) not supported everywhere
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: NetBSD pkgsrc NetBSD
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-19 21:59 UTC by Mark Davies
Modified: 2008-01-25 01:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
patch for lack of sysconf(_SC_PHYS_PAGES) (959 bytes, patch)
2008-01-19 22:01 UTC, Mark Davies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Davies 2008-01-19 21:59:54 UTC
Version:            (using KDE 4.0.0)
Installed from:    NetBSD pkgsrc
OS:                NetBSD

_SC_PHYS_PAGES is not a standard argument to sysconf() so is not supported on all OS's, in my case NetBSD, causing the build of plasma/plasma/plasmaapp.cpp to fail.
I'll attach a patch that fixes this build failure for NetBSD and probably other BSD's.
Comment 1 Mark Davies 2008-01-19 22:01:22 UTC
Created attachment 23144 [details]
patch for lack of sysconf(_SC_PHYS_PAGES)
Comment 2 Aaron J. Seigo 2008-01-25 01:24:53 UTC
SVN commit 765989 by aseigo:

NetBSD build fix, based on patch by Mark Davies. thanks Mark =)

BUG:156200


 M  +23 -7     plasmaapp.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=765989