packages/net/rtorrent/patches/902-gcc_3.4.6_wstring_fix.patch

16 lines
369 B
Diff
Raw Normal View History

--- rtorrent-0.8.4_r1094/src/display/window_file_list.h 2009-06-18 02:53:53.000000000 -0700
+++ rtorrent-0.8.4_r1094/src/display/window_file_list.h 2009-06-19 00:52:30.000000000 -0700
@@ -39,6 +39,12 @@
#include "window.h"
+
+// two-bit hack for gcc 3.4.6
+namespace std {
+ typedef basic_string<wchar_t> wstring;
+}
+
namespace ui {
class ElementFileList;
}