diff options
author | leot <leot@pkgsrc.org> | 2015-11-02 18:42:50 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2015-11-02 18:42:50 +0000 |
commit | c2f82ae03d26134f17a691b8d0afbf7fe5ab0838 (patch) | |
tree | 1a2f40623b2618c3c337e102737fd9b51b02e8ce /graphics | |
parent | 810fa2944fdd651ae01ff81a7a24e2cf84294967 (diff) | |
download | pkgsrc-c2f82ae03d26134f17a691b8d0afbf7fe5ab0838.tar.gz |
INT_MIN and DBL_MIN are respectively included in <limits.h> and <float.h>.
Fixes build on Linux.
PKGREVISION++
Noted and patch provided by Matthias Ferdinand via pkgsrc-users@.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sane-backends/Makefile | 3 | ||||
-rw-r--r-- | graphics/sane-backends/distinfo | 4 | ||||
-rw-r--r-- | graphics/sane-backends/patches/patch-sanei_sanei__ir.c | 6 |
3 files changed, 8 insertions, 5 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index 0ec9e2212c5..14103834b5f 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -1,5 +1,6 @@ -# $NetBSD: Makefile,v 1.63 2015/10/25 10:39:13 wiz Exp $ +# $NetBSD: Makefile,v 1.64 2015/11/02 18:42:50 leot Exp $ +PKGREVISION= 1 .include "Makefile.common" COMMENT= API for access to scanners, digital cameras, frame grabbers, etc diff --git a/graphics/sane-backends/distinfo b/graphics/sane-backends/distinfo index ec74851b8ae..e10cdb5c2bb 100644 --- a/graphics/sane-backends/distinfo +++ b/graphics/sane-backends/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.38 2015/10/27 11:29:35 wiz Exp $ +$NetBSD: distinfo,v 1.39 2015/11/02 18:42:50 leot Exp $ SHA1 (sane-backends-1.0.25.tar.gz) = 05824922d91571e1fc2f5cdd270745783d593754 RMD160 (sane-backends-1.0.25.tar.gz) = 1cfd81eeddf3ef3c2cea98f6ca7640522b249fab @@ -14,4 +14,4 @@ SHA1 (patch-aj) = c2e0733796872f1b074d0491dea4cffa1891bccc SHA1 (patch-ak) = f00d3773c14f9955565debc0d16231906a2bba76 SHA1 (patch-backend_kodakaio.c) = f96af8b2fb0369f51d2320285253c5e67218e629 SHA1 (patch-backend_pieusb__buffer.c) = eef6201f7c13b40398f254c4d84369aa0d1a61d5 -SHA1 (patch-sanei_sanei__ir.c) = fef80a2fe854b0afd20849213feaa0c6282582ce +SHA1 (patch-sanei_sanei__ir.c) = 66e913d7db9d03a42850778aca39da8f0dde02fa diff --git a/graphics/sane-backends/patches/patch-sanei_sanei__ir.c b/graphics/sane-backends/patches/patch-sanei_sanei__ir.c index 9b2dae39430..34b44f847a8 100644 --- a/graphics/sane-backends/patches/patch-sanei_sanei__ir.c +++ b/graphics/sane-backends/patches/patch-sanei_sanei__ir.c @@ -1,15 +1,17 @@ -$NetBSD: patch-sanei_sanei__ir.c,v 1.2 2015/10/27 11:29:35 wiz Exp $ +$NetBSD: patch-sanei_sanei__ir.c,v 1.3 2015/11/02 18:42:50 leot Exp $ Remove unportable header inclusion. https://alioth.debian.org/tracker/index.php?func=detail&aid=315208&group_id=30186&atid=410366 --- sanei/sanei_ir.c.orig 2015-09-29 01:10:43.000000000 +0000 +++ sanei/sanei_ir.c -@@ -29,7 +29,6 @@ +@@ -29,7 +29,8 @@ #include <stdlib.h> #include <string.h> -#include <values.h> ++#include <limits.h> ++#include <float.h> #include <math.h> #define BACKEND_NAME sanei_ir /* name of this module for debugging */ |