Bug 262468

Summary: kstars fails to build on DragonFly
Product: [Applications] kstars Reporter: peter
Component: generalAssignee: Akarsh Simha <akarsh.simha>
Status: RESOLVED FIXED    
Severity: normal CC: larrysarah69, mutlaqja
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: NetBSD pkgsrc   
OS: Other   
Latest Commit: Version Fixed In: 1212843
Attachments: kstars patch for DragonFly

Description peter 2011-01-08 00:33:54 UTC
Created attachment 55717 [details]
kstars patch for DragonFly

Version:           unspecified (using KDE 4.5.4) 
OS:                other

kstars attempts to use LONG_LONG_MAX on DragonFly.

Reproducible: Always

Steps to Reproduce:
compile kdeedu package on DragonFly.

Actual Results:  
[ 18%] Building CXX object kstars/kstars/htmesh/CMakeFiles/htmesh.dir
/HtmRange.o
/tmp/pkgsrc-work/misc/kdeedu4/work/kdeedu-4.5.4/kstars/kstars/htmesh/
HtmRange.cpp: In member function 'void HtmRange::purge()':
/tmp/pkgsrc-work/misc/kdeedu4/work/kdeedu-4.5.4/kstars/kstars/htmesh/
HtmRange.cpp:363: error: 'LONG_LONG_MAX' was not declared in this sco
pe
*** Error code 1

Expected Results:  
compile

Attached is a patch that uses LLONG_MAX for KEY_MAX instead of LONG_LONG_MAX like the other BSDs.
Comment 1 Akarsh Simha 2011-01-08 09:38:59 UTC
SVN commit 1212843 by asimha:

Applying Peter's patch for bug #262468, to fix build on
DragonFly. Thanks Peter!

Also, thanks Pino! What would we do without you! :)

CCBUG: 262468

 M  +1 -1      SkipListElement.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1212843
Comment 2 Akarsh Simha 2011-01-08 09:39:49 UTC
Also, I forgot to mention -- I haven't closed the bug. If you've checked that it builds, please close it.

Thanks.

Regards
Akarsh
Comment 3 peter 2011-01-08 09:51:05 UTC
It works...Thanks for the quick resolution!
Comment 4 Jekyll Wu 2012-06-24 00:42:58 UTC
*** Bug 302428 has been marked as a duplicate of this bug. ***