$NetBSD: patch-ah,v 1.8 2005/10/19 09:30:09 adam Exp $ --- converter/other/cameratopam/camera.c.orig 2005-09-17 21:51:41.000000000 +0000 +++ converter/other/cameratopam/camera.c @@ -23,6 +23,10 @@ #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;