summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-av
blob: b3ff68b01d9e66a5fcc783c05832d096cf9a0e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-av,v 1.4 2006/10/03 23:01:25 schwarz Exp $

--- other/pnmcolormap.c.orig	2006-10-03 17:57:34.000000000 +0200
+++ other/pnmcolormap.c	2006-10-03 17:58:12.000000000 +0200
@@ -169,7 +169,9 @@
 typedef int qsort_comparison_fn(const void *, const void *);
     /* A collation function to be used as argument to qsort() */
 
+#ifndef SGI_IDO_CC
 static qsort_comparison_fn compareplane;
+#endif
 
 static unsigned int compareplanePlane;
     /* This is a parameter to compareplane().  We use this global variable
@@ -189,7 +191,9 @@
 
 
 
+#ifndef SGI_IDO_CC
 static qsort_comparison_fn sumcompare;
+#endif
 
 static int
 sumcompare(const void * const b1, const void * const b2) {