LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File xsidplay-1.6.5.2-gcc4.patch of Package xsidplay (Project DISCONTINUED:openSUSE:11.1)

--- src/HistoryDialog.h
+++ src/HistoryDialog.h
@@ -24,6 +24,8 @@
 #include "HistoryItem.h"
 #include "HistoryFile.h"
 
+class HistoryFile;
+
 class HistoryDialog : public HistoryDialogData
 {
     Q_OBJECT
--- src/songlendb/File.cpp
+++ src/songlendb/File.cpp
@@ -24,6 +24,7 @@
 #include <vector>
 #include <cctype>
 #include <fstream>
+#include <cstring>
 #ifdef XSID_HAVE_NOTHROW
 #include <new>
 #endif
--- src/wrapper/MD5.cpp
+++ src/wrapper/MD5.cpp
@@ -147,7 +147,7 @@
 void
 MD5::reset()
 {
-    count[0] = count[1] = count[2] = 0;
+    count[0] = count[1] = 0;
     abcd[0] = 0x67452301;
     abcd[1] = 0xefcdab89;
     abcd[2] = 0x98badcfe;