[aur-requests] [PRQ#17812] Merge Request for wsjtx
notify at aur.archlinux.org
notify at aur.archlinux.org
Mon Feb 3 17:36:26 UTC 2020
nrdufour [1] filed a merge request for wsjtx [2]:
I managed to solve the compilation issue on `qt_helpers.hpp` with the
following patch file called `wsjtx.patch` being copied in the source
itself with the following content:
-------------------------------------------------------
--- a/qt_helpers.hpp 2019-11-26 09:22:32.000000000 -0500
+++ b/qt_helpers.hpp 2020-02-03 11:30:07.488214336 -0500
@@ -83,6 +83,7 @@
// std::hash<> specialization for QString based on the dbj2
// algorithm http://www.cse.yorku.ca/~oz/hash.html because
qHash()
// is poor on 64-bit platforms due to being a 32-bit hash value
+ #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
template<>
struct hash<QString>
{
@@ -96,6 +97,7 @@
return hash;
}
};
+#endif
}
// Register some useful Qt types with QMetaType
-------------------------------------------------------
then I added the following to the `PKGBUILD`:
-------------------------------------------------------
prepare() {
cp $srcdir/../wsjtx.patch $srcdir/wsjtx-2.1.2/wsjtx.patch
}
-------------------------------------------------------
[1] https://aur.archlinux.org/account/nrdufour/
[2] https://aur.archlinux.org/pkgbase/wsjtx/
More information about the aur-requests
mailing list