Re: [E-devel] Proposed patch for imlib2-1.4.0 #2: Solaris 8 support

2007-08-24 Thread The Rasterman
On Tue, 21 Aug 2007 20:24:49 -0400 Brian Lindholm [EMAIL PROTECTED] babbled: ok- some of the ways you did things will probably break on other sun versions - eg 10. i can't test, but i can guess, so i've done this a different way so it will work both ways without a #ifdef sun... :) Solaris 8

[E-devel] Proposed patch for imlib2-1.4.0 #2: Solaris 8 support

2007-08-22 Thread Brian Lindholm
Solaris 8 doesn't have a round function and keeps rgb.txt in a different place. The attached patch addresses both these issues for Solaris. Brian Lindholm diff -dru imlib2-1.4.0-orig/src/lib/color_helpers.h imlib2-1.4.0/src/lib/color_helpers.h --- imlib2-1.4.0-orig/src/lib/color_helpers.h