summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-08-31 08:04:58 +0000
committerjlam <jlam@pkgsrc.org>2005-08-31 08:04:58 +0000
commitaf8a7fb4c1a6019ed5bada3149c18c791fc39a88 (patch)
tree0125c3cdebe7747492df8de451b1aa3efdf8d34b /graphics/netpbm/patches
parentcce38dcf19b45b5f656ffa069c4d0a37de4a0181 (diff)
downloadpkgsrc-af8a7fb4c1a6019ed5bada3149c18c791fc39a88.tar.gz
Using the included jasper library is a total crapshoot because netpbm
strips out the logic that determines which integer types are available, and yet building the jasper library relies on those integer types to be correctly provided. Just punt on the whole thing and use the graphics/jasper dependency instead. This fixes building netpbm on Solaris and older versions of FreeBSD. Bump the PKGREVISION to 1. The jasper library is only linked into two executables, so there is no need to do a recursive PKGREVISION bump.
Diffstat (limited to 'graphics/netpbm/patches')
-rw-r--r--graphics/netpbm/patches/patch-ah20
1 files changed, 14 insertions, 6 deletions
diff --git a/graphics/netpbm/patches/patch-ah b/graphics/netpbm/patches/patch-ah
index 52e42b26a2b..370fa54280b 100644
--- a/graphics/netpbm/patches/patch-ah
+++ b/graphics/netpbm/patches/patch-ah
@@ -1,15 +1,23 @@
-$NetBSD: patch-ah,v 1.6 2005/08/22 11:59:31 adam Exp $
+$NetBSD: patch-ah,v 1.7 2005/08/31 08:04:58 jlam Exp $
---- converter/other/cameratopam/camera.c.orig 2005-08-15 06:12:51.000000000 +0000
+--- converter/other/cameratopam/camera.c.orig Mon Aug 15 06:12:51 2005
+++ converter/other/cameratopam/camera.c
-@@ -22,6 +22,10 @@
+@@ -4,6 +4,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <assert.h>
++#include <sys/types.h>
+ #include <netinet/in.h>
- #include "camera.h"
+ #ifdef HAVE_JPEG
+@@ -21,6 +22,10 @@
+ #include "dng.h"
+ #include "camera.h"
++
+#ifdef __sun
+#define setenv(x, y, z) putenv(x"="y)
+#endif
-+
+
#if HAVE_INT64
typedef int64_t INT64;
- static bool const have64BitArithmetic = true;