head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.1.0.8 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.6 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.4 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.2 pkgsrc-2011Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2012.01.12.22.59.58; author adam; state dead; branches; next 1.1; 1.1 date 2011.03.03.05.50.04; author adam; state Exp; branches; next ; desc @@ 1.2 log @Changes 4.8.0: Featuring Qt Platform Abstraction, threaded OpenGL support, multithreaded HTTP and optimized file system access. @ text @$NetBSD: patch-ce,v 1.1 2011/03/03 05:50:04 adam Exp $ Avoid error when compiling with Clang. --- src/gui/kernel/qcocoamenuloader_mac.mm.orig 2011-01-12 10:11:02.000000000 +0000 +++ src/gui/kernel/qcocoamenuloader_mac.mm @@@@ -70,13 +70,13 @@@@ QT_USE_NAMESPACE showAllItem = [[appMenu itemWithTitle:@@"Show All"] retain]; // Get the names in the nib to match the app name set by Qt. - NSString *appName = reinterpret_cast(QCFString::toCFStringRef(qAppName())); + const NSString *appName = reinterpret_cast(QCFString::toCFStringRef(qAppName())); [quitItem setTitle:[[quitItem title] stringByReplacingOccurrencesOfString:@@"NewApplication" - withString:appName]]; + withString:(NSString *)appName]]; [hideItem setTitle:[[hideItem title] stringByReplacingOccurrencesOfString:@@"NewApplication" - withString:appName]]; + withString:(NSString *)appName]]; [aboutItem setTitle:[[aboutItem title] stringByReplacingOccurrencesOfString:@@"NewApplication" - withString:appName]]; + withString:(NSString *)appName]]; [appName release]; // Disable the items that don't do anything. If someone associates a QAction with them // They should get synced back in. @ 1.1 log @Changes 4.7.2: This is a maintenance release which contains bug-fixes based on feedback and contributions since the Qt 4.7.1 release back in November. It also marks the official release of Qt Quick. Qt Quick is a new feature within Qt that makes it easy to create light-weight apps and UIs. It contains the new QML language, the Qt Declarative module, and new tooling in Qt Creator to easily build apps. PkgSrc: now builds with Clang. @ text @d1 1 a1 1 $NetBSD$ @