aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/fl_editor
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-12-21 16:06:50 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-12-21 16:06:50 +0000
commitb2683a0816c4553a63c035e27dd0583a6db8c9ce (patch)
tree9fe1a560b8fe5989e88284e559783d76cc337f74 /x11-toolkits/fl_editor
parentd6d0dde5583c5d0389ead33a4532bb8e83342d10 (diff)
downloadports-b2683a0816c4553a63c035e27dd0583a6db8c9ce.tar.gz
ports-b2683a0816c4553a63c035e27dd0583a6db8c9ce.zip
Notes
Diffstat (limited to 'x11-toolkits/fl_editor')
-rw-r--r--x11-toolkits/fl_editor/files/patch-FL-wstring.h11
-rw-r--r--x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h11
-rw-r--r--x11-toolkits/fl_editor/files/patch-fltk-wstring.h11
3 files changed, 33 insertions, 0 deletions
diff --git a/x11-toolkits/fl_editor/files/patch-FL-wstring.h b/x11-toolkits/fl_editor/files/patch-FL-wstring.h
new file mode 100644
index 000000000000..10137d494153
--- /dev/null
+++ b/x11-toolkits/fl_editor/files/patch-FL-wstring.h
@@ -0,0 +1,11 @@
+--- FL/wstring.h.orig Thu Dec 21 16:56:48 2006
++++ FL/wstring.h Thu Dec 21 16:57:03 2006
+@@ -88,7 +88,7 @@
+ long operator>(const char *str) const { return (strcmp(buffer,str) > 0); };
+ long operator==(const char *str) const { return (strcmp(buffer,str) == 0); };
+ wString& operator=(const char *str) { SSet(str); return (*this); };
+- RCLDLL wString& wString::operator=(const wString& str) { SSet(str.buffer); return (*this); }
++ RCLDLL wString& operator=(const wString& str) { SSet(str.buffer); return (*this); }
+ wString& operator=(const unsigned char *str) { SSet((const char *)str); return *this; };
+ operator const char *() const { return Get(); };
+ wString& ToUpper() { strupr(buffer); return *this; };
diff --git a/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h b/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h
new file mode 100644
index 000000000000..cca3a5444c79
--- /dev/null
+++ b/x11-toolkits/fl_editor/files/patch-fltk-Fl_Editor.h
@@ -0,0 +1,11 @@
+--- fltk/Fl_Editor.h.orig Thu Dec 21 16:37:24 2006
++++ fltk/Fl_Editor.h Thu Dec 21 16:55:36 2006
+@@ -186,7 +186,7 @@
+ FL_API long FindRow(short screenY);
+ FL_API void HandleScroll();
+ FL_API void Cut();
+- static FL_API void Fl_Editor::draw_clip(void *v, int X, int Y, int W, int H);
++ static FL_API void draw_clip(void *v, int X, int Y, int W, int H);
+ FL_API void resize(int x, int y, int w, int h);
+ #if (FL_MAJOR_VERSION > 1)
+ void layout(){ Fl_Group::layout(); resize(x(), y(),w(), h()); redraw(); }
diff --git a/x11-toolkits/fl_editor/files/patch-fltk-wstring.h b/x11-toolkits/fl_editor/files/patch-fltk-wstring.h
new file mode 100644
index 000000000000..9a7de7d66410
--- /dev/null
+++ b/x11-toolkits/fl_editor/files/patch-fltk-wstring.h
@@ -0,0 +1,11 @@
+--- fltk/wstring.h.orig Thu Dec 21 17:03:29 2006
++++ fltk/wstring.h Thu Dec 21 17:03:41 2006
+@@ -88,7 +88,7 @@
+ long operator>(const char *str) const { return (strcmp(buffer,str) > 0); };
+ long operator==(const char *str) const { return (strcmp(buffer,str) == 0); };
+ wString& operator=(const char *str) { SSet(str); return (*this); };
+- RCLDLL wString& wString::operator=(const wString& str) { SSet(str.buffer); return (*this); }
++ RCLDLL wString& operator=(const wString& str) { SSet(str.buffer); return (*this); }
+ wString& operator=(const unsigned char *str) { SSet((const char *)str); return *this; };
+ operator const char *() const { return Get(); };
+ wString& ToUpper() { strupr(buffer); return *this; };