Files
qcdloop/qcdloop-fix-conflicting-types.patch
Atri Bhattacharya 3bd03d9249 * Update to version 2.1.0.
* Drop patches incorporated upstream: qcdloop-quadmath-linking.patch qcdloop-remove-march-mtune-flags.patch
* Re-base qcdloop-soversion.patch for update.
* Allow building for aarch64 as this is now allowed by upstream [gh#scarrazza/qcdloop#34]; still no support for ppc or power64, so these remain excluded.
* Implement %check section to run tests (only for %ix86, x86_64).

OBS-URL: https://build.opensuse.org/package/show/science/qcdloop?expand=0&rev=4
2025-05-04 14:29:08 +00:00

14 lines
500 B
Diff

Index: qcdloop-2.1.0/src/types.cc
===================================================================
--- qcdloop-2.1.0.orig/src/types.cc
+++ qcdloop-2.1.0/src/types.cc
@@ -14,7 +14,7 @@ namespace std
{
char buf[200];
std::ostringstream format;
- format << "%." << (std::min)(190L, out.precision()) << "Qe";
+ format << "%." << (std::min)(190L, (long int)out.precision()) << "Qe";
quadmath_snprintf(buf, 200, format.str().c_str(), f);
out << buf;
return out;