wxWidgets.
-- 
___________________________

Linux is like Wigwam. No Gates, No Windows, Apache Inside !!!

ftp.pld.robert74.one.pl
Index: wxWidgets.spec
===================================================================
RCS file: /cvsroot/SPECS/wxWidgets.spec,v
retrieving revision 1.43
diff -u -r1.43 wxWidgets.spec
--- wxWidgets.spec	3 Jan 2006 02:21:54 -0000	1.43
+++ wxWidgets.spec	20 Jan 2006 01:57:43 -0000
@@ -22,6 +22,7 @@
 Patch3:		%{name}-gif0delay.patch
 Patch4:		%{name}-x11unicode.patch
 Patch5:		%{name}-intl.patch
+Patch6:		%{name}-%{version}-gcc41.patch
 URL:		http://www.wxWidgets.org/
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
@@ -459,6 +460,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 echo 'AC_DEFUN([AM_PATH_GTK],[:])' > fake-am_path_gtk.m4
 
--- wxWidgets-2.6.2/src/common/uri.cpp	2005-08-13 02:24:13.000000000 +0200
+++ wxWidgets-2.6.2-gcc41/src/common/uri.cpp	2005-12-04 22:49:30.996859750 +0100
@@ -886,8 +886,8 @@
                     op += 3;
             }
 
-            m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
-                    m_path.substr((op - m_path.c_str()), m_path.Length());
+            m_path = (wxString)base.m_path.substr(0, bp - base.m_path.c_str()) +
+                    (wxString)m_path.substr((op - m_path.c_str()), m_path.Length());
         }
     }
 
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym