Bug 156200

Summary: sysconf(_SC_PHYS_PAGES) not supported everywhere
Product: [Unmaintained] plasma4 Reporter: Mark Davies <mark>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: NetBSD pkgsrc   
OS: NetBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch for lack of sysconf(_SC_PHYS_PAGES)

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