File no-moc-date.diff of Package libqt4

--- src/tools/moc/moc.cpp
+++ src/tools/moc/moc.cpp
@@ -713,8 +713,8 @@ void Moc::generate(FILE *out)
         fn = filename.mid(i);
     fprintf(out, "/****************************************************************************\n"
             "** Meta object code from reading C++ file '%s'\n**\n" , (const char*)fn);
-    fprintf(out, "** Created: %s\n"
-            "**      by: The Qt Meta Object Compiler version %d (Qt %s)\n**\n" , dstr.data(), mocOutputRevision, QT_VERSION_STR);
+    fprintf(out, "** Created\n"
+            "**      by: The Qt Meta Object Compiler version %d (Qt %s)\n**\n" , mocOutputRevision, QT_VERSION_STR);
     fprintf(out, "** WARNING! All changes made in this file will be lost!\n"
             "*****************************************************************************/\n\n");
 
--- src/tools/uic/uic.cpp	2009-02-04 17:05:30.000000000 +0100
+++ src/tools/uic/uic.cpp	2009-02-06 18:12:25.506462000 +0100
@@ -134,7 +134,7 @@
         out << "/********************************************************************************\n";
         out << "** Form generated from reading ui file '" << QFileInfo(opt.inputFile).fileName() << "'\n";
         out << "**\n";
-        out << "** Created: " << QDateTime::currentDateTime().toString() << "\n";
+        out << "** Created\n";
         out << "**      " << QString::fromLatin1("by: Qt User Interface Compiler version %1\n").arg(QLatin1String(QT_VERSION_STR));
         out << "**\n";
         out << "** WARNING! All changes made in this file will be lost when recompiling ui file!\n";
--- tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp	2009-02-04 17:05:31.000000000 +0100
+++ tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp	2009-02-11 17:00:24.000000000 +0100
@@ -518,9 +518,11 @@
     } else {
         includeGuard = QLatin1String("QDBUSXML2CPP_PROXY");
     }
+/*  
     includeGuard = QString(QLatin1String("%1_%2"))
                    .arg(includeGuard)
                    .arg(QDateTime::currentDateTime().toTime_t());
+*/
     hs << "#ifndef " << includeGuard << endl
        << "#define " << includeGuard << endl
        << endl;
@@ -827,9 +829,11 @@
     } else {
         includeGuard = QLatin1String("QDBUSXML2CPP_ADAPTOR");
     }
+/*
     includeGuard = QString(QLatin1String("%1_%2"))
                    .arg(includeGuard)
                    .arg(QDateTime::currentDateTime().toTime_t());
+*/
     hs << "#ifndef " << includeGuard << endl
        << "#define " << includeGuard << endl
        << endl;
openSUSE Build Service is sponsored by