svn commit: r537074 - head/science/pulseview/files
Tobias C. Berner
tcberner at FreeBSD.org
Sat May 30 10:09:52 UTC 2020
Author: tcberner
Date: Sat May 30 10:09:51 2020
New Revision: 537074
URL: https://svnweb.freebsd.org/changeset/ports/537074
Log:
science/pulseview: prepare for Qt5-5.15
Added:
head/science/pulseview/files/
head/science/pulseview/files/patch-pv_util.cpp (contents, props changed)
Added: head/science/pulseview/files/patch-pv_util.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/science/pulseview/files/patch-pv_util.cpp Sat May 30 10:09:51 2020 (r537074)
@@ -0,0 +1,20 @@
+--- pv/util.cpp.orig 2020-05-30 09:57:56 UTC
++++ pv/util.cpp
+@@ -137,7 +137,7 @@ QString format_time_si(const Timestamp& v, SIPrefix pr
+ QString s;
+ QTextStream ts(&s);
+ if (sign && !v.is_zero())
+- ts << forcesign;
++ ts << Qt::forcesign;
+ ts << qSetRealNumberPrecision(precision) << (v * multiplier);
+ ts << ' ' << prefix << unit;
+
+@@ -175,7 +175,7 @@ QString format_value_si(double v, SIPrefix prefix, uns
+ QString s;
+ QTextStream ts(&s);
+ if (sign && (v != 0))
+- ts << forcesign;
++ ts << Qt::forcesign;
+ ts.setRealNumberNotation(QTextStream::FixedNotation);
+ ts.setRealNumberPrecision(precision);
+ ts << (v * multiplier) << ' ' << prefix << unit;
More information about the svn-ports-head
mailing list