Summary: | games-mud/crystal ~amd64 compile fix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dave V <dave> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Low | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Fixed in 01 May 2008 by Tristan Heaven |
A one line fix makes crystal nice and stable on amd64. (not sure how/why this would compile on x86 and not amd64 or any other arch). $ make g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"\" -DPACKAGE=\"crystal\" -g -O2 -c Socket.cc Socket.cc: In member function 'int Socket::read(char*, int)': Socket.cc:216: error: cannot convert 'size_t*' to 'socklen_t*' for argument '5' to 'int getsockopt(int, int, int, void*, socklen_t*)' make: *** [Socket.o] Error 1 $ diff Socket.cc Socket.cc.new 215c215 < size_t osz = sizeof(int); --- > socklen_t osz = sizeof(int);