When installed from ports on an amd64 architecture, biology/crimap exits immediately with the following message. Your compiler uses a different size for integers; see documentation for changes that will have to be made in the source code The documentation referred to is http://linkage.rockefeller.edu/soft/crimap/tech6.html. Although the document addresses the case where an int is 16 bits while a long is 32 bits, on amd64/GCC, the difference is that an int is 32 bits and a long is 64 bits. The message is printed by the program after comparing the size of an ALLOC to the size of an INT. Both ALLOC and INT are typdef'ed in defs.h. Fix: Change the typedef of INT from int to long in file defs.h. A patch is included. Patch attached with submission follows: How-To-Repeat: Running crimap without arguments on amd64 will cause the program to terminate immediately.
Responsible Changed From-To: freebsd-ports-bugs->pgollucci I'll take it.
State Changed From-To: open->closed Committed. Thanks!
pgollucci 2010-01-16 17:54:38 UTC FreeBSD ports repository Modified files: biology/crimap Makefile Added files: biology/crimap/files patch-defs.h patch-our_allo.c patch-our_orde.c Log: - Fix on amd64 PR: ports/142472 Submitted by: Edmund Sumbar <esumbar@ualberta.ca> Revision Changes Path 1.9 +1 -0 ports/biology/crimap/Makefile 1.1 +11 -0 ports/biology/crimap/files/patch-defs.h (new) 1.1 +24 -0 ports/biology/crimap/files/patch-our_allo.c (new) 1.1 +24 -0 ports/biology/crimap/files/patch-our_orde.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"