SOURCES: wxWidgets-gcc4.patch (NEW) - hack to build with gcc 4

qboosh qboosh at pld-linux.org
Wed Feb 1 19:18:33 CET 2006


Author: qboosh                       Date: Wed Feb  1 18:18:33 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- hack to build with gcc 4

---- Files affected:
SOURCES:
   wxWidgets-gcc4.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/wxWidgets-gcc4.patch
diff -u /dev/null SOURCES/wxWidgets-gcc4.patch:1.1
--- /dev/null	Wed Feb  1 19:18:33 2006
+++ SOURCES/wxWidgets-gcc4.patch	Wed Feb  1 19:18:28 2006
@@ -0,0 +1,11 @@
+--- wxWidgets-2.6.2/src/common/uri.cpp.orig	2006-02-01 08:34:16.664085500 +0100
++++ wxWidgets-2.6.2/src/common/uri.cpp	2006-02-01 08:27:23.390257500 +0100
+@@ -886,7 +886,7 @@
+                     op += 3;
+             }
+ 
+-            m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
++            m_path = (const wxString)base.m_path.substr(0, bp - base.m_path.c_str()) +
+                     m_path.substr((op - m_path.c_str()), m_path.Length());
+         }
+     }
================================================================


More information about the pld-cvs-commit mailing list