]> git.pld-linux.org Git - packages/alsaplayer.git/commitdiff
- fix for gcc 31
authorfilon <filon@sokrates.mimuw.edu.pl>
Tue, 21 May 2002 05:08:51 +0000 (05:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsaplayer-c++.patch -> 1.2

alsaplayer-c++.patch

index 63569c0cd6d3aa78e483234b541f6454e071bd45..eefa678db8fad7b444f5f1eeb43be61276f427b3 100644 (file)
@@ -1,12 +1,20 @@
-diff -urN alsaplayer-0.99.52-cvs20011126-jack/app/Main.cpp alsaplayer-0.99.52-cvs20011126-jack-new/app/Main.cpp
---- alsaplayer-0.99.52-cvs20011126-jack/app/Main.cpp   Thu Jan 24 12:45:46 2002
-+++ alsaplayer-0.99.52-cvs20011126-jack-new/app/Main.cpp       Thu Jan 24 13:06:45 2002
-@@ -47,6 +47,8 @@
- #include "utilities.h"
- #include "error.h"
-+#include <cstdarg>
-+
- Playlist * playlist = NULL;
- int global_reverb_on = 0;
+--- alsaplayer-0.99.70/interface/gtk/PlaylistWindow.cpp~       Mon May 13 15:31:56 2002
++++ alsaplayer-0.99.70/interface/gtk/PlaylistWindow.cpp        Sun May 19 00:36:16 2002
+@@ -149,7 +149,7 @@
+       gtk_clist_freeze(GTK_CLIST(gtkpl->playlist_list));
+       if (item.title.size()) {
+               sprintf(tmp, "%s %s", item.title.c_str(),
+-                      item.artist.size() ? (string("- ") + item.artist).c_str() : "");
++                      item.artist.size() ? (std::string("- ") + item.artist).c_str() : "");
+               gtk_clist_set_text(GTK_CLIST(gtkpl->playlist_list), position,
+                               1, g_strdup(tmp));
+       }
+@@ -438,7 +438,7 @@
+                       filename = (gchar *)g_strdup(new_path);
+       if (item->title.size()) {
+               sprintf(pt, "%s %s", item->title.c_str(), 
+-                      item->artist.size() ? (string("- ") + item->artist).c_str() :
++                      item->artist.size() ? (std::string("- ") + item->artist).c_str() :
+                               "");
+       } else {
+               sprintf(pt, "%s", filename);
This page took 0.02711 seconds and 4 git commands to generate.