Thu Nov 24 13:59:50 2011 UTC ()
Fix build with GCC 4.5
(joerg)
diff -r1.2 -r1.3 pkgsrc/graphics/metacam/distinfo
diff -r0 -r1.1 pkgsrc/graphics/metacam/patches/patch-datatiff.h
diff -r0 -r1.1 pkgsrc/graphics/metacam/patches/patch-dpyfuncs.cc
diff -r0 -r1.1 pkgsrc/graphics/metacam/patches/patch-edittiff.h
diff -r0 -r1.1 pkgsrc/graphics/metacam/patches/patch-metacam.cc
diff -r0 -r1.1 pkgsrc/graphics/metacam/patches/patch-ocontext.cc
--- pkgsrc/graphics/metacam/distinfo 2005/02/24 08:45:10 1.2
+++ pkgsrc/graphics/metacam/distinfo 2011/11/24 13:59:50 1.3
$NetBSD: patch-datatiff.h,v 1.1 2011/11/24 13:59:50 joerg Exp $
--- datatiff.h.orig 2011-11-24 02:20:21.000000000 +0000
+++ datatiff.h
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suit
#define DATATIFF_H_INCLUDED
#include "metatiff.h"
+#include <cstdlib>
class _DataIFD;
class _DataIFDEntry;
$NetBSD: patch-dpyfuncs.cc,v 1.1 2011/11/24 13:59:50 joerg Exp $
--- dpyfuncs.cc.orig 2011-11-24 02:18:52.000000000 +0000
+++ dpyfuncs.cc
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suit
#include <math.h>
#include <cstdio>
#include <ctype.h>
+#include <cstring>
#include "metacam.h"
#include "dpyfuncs.h"
$NetBSD: patch-edittiff.h,v 1.1 2011/11/24 13:59:50 joerg Exp $
--- edittiff.h.orig 2011-11-24 02:20:47.000000000 +0000
+++ edittiff.h
@@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suit
#define EDITTIFF_H_INCLUDED
#include "metatiff.h"
+#include <cstdlib>
class _EditIFD;
$NetBSD: patch-metacam.cc,v 1.1 2011/11/24 13:59:50 joerg Exp $
--- metacam.cc.orig 2011-11-24 02:18:33.000000000 +0000
+++ metacam.cc
@@ -27,6 +27,7 @@ Foundation, Inc., 59 Temple Place - Suit
#include <netinet/in.h>
#include <string.h>
#include <math.h>
+#include <cstdlib>
#include <map>
#include <vector>
$NetBSD: patch-ocontext.cc,v 1.1 2011/11/24 13:59:50 joerg Exp $
--- ocontext.cc.orig 2011-11-24 02:21:02.000000000 +0000
+++ ocontext.cc
@@ -25,6 +25,8 @@ static const char *rcsid __attribute__((
#include "odrivers.h"
#include <ctype.h>
+#include <cstdlib>
+#include <cstring>
OutputContext::~OutputContext()
{