Package: frobby / 0.9.0-2

Metadata

Package Version Patches format
frobby 0.9.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
add_unistd.h.patch | (download)

src/main.cpp | 1 1 + 0 - 0 !
src/randomDataGenerators.cpp | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 add unistd.h to includes.
 Avoids "'getpid was not declared in this scope" errors during build.
fix_conversion_error.patch | (download)

src/StatisticsStrategy.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix conversion error.
 Avoids the following error during build:
 src/StatisticsStrategy.cpp: In member function double StatisticsStrategy::StatTracker::getAvgSubGenCount() const:
 src/StatisticsStrategy.cpp:143:41: error: conversion from __gmp_expr<__mpq_struct [1], __gmp_binary_expr<__gmp_expr<__mpq_struct [1], __mpq_struct [1]>, __gmp_expr<__mpz_struct [1], __mpz_struct [1]>, __gmp_binary_divides> > to non-scalar type mpz_class {aka __gmp_expr<__mpz_struct [1], __mpz_struct [1]>} requested
     mpz_class q = mpq_class(_subGenSum) / _nodeCount;
                                  ^
fix_install.patch | (download)

Makefile | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 fix installation.
 In particular, don't use sudo and create installation directory.
link_gmp.patch | (download)

Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 link library against gmp.
 The libraries should appear after any object files that use them.  However,
 "-lgmp -lgmpxx" was part of the variable ldflags, which appeared before the
 object files.