mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
5c16c7e505
Due to the change of default prefix from X11BASE to LOCALBASE, some other ports Makefile having dependancy to grapchics/netpbm may have to modify *_DEPENDS line. I'll update those ports in a minute. PR: 17742 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
22 lines
524 B
Plaintext
22 lines
524 B
Plaintext
--- pnm/pnmtotiffcmyk.c.orig Fri Mar 24 09:17:16 2000
|
|
+++ pnm/pnmtotiffcmyk.c Sat Apr 1 12:00:00 2000
|
|
@@ -57,7 +57,7 @@
|
|
|
|
#include "pnm.h"
|
|
#include <math.h>
|
|
-#ifdef __osf__
|
|
+#if defined(__osf__) || defined(__FreeBSD__)
|
|
#include <float.h>
|
|
#endif
|
|
#include <limits.h>
|
|
@@ -69,7 +69,9 @@
|
|
#define VERSION 1.01
|
|
|
|
/* beware - these evaluate more than once */
|
|
+#undef MAX
|
|
#define MAX(x, y) ( ( x ) > ( y ) ? ( x ) : ( y ) )
|
|
+#undef MIN
|
|
#define MIN(x, y) ( ( x ) < ( y ) ? ( x ) : ( y ) )
|
|
|
|
/* only support 8 bit values */
|