spack/var/spack/repos/builtin/packages/bamutil/libstatgen-issue-9.patch
George Hartzell 62daeaa525 Add package for bamutil (#4387)
*Minimally* tested on CentOS 7.

Stole the `install_target` bit from zip....
2017-05-29 15:36:18 -05:00

12 lines
387 B
Diff

--- a/libStatGen/general/PedigreeLoader.cpp 2017-05-29 11:08:07.627528417 -0700
+++ b/libStatGen/general/PedigreeLoader.cpp 2017-05-29 11:08:36.247547411 -0700
@@ -636,7 +636,7 @@
return 2;
default :
{
- bool result = atoi(code);
+ int result = atoi(code);
if (result != 0 && result != 1 && result != 2)
{