packages/net/rtorrent/patches/902-gcc_3.4.6_wstring_fix.patch
agb 6d11586abe [packages] net/rtorrent: fix compilation errors on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-28 01:59:31 +00:00

16 lines
369 B
Diff

--- 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;
}