package/pulseview: fix patch
PATCH 1/1 package/pulseview: fix patch
Commit 4b7db318262a023a4a5396b06adafd9fd19d40a3 forgot to restore upstream patch
Fixes:
- http://autobuild.buildroot.org/results/589cfc6ea43dc5e714751f05be488f5c469641b9
Signed-off-by Fabrice Fontaine <[email protected]>
--- .../0001-Replace-obsolete-deprecated-Qt-methods.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch +4 -2
@@ -7,6 +7,8 @@ Subject: [PATCH] Replace obsolete/deprecated Qt methods ae726b70a7ada9a4be5808e00f0c951318479684, one conflict manually resolved in pv/util.cpp.] Signed-off-by: Thomas Petazzoni <[email protected]> +[Fabrice: restore original patch in pv/util.cpp for 0.4.2] +Signed-off-by: Fabrice Fontaine <[email protected]> --- pv/util.cpp | 21 +++++++++++++++++++-- pv/util.hpp | 10 ++++++++++
@@ -25,8 +27,8 @@ index 49b9467c..2a63038d 100644 if (sign && !v.is_zero()) - ts << forcesign; + ts.setNumberFlags(ts.numberFlags() | QTextStream::ForceSign); - ts << qSetRealNumberPrecision(precision) << (v * multiplier) << ' ' - << prefix << unit; + ts << qSetRealNumberPrecision(precision) << (v * multiplier); + ts << ' ' << prefix << unit; @@ -171,7 +171,7 @@ QString format_value_si(double v, SIPrefix prefix, unsigned precision, QString s;
Signature · 1 line
2.30.1
Yann E. MORIN
AppliedPATCH 1/1 package/pulseview: fix patch
Fabrice, All,
On 2021-03-25 08:34 +0100, Fabrice Fontaine spake thusly:
Quoted 7 lines
Commit
4b7db318262a023a4a5396b06adafd9fd19d40a3forgot to restore upstream patchFixes:
- http://autobuild.buildroot.org/results/589cfc6ea43dc5e714751f05be488f5c469641b9Signed-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 35 lines
--- .../0001-Replace-obsolete-deprecated-Qt-methods.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch +4
-2@@ -7,6 +7,8 @@ Subject: [PATCH] Replace obsolete/deprecated Qt methods ae726b70a7ada9a4be5808e00f0c951318479684, one conflict manually resolved in pv/util.cpp.] Signed-off-by: Thomas Petazzoni <[email protected]> +[Fabrice: restore original patch in pv/util.cpp for 0.4.2] +Signed-off-by: Fabrice Fontaine <[email protected]> --- pv/util.cpp | 21 +++++++++++++++++++-- pv/util.hpp | 10 ++++++++++@@ -25,8 +27,8 @@ index 49b9467c..2a63038d 100644 if (sign && !v.is_zero()) - ts << forcesign; + ts.setNumberFlags(ts.numberFlags() | QTextStream::ForceSign); - ts << qSetRealNumberPrecision(precision) << (v * multiplier) << ' ' - << prefix << unit; + ts << qSetRealNumberPrecision(precision) << (v * multiplier); + ts << ' ' << prefix << unit; @@ -171,7 +171,7 @@ QString format_value_si(double v, SIPrefix prefix, unsigned precision, QString s;Signature · 6 lines
2.30.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'