ports/devel/kf5/kdelibs4support/patches/patch-autotests_klocaletest_cpp

12 lines
723 B
Text

Index: autotests/klocaletest.cpp
--- autotests/klocaletest.cpp.orig
+++ autotests/klocaletest.cpp
@@ -1202,7 +1202,7 @@ KLocaleTest::formatByteSize()
QCOMPARE(locale.formatByteSize(5000000), QString("4.8 MiB"));
QCOMPARE(locale.formatByteSize(50000000), QString("47.7 MiB"));
QCOMPARE(locale.formatByteSize(500000000), QString("476.8 MiB"));
-#if (__WORDSIZE == 64) || defined (_LP64) || defined(__LP64__) || defined(__ILP64__)
+#if defined (_LP64) || defined(__LP64__) || defined(__ILP64__)
QCOMPARE(locale.formatByteSize(5000000000), QString("4.7 GiB"));
QCOMPARE(locale.formatByteSize(50000000000), QString("46.6 GiB"));
QCOMPARE(locale.formatByteSize(500000000000), QString("465.7 GiB"));