File modern-QT.patch of Package guymager
diff -Pdpru guymager-0.6.5.orig/aewf.cpp guymager-0.6.5/aewf.cpp
--- guymager-0.6.5.orig/aewf.cpp 2012-02-28 02:33:59.000000000 -0500
+++ guymager-0.6.5/aewf.cpp 2012-03-01 17:07:25.000000000 -0500
@@ -46,19 +46,6 @@
// ------------------
-// Qt
-// ------------------
-
-// Qt inconsistently defines its little/big endian functions, see QTBUG-21208 on bugreports.qt.nokia.com
-// The following lines implement conversin for uchar and avoid the problems.
-
-template <typename T> T qbswap(T source);
-template <> inline uchar qbswap<uchar>(uchar source)
-{
- return source;
-}
-
-// ------------------
// AEWF definitions
// ------------------