aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qt4-declarative
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2013-04-25 09:45:32 +0800
committerkevlo <kevlo@FreeBSD.org>2013-04-25 09:45:32 +0800
commite892ac84844fb3a84d939105119f2204a9a8b28a (patch)
tree468c5f0fb27150f4d9441804ecb57de3134e280f /devel/qt4-declarative
parent68ca3c7c60aa6678680c2ecfefb10125ac28445e (diff)
downloadfreebsd-ports-gnome-e892ac84844fb3a84d939105119f2204a9a8b28a.tar.gz
freebsd-ports-gnome-e892ac84844fb3a84d939105119f2204a9a8b28a.tar.zst
freebsd-ports-gnome-e892ac84844fb3a84d939105119f2204a9a8b28a.zip
Fix build with clang 3.3
Approved by: makc
Diffstat (limited to 'devel/qt4-declarative')
-rw-r--r--devel/qt4-declarative/files/patch-src-declarative-util-qdeclarativefontloader.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/qt4-declarative/files/patch-src-declarative-util-qdeclarativefontloader.cpp b/devel/qt4-declarative/files/patch-src-declarative-util-qdeclarativefontloader.cpp
new file mode 100644
index 000000000000..8628dd4a75b4
--- /dev/null
+++ b/devel/qt4-declarative/files/patch-src-declarative-util-qdeclarativefontloader.cpp
@@ -0,0 +1,20 @@
+--- src/declarative/util/qdeclarativefontloader.cpp.orig 2013-04-24 09:08:17.000000000 +0800
++++ src/declarative/util/qdeclarativefontloader.cpp 2013-04-24 09:09:13.000000000 +0800
+@@ -64,7 +64,7 @@
+ Q_OBJECT
+
+ public:
+- QDeclarativeFontObject(int _id);
++ QDeclarativeFontObject(int _id = -1);
+
+ void download(const QUrl &url, QNetworkAccessManager *manager);
+
+@@ -84,7 +84,7 @@
+ Q_DISABLE_COPY(QDeclarativeFontObject)
+ };
+
+-QDeclarativeFontObject::QDeclarativeFontObject(int _id = -1)
++QDeclarativeFontObject::QDeclarativeFontObject(int _id)
+ : QObject(0), id(_id), reply(0), redirectCount(0) {}
+
+