openbsd-ports/x11/qt4/patches/patch-tools_qdbus_qdbuscpp2xml_qdbuscpp2xml_cpp
espie 0e559ff0c3 update to 4.5.0
(ready for a gcc4 switch to enable webkit)

notice -phonon got scraped, because it becomes too hard to keep phonon out
of main qt tools way (like assistant on top of qtconfig)
2009-04-18 17:25:43 +00:00

13 lines
878 B
Plaintext

$OpenBSD: patch-tools_qdbus_qdbuscpp2xml_qdbuscpp2xml_cpp,v 1.2 2009/04/18 17:25:43 espie Exp $
--- tools/qdbus/qdbuscpp2xml/qdbuscpp2xml.cpp.orig Wed Feb 25 22:09:26 2009
+++ tools/qdbus/qdbuscpp2xml/qdbuscpp2xml.cpp Tue Mar 3 19:37:56 2009
@@ -396,7 +396,7 @@ int main(int argc, char **argv)
else {
// run moc on this file
QProcess proc;
- proc.start(QLibraryInfo::location(QLibraryInfo::BinariesPath) + QLatin1String("/moc"), QStringList() << QFile::decodeName(argv[i]), QIODevice::ReadOnly | QIODevice::Text);
+ proc.start(QLibraryInfo::location(QLibraryInfo::BinariesPath) + QLatin1String("/moc4"), QStringList() << QFile::decodeName(argv[i]), QIODevice::ReadOnly | QIODevice::Text);
if (!proc.waitForStarted()) {
fprintf(stderr, PROGRAMNAME ": could not execute moc! Aborting.\n");