freebsd-ports/math/glucose/files/patch-utils_System.cc
Yuri Victorovich eb924c41bc New port: math/glucose: Parallel SAT solver based on Minisat, with glue clauses
See the full description here:
http://www.labri.fr/perso/lsimon/glucose/

Patches and build warnings were reported to the authors.

Submitted by:	myself
Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D14156
2018-02-03 20:59:14 +00:00

11 lines
365 B
C++

--- utils/System.cc.orig 2018-02-01 09:11:32 UTC
+++ utils/System.cc
@@ -78,7 +78,7 @@ double Glucose::memUsed(void) {
struct rusage ru;
getrusage(RUSAGE_SELF, &ru);
return (double)ru.ru_maxrss / 1024; }
-double MiniSat::memUsedPeak(void) { return memUsed(); }
+//double MiniSat::memUsedPeak(void) { return memUsed(); }
#elif defined(__APPLE__)