aboutsummaryrefslogtreecommitdiff
path: root/devel/qt4-linguist
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-04 23:30:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-04 23:30:38 +0000
commitd56984b0567867dd57ecb27fe0c508025c2426c5 (patch)
treeeb02dac4e0d7e5129ffac4c76b935a76a7e66676 /devel/qt4-linguist
parent98813eadd27b8cd8500044af2a49b6d861809815 (diff)
downloadports-d56984b0567867dd57ecb27fe0c508025c2426c5.tar.gz
ports-d56984b0567867dd57ecb27fe0c508025c2426c5.zip
Notes
Diffstat (limited to 'devel/qt4-linguist')
-rw-r--r--devel/qt4-linguist/files/patch-0185-fix-format-strings.diff18
-rw-r--r--devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp11
2 files changed, 21 insertions, 8 deletions
diff --git a/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff b/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff
index 3dfc822ed00d..ac6f68210fe1 100644
--- a/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff
+++ b/devel/qt4-linguist/files/patch-0185-fix-format-strings.diff
@@ -1,14 +1,16 @@
---- tools/linguist/shared/profileevaluator.h
-+++ tools/linguist/shared/profileevaluator.h
-@@ -88,7 +88,11 @@ protected:
-
+--- tools/linguist/shared/profileevaluator.h.orig 2008-04-28 09:11:21.000000000 -0400
++++ tools/linguist/shared/profileevaluator.h 2008-05-09 10:50:40.000000000 -0400
+@@ -112,7 +112,12 @@
private:
+ QStringList expandPattern(const QString &pattern);
void logMessage(const QString &msg, MessageType mt = MT_DebugLevel2);
- void logMessage(MessageType mt, const char *msg, ...);
+ void logMessage(MessageType mt, const char *msg, ...)
+#if defined(Q_CC_GNU) && !defined(__INSURE__)
-+ __attribute__ ((format (printf, 3, 4)))
++ __attribute__ ((format (printf, 3, 4)))
+#endif
-+ ;
- QString expandVariableReferences(const QString &value);
- QString evaluateExpandFunction(const QByteArray &func, const QString &arguments);
++ ;
++
+ QStringList expandVariableReferences(const QString &value);
+ QStringList evaluateExpandFunction(const QByteArray &func, const QString &arguments);
+
diff --git a/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp b/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp
new file mode 100644
index 000000000000..7535c1c2633b
--- /dev/null
+++ b/devel/qt4-linguist/files/patch-tools__linguist__linguist__trwindow.cpp
@@ -0,0 +1,11 @@
+--- ./tools/linguist/linguist/trwindow.cpp.orig 2008-04-28 17:11:21.000000000 +0400
++++ ./tools/linguist/linguist/trwindow.cpp 2008-06-17 01:02:02.000000000 +0400
+@@ -939,7 +939,7 @@
+ if (m_assistantProcess->state() != QProcess::Running) {
+ QString app = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator();
+ #if !defined(Q_OS_MAC)
+- app += QLatin1String("assistant");
++ app += QLatin1String("assistant-qt4");
+ #else
+ app += QLatin1String("Assistant.app/Contents/MacOS/Assistant");
+ #endif