summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm/patches/patch-ah')
-rw-r--r--graphics/netpbm/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/netpbm/patches/patch-ah b/graphics/netpbm/patches/patch-ah
new file mode 100644
index 00000000000..fccae0e638e
--- /dev/null
+++ b/graphics/netpbm/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.5 2005/08/21 04:47:24 grant Exp $
+
+--- converter/other/cameratopam/camera.c.orig 2005-04-12 02:23:36.000000000 +1000
++++ converter/other/cameratopam/camera.c
+@@ -18,6 +18,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;