Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 08:52:42 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307673 - head/devel/qt4-corelib/files
Message-ID:  <201211230852.qAN8qgQd075583@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211230852.qAN8qgQd075583>