mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
- Fix build with Clang solving an ambiguity with parenthesis.
This commit is contained in:
parent
a0d909b284
commit
2769285c72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289246
@ -24,8 +24,8 @@ USE_PYTHON_BUILD= 2.5+
|
||||
USE_QT_VER= 4
|
||||
QT_COMPONENTS= dbus gui network qtestlib_build xml \
|
||||
moc_build qmake_build rcc_build uic_build
|
||||
MAKE_JOBS_SAFE= yes
|
||||
USE_CMAKE= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README html
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- ./TelepathyQt4/optional-interface-factory.h.orig 2012-01-13 15:03:15.336883448 +0100
|
||||
+++ ./TelepathyQt4/optional-interface-factory.h 2012-01-13 15:03:58.296892805 +0100
|
||||
@@ -97,7 +97,7 @@
|
||||
InterfaceSupportedChecking check = CheckInterfaceSupported) const
|
||||
{
|
||||
// Check for the remote object supporting the interface
|
||||
- QString name(QLatin1String(Interface::staticInterfaceName()));
|
||||
+ QString name( (QLatin1String(Interface::staticInterfaceName())) );
|
||||
if (check == CheckInterfaceSupported && !mInterfaces.contains(name)) {
|
||||
return 0;
|
||||
}
|
||||
@@ -113,7 +113,7 @@
|
||||
Q_UNUSED(interfaceMustBeASubclassOfAbstractInterface);
|
||||
|
||||
// If there is a interface cached already, return it
|
||||
- QString name(QLatin1String(Interface::staticInterfaceName()));
|
||||
+ QString name( (QLatin1String(Interface::staticInterfaceName())) );
|
||||
AbstractInterface *cached = getCached(name);
|
||||
if (cached)
|
||||
return static_cast<Interface *>(cached);
|
Loading…
Reference in New Issue
Block a user