svn commit: r307673 - head/devel/qt4-corelib/files
Kevin Lo
kevlo at FreeBSD.org
Fri Nov 23 08:52:43 UTC 2012
Author: kevlo
Date: Fri Nov 23 08:52:42 2012
New Revision: 307673
URL: http://svnweb.freebsd.org/changeset/ports/307673
Log:
Apply an upstream patch that fixes warning with clang.
Feature safe: yes
Added:
head/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h (contents, props changed)
Added: head/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/qt4-corelib/files/patch-src__corelib__tools__qsharedpointer_impl.h Fri Nov 23 08:52:42 2012 (r307673)
@@ -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>
More information about the svn-ports-head
mailing list