+++ /dev/null
---- fltk-1.1.3/configure.in.orig 2003-05-16 21:54:53.000000000 +0200
-+++ fltk-1.1.3/configure.in 2003-05-16 21:56:13.000000000 +0200
-@@ -379,11 +379,11 @@
- AC_CHECK_HEADER(libpng/png.h, AC_DEFINE(HAVE_LIBPNG_PNG_H))
-
- if test x$ac_cv_header_png_h = xyes -o x$ac_cv_header_libpng_png_h = xyes; then
-- AC_CHECK_LIB(png, png_read_rows,
-+ AC_CHECK_LIB(png, png_read_rows,[
- AC_DEFINE(HAVE_LIBPNG)
- IMAGELIBS="-lpng $IMAGELIBS"
- LIBS="-lpng $LIBS"
-- AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha))
-+ AC_CHECK_FUNCS(png_get_valid png_set_tRNS_to_alpha)])
- fi
-
- dnl Restore original LIBS settings...
+++ /dev/null
---- fltk-1.1.3/fluid/Fl_Widget_Type.cxx.orig Tue Nov 5 07:45:40 2002
-+++ fltk-1.1.3/fluid/Fl_Widget_Type.cxx Thu Oct 30 17:15:34 2003
-@@ -1570,9 +1570,9 @@
- boxname(b->down_box()));
- }
- if (o->color() != tplate->color() || subclass())
-- write_c("%so->color(%d);\n", indent(), o->color());
-+ write_c("%so->color((Fl_Color)%d);\n", indent(), o->color());
- if (o->selection_color() != tplate->selection_color() || subclass())
-- write_c("%so->selection_color(%d);\n", indent(), o->selection_color());
-+ write_c("%so->selection_color((Fl_Color)%d);\n", indent(), o->selection_color());
- if (image) image->write_code();
- if (inactive) inactive->write_code(1);
- if (o->labeltype() != tplate->labeltype() || subclass())
-@@ -1583,7 +1583,7 @@
- if (o->labelsize() != tplate->labelsize() || subclass())
- write_c("%so->labelsize(%d);\n", indent(), o->labelsize());
- if (o->labelcolor() != tplate->labelcolor() || subclass())
-- write_c("%so->labelcolor(%d);\n", indent(), o->labelcolor());
-+ write_c("%so->labelcolor((Fl_Color)%d);\n", indent(), o->labelcolor());
- if (is_valuator()) {
- Fl_Valuator* v = (Fl_Valuator*)o;
- Fl_Valuator* f = (Fl_Valuator*)(tplate);
-@@ -1605,7 +1605,7 @@
- Fl_Font f; int s; Fl_Color c; textstuff(0,f,s,c);
- if (f != ff) write_c("%so->textfont(%d);\n", indent(), f);
- if (s != fs) write_c("%so->textsize(%d);\n", indent(), s);
-- if (c != fc) write_c("%so->textcolor(%d);\n",indent(), c);
-+ if (c != fc) write_c("%so->textcolor((Fl_Color)%d);\n",indent(), c);
- }}
- const char* ud = user_data();
- if (class_name(1) && !parent->is_widget()) ud = "this";