diff options
Diffstat (limited to 'graphics/grads/files/patch-src_gxhpng.c')
-rw-r--r-- | graphics/grads/files/patch-src_gxhpng.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/grads/files/patch-src_gxhpng.c b/graphics/grads/files/patch-src_gxhpng.c new file mode 100644 index 000000000000..dddaf7b9edcb --- /dev/null +++ b/graphics/grads/files/patch-src_gxhpng.c @@ -0,0 +1,17 @@ +$FreeBSD$ + +--- src/gxhpng.c.orig Fri Mar 25 15:23:06 2005 ++++ src/gxhpng.c Fri Mar 25 15:23:48 2005 +@@ -377,7 +377,11 @@ + return (retcod); + } + +-int gdCompareInt(const void *a, const void *b); ++int gdCompareInt(const void *a, const void *b) ++{ ++ return (*(const int *)a) - (*(const int *)b); ++} ++ + + /* Version of gdImageFilledPolygon to invoke my local + version of gdImageLne. Nothing else changed... B.Doty 5/31/01 */ |