summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch')
-rw-r--r--x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch b/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch
new file mode 100644
index 000000000000..0edf839f1220
--- /dev/null
+++ b/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch
@@ -0,0 +1,14 @@
+diff -ur fltk-1.1.7.orig/FL/Fl_Spinner.H fltk-1.1.7/FL/Fl_Spinner.H
+--- fltk-1.1.7.orig/FL/Fl_Spinner.H 2007-08-22 18:29:38.000000000 +0200
++++ fltk-1.1.7/FL/Fl_Spinner.H 2007-08-22 18:33:02.000000000 +0200
+@@ -128,8 +128,10 @@
+ const char *format() { return (format_); }
+ void format(const char *f) { format_ = f; update(); }
+ double maxinum() const { return (maximum_); }
++ double maximum() const { return (maximum_); }
+ void maximum(double m) { maximum_ = m; }
+ double mininum() const { return (minimum_); }
++ double minimum() const { return (minimum_); }
+ void minimum(double m) { minimum_ = m; }
+ void range(double a, double b) { minimum_ = a; maximum_ = b; }
+ void resize(int X, int Y, int W, int H) {