Index: head/math/minisat/Makefile =================================================================== --- head/math/minisat/Makefile (revision 459913) +++ head/math/minisat/Makefile (revision 459914) @@ -1,24 +1,24 @@ # Created by: Vsevolod Stakhov # $FreeBSD$ PORTNAME= minisat PORTVERSION= 2.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math devel MASTER_SITES= http://highsecure.ru/distfiles/ MAINTAINER= vsevolod@FreeBSD.org COMMENT= Minimalistic, open-source SAT solver LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake USE_LDCONFIG= yes MAKE_ENV= prefix=${PREFIX} CFLAGS="-std=c++03" post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ ${STAGEDIR}${PREFIX}/lib/libminisat.so .include Index: head/math/minisat/files/patch-minisat_core_Solver.cc =================================================================== --- head/math/minisat/files/patch-minisat_core_Solver.cc (nonexistent) +++ head/math/minisat/files/patch-minisat_core_Solver.cc (revision 459914) @@ -0,0 +1,19 @@ +--- minisat/core/Solver.cc.orig 2018-01-25 10:02:23.823406000 +0100 ++++ minisat/core/Solver.cc 2018-01-25 10:02:40.248326000 +0100 +@@ -992,11 +992,11 @@ + { + double cpu_time = cpuTime(); + double mem_used = memUsedPeak(); +- printf("restarts : %"PRIu64"\n", starts); +- printf("conflicts : %-12"PRIu64" (%.0f /sec)\n", conflicts , conflicts /cpu_time); +- printf("decisions : %-12"PRIu64" (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time); +- printf("propagations : %-12"PRIu64" (%.0f /sec)\n", propagations, propagations/cpu_time); +- printf("conflict literals : %-12"PRIu64" (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals); ++ printf("restarts : %" PRIu64"\n", starts); ++ printf("conflicts : %-12" PRIu64" (%.0f /sec)\n", conflicts , conflicts /cpu_time); ++ printf("decisions : %-12" PRIu64" (%4.2f %% random) (%.0f /sec)\n", decisions, (float)rnd_decisions*100 / (float)decisions, decisions /cpu_time); ++ printf("propagations : %-12" PRIu64" (%.0f /sec)\n", propagations, propagations/cpu_time); ++ printf("conflict literals : %-12" PRIu64" (%4.2f %% deleted)\n", tot_literals, (max_literals - tot_literals)*100 / (double)max_literals); + if (mem_used != 0) printf("Memory used : %.2f MB\n", mem_used); + printf("CPU time : %g s\n", cpu_time); + } Property changes on: head/math/minisat/files/patch-minisat_core_Solver.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property