don't try to use extended-precision isfinite. ok naddy@
This commit is contained in:
parent
a81b03d386
commit
9388d76aa7
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2008/07/27 00:05:24 jakemsr Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2008/07/30 17:12:24 martynas Exp $
|
||||
|
||||
COMMENT-main= high quality print drivers
|
||||
COMMENT-foomatic= Foomatic data for gutenprint drivers
|
||||
@ -6,7 +6,7 @@ COMMENT-gimp= Gimp print plug-in
|
||||
|
||||
V= 5.0.1
|
||||
DISTNAME= gutenprint-${V}
|
||||
PKGNAME-main= ${DISTNAME}p1
|
||||
PKGNAME-main= ${DISTNAME}p2
|
||||
PKGNAME-foomatic= foomatic-db-${DISTNAME}
|
||||
PKGNAME-gimp= gutenprint-gimp-${V}p1
|
||||
CATEGORIES= print
|
||||
|
12
print/gutenprint/patches/patch-src_main_sequence_c
Normal file
12
print/gutenprint/patches/patch-src_main_sequence_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_main_sequence_c,v 1.1 2008/07/30 17:12:24 martynas Exp $
|
||||
--- src/main/sequence.c.orig Mon Sep 18 05:21:12 2006
|
||||
+++ src/main/sequence.c Wed Jul 30 18:47:02 2008
|
||||
@@ -484,7 +484,7 @@ stp_sequence_set_##name##_data(stp_sequence_t *sequenc
|
||||
\
|
||||
/* Validate the data before we commit to it. */ \
|
||||
for (i = 0; i < count; i++) \
|
||||
- if (! isfinite(data[i]) || \
|
||||
+ if (! isfinite((double)data[i]) || \
|
||||
data[i] < sequence->blo || \
|
||||
data[i] > sequence->bhi) \
|
||||
return 0; \
|
Loading…
x
Reference in New Issue
Block a user