summaryrefslogtreecommitdiffstats
path: root/extra/xfe/gcc44.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xfe/gcc44.patch')
-rw-r--r--extra/xfe/gcc44.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/xfe/gcc44.patch b/extra/xfe/gcc44.patch
new file mode 100644
index 000000000..bd8e783d3
--- /dev/null
+++ b/extra/xfe/gcc44.patch
@@ -0,0 +1,11 @@
+--- xfe-1.19.2/src/ViewWindow.cpp 2008-07-17 13:13:18.000000000 +0000
++++ xfe-1.19.2/src/ViewWindow.cpp.new 2009-07-28 20:51:36.000000000 +0000
+@@ -655,7 +655,7 @@
+ {
+ FXString buf=viewer->getText();
+ const char* text=buf.text();
+- char *p = strstr(&text[pos],str.text());
++ const char *p = strstr(&text[pos],str.text());
+ if(!p)
+ return -1;
+ return (p-text);