aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2016-01-21 18:45:01 +0800
committerrakuco <rakuco@FreeBSD.org>2016-01-21 18:45:01 +0800
commita84b823202acc6efd5b331f88aeb55d3a69b772d (patch)
tree872aec1f76c25ff9deb3faa8be31a8c2dcf721a3 /comms
parent7f04116bfe196330d0d42fa58f33d5600655493a (diff)
downloadfreebsd-ports-gnome-a84b823202acc6efd5b331f88aeb55d3a69b772d.tar.gz
freebsd-ports-gnome-a84b823202acc6efd5b331f88aeb55d3a69b772d.tar.zst
freebsd-ports-gnome-a84b823202acc6efd5b331f88aeb55d3a69b772d.zip
Add patch to fix the build with the upcoming Qt 5.5.1.
./WFPalette.hpp:53:1: error: unknown type name 'Q_DECLARE_METATYPE' Q_DECLARE_METATYPE (WFPalette::Colours);
Diffstat (limited to 'comms')
-rw-r--r--comms/wsjtx/files/patch-WFPalette.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/comms/wsjtx/files/patch-WFPalette.hpp b/comms/wsjtx/files/patch-WFPalette.hpp
new file mode 100644
index 000000000000..31235ea3f1f7
--- /dev/null
+++ b/comms/wsjtx/files/patch-WFPalette.hpp
@@ -0,0 +1,14 @@
+Fix build with Qt >= 5.5:
+
+./WFPalette.hpp:53:1: error: unknown type name 'Q_DECLARE_METATYPE'
+Q_DECLARE_METATYPE (WFPalette::Colours);
+--- WFPalette.hpp.orig 2016-01-21 09:38:31 UTC
++++ WFPalette.hpp
+@@ -4,6 +4,7 @@
+ #include <QList>
+ #include <QVector>
+ #include <QColor>
++#include <QMetaType>
+
+ class QString;
+