Dear GIMP and GTK maintainers, developers, etc:

Over the past week I have labored to compile the GIMP 0.99.14 on my 
computer at work.  The included patches are the fruit of my efforts.  These 
patches were developed in order to compile GIMP on a system running SunOS 
4.1.4.  Although many of the issues addressed are specific to compiling 
under SunOS, I believe I have found a few other issues which are real "bug 
fixes."  These have been marked as such.  Below, I cover each patch and each
file that the patch will modify, with an explanation of the problem being 
addressed.  I also try to make a recommendation on improving on my work 
where possible - some of my changes are hacks just to get things running.

I hope that my work will aid in improving GIMP's cross-platform 
compatibility.

I'm sorry I don't really have the time to help "develop" the GIMP, but of
course if any of these changes are integrated into a future release of GIMP
then I'll be happy to test compile and play with it a while.

Sincerely, 
John R. Johns II
john_johns@credence.com / marten@best.com

============= Changes by gtk-john_johns-971017-0.patch =============

File     : gdk/gdkpixmap.c
Change   : Include unistd.h.  SEEK_SET, SEEK_CUR, and SEEK_END are defined in
           this file in SunOS.

File     : gdk/gdkprivate.h
Change   : #undef XEvent.  For some reason, when Xlib.h loaded, this was
           already defined.  I think there's a more serious configuration
           error afoot here, but this did the trick for me.
Recommend: Find out why XEvent was already defined.

File     : glib/garray.c
Change   : memmove() does not exist under SunOS 4.x.  A substitute is
           provided.
Recommend: Possibly pull function out of GNU C library and include when
           configure does not find it available.

File     : glib/gstring.c
Change   : memmove() does not exist under SunOS 4.x.  A substitute is
           provided.
Recommend: Possibly pull function out of GNU C library and include when
           configure does not find it available.

File     : gtk/gtktext.c
Change   : memmove() does not exist under SunOS 4.x.  A substitute is
           provided.
Recommend: Possibly pull function out of GNU C library and include when
           configure does not find it available.

