diff --git a/qt-x11-free-3.3.8b-#1037297.patch b/qt-x11-free-3.3.8b-#1037297.patch index a84cebe..3d51578 100644 --- a/qt-x11-free-3.3.8b-#1037297.patch +++ b/qt-x11-free-3.3.8b-#1037297.patch @@ -1,3 +1,33 @@ +diff -ur qt-x11-free-3.3.8b/src/moc/moc.y qt-x11-free-3.3.8b-#1037297/src/moc/moc.y +--- qt-x11-free-3.3.8b/src/moc/moc.y 2008-01-15 20:09:13.000000000 +0100 ++++ qt-x11-free-3.3.8b-#1037297/src/moc/moc.y 2014-01-14 03:22:20.000000000 +0100 +@@ -2831,11 +2831,6 @@ + + void generateClass() // generate C++ source code for a class + { +- const char *hdr1 = "/****************************************************************************\n" +- "** %s meta object code from reading C++ file '%s'\n**\n"; +- const char *hdr2 = "** Created: %s\n" +- const char *hdr3 = "** WARNING! All changes made in this file will be lost!\n"; +- const char *hdr4 = "*****************************************************************************/\n\n"; + int i; + + if ( skipClass ) // don't generate for class +@@ -2871,10 +2866,10 @@ + i--; // skip path + if ( i >= 0 ) + fn = &g->fileName[i]; +- fprintf( out, hdr1, (const char*)qualifiedClassName(),(const char*)fn); +- fprintf( out, hdr2, (const char*)dstr ); +- fprintf( out, hdr3 ); +- fprintf( out, hdr4 ); ++ fprintf( out, "/****************************************************************************\n** %s meta object code from reading C++ file '%s'\n**\n", (const char*)qualifiedClassName(),(const char*)fn); ++ fprintf( out, "** Created: %s\n", (const char*)dstr ); ++ fprintf( out, "** WARNING! All changes made in this file will be lost!\n" ); ++ fprintf( out, "*****************************************************************************/\n\n" ); + + if ( !g->noInclude ) { + /* diff -ur qt-x11-free-3.3.8b/src/tools/qgcache.cpp qt-x11-free-3.3.8b-#1037297/src/tools/qgcache.cpp --- qt-x11-free-3.3.8b/src/tools/qgcache.cpp 2008-01-15 20:09:13.000000000 +0100 +++ qt-x11-free-3.3.8b-#1037297/src/tools/qgcache.cpp 2014-01-14 03:10:08.000000000 +0100