Bug 262468 - kstars fails to build on DragonFly
Summary: kstars fails to build on DragonFly
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: NetBSD pkgsrc Other
: NOR normal
Target Milestone: ---
Assignee: Akarsh Simha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-08 00:33 UTC by peter
Modified: 2012-06-24 00:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1212843
Sentry Crash Report:


Attachments
kstars patch for DragonFly (552 bytes, patch)
2011-01-08 00:33 UTC, peter
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***