diff options
author | grant <grant> | 2005-08-21 04:47:24 +0000 |
---|---|---|
committer | grant <grant> | 2005-08-21 04:47:24 +0000 |
commit | 81400706f7574b6d139d2e26f11a24b04e847933 (patch) | |
tree | a06fe27d714925771c0536a091312dc7298f08e9 /graphics/netpbm/patches/patch-ah | |
parent | 71178ce6c7cdc18ae0f82794ca18f0f453fae043 (diff) | |
download | pkgsrc-81400706f7574b6d139d2e26f11a24b04e847933.tar.gz |
fix build on Solaris:
- use graphics/jasper instead of built-in jasper which has little hope
of building on Solaris
- use putenv() instead of setenv()
- fix abuse of _XOPEN_SOURCE
no PKGREVISION bump as no dependency change except on Solaris, where
this didn't build before.
Diffstat (limited to 'graphics/netpbm/patches/patch-ah')
-rw-r--r-- | graphics/netpbm/patches/patch-ah | 15 |
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; |