aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-11-23 16:52:42 +0800
committerkevlo <kevlo@FreeBSD.org>2012-11-23 16:52:42 +0800
commit8870aa9374c4d48077d8944f56c5f3c8bb060f1c (patch)
treed07d0361174a68f2b57ab35ee8819e0f5b986479 /devel
parentb295034530c192bd230f7c6a8df45c7e4ca5392f (diff)
downloadfreebsd-ports-gnome-8870aa9374c4d48077d8944f56c5f3c8bb060f1c.tar.gz
freebsd-ports-gnome-8870aa9374c4d48077d8944f56c5f3c8bb060f1c.tar.zst
freebsd-ports-gnome-8870aa9374c4d48077d8944f56c5f3c8bb060f1c.zip
Apply an upstream patch that fixes warning with clang.
Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h b/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h
new file mode 100644
index 000000000000..215092bf9244
--- /dev/null
+++ b/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h
@@ -0,0 +1,11 @@
+--- src/corelib/tools/qsharedpointer_impl.h.orig 2012-11-23 15:08:47.000000000 +0800
++++ src/corelib/tools/qsharedpointer_impl.h 2012-11-23 15:10:22.000000000 +0800
+@@ -592,7 +592,7 @@
+ #ifndef QT_NO_QOBJECT
+ // special constructor that is enabled only if X derives from QObject
+ template <class X>
+- inline QWeakPointer(X *ptr) : d(ptr ? d->getAndRef(ptr) : 0), value(ptr)
++ inline QWeakPointer(X *ptr) : d(ptr ? Data::getAndRef(ptr) : 0), value(ptr)
+ { }
+ #endif
+ template <class X>