[mythtv] [PATCH] Compile fixes for RH9, plus problem with configure

Tony Lill ajlill at ajlc.waterloo.on.ca
Fri Apr 15 04:49:17 UTC 2005


Here's the changes I made to reolve a couple of compile problems on
redhat 9. The cast in the second patch may need to be something else.

Also, the new configure system does not include -lXrandr in the
libraries to be linked.


? patch
? programs/mythfilldatabase/patch
Index: libs/libmyth/settings.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmyth/settings.cpp,v
retrieving revision 1.96
diff -u -r1.96 settings.cpp
--- libs/libmyth/settings.cpp	10 Apr 2005 14:36:08 -0000	1.96
+++ libs/libmyth/settings.cpp	15 Apr 2005 04:38:09 -0000
@@ -928,7 +928,7 @@
     if (query.isActive() && query.size() > 0) {
         // Row already exists
         querystr = QString("UPDATE %1 SET %2 WHERE %3;")
-            .arg(table, setClause(), whereClause());
+            .arg(table).arg(setClause()).arg(whereClause());
         query.exec(querystr);
         if (!query.isActive())
             MythContext::DBError("simpledbstorage update", querystr);
Index: libs/libmythtv/NuppelVideoPlayer.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp,v
retrieving revision 1.453
diff -u -r1.453 NuppelVideoPlayer.cpp
--- libs/libmythtv/NuppelVideoPlayer.cpp	9 Apr 2005 19:48:08 -0000	1.453
+++ libs/libmythtv/NuppelVideoPlayer.cpp	15 Apr 2005 04:38:31 -0000
@@ -3744,7 +3744,7 @@
                 {
                     JobQueue::ChangeJobComment(jobID, QObject::tr(
                                                "%1 Frames Completed @ %2 fps.")
-                                               .arg(currentFrame->frameNumber)
+                                               .arg((int)currentFrame->frameNumber)
                                                .arg(flagFPS));
                 }
             }


More information about the mythtv-dev mailing list