diff options
-rw-r--r-- | net/tightvnc/distinfo | 3 | ||||
-rw-r--r-- | net/tightvnc/patches/patch-am | 24 |
2 files changed, 26 insertions, 1 deletions
diff --git a/net/tightvnc/distinfo b/net/tightvnc/distinfo index cbf39016b2c..1600b5981b0 100644 --- a/net/tightvnc/distinfo +++ b/net/tightvnc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.12 2005/04/06 04:44:15 xtraeme Exp $ SHA1 (tightvnc-1.2.9_unixsrc.tar.bz2) = 62b55237676bbdc7f08771e6ff72c0f70264f4ee RMD160 (tightvnc-1.2.9_unixsrc.tar.bz2) = 57c4d24bbc008b7188ae4bb177fbb409bc1d26d3 @@ -15,3 +15,4 @@ SHA1 (patch-ai) = c95caf348ad41e2fd0954119d23c17e1c73795af SHA1 (patch-aj) = bac4b0703f86f10a8a39a2de255694517330af22 SHA1 (patch-ak) = 71e36559fe55c80382691b6292fa68084f8e7ca1 SHA1 (patch-al) = 4a45378b53b0e550c87ddc0b244b7a03f518bfb4 +SHA1 (patch-am) = 2de40589cc8ff7401086d6400655123f0eaeff3a diff --git a/net/tightvnc/patches/patch-am b/net/tightvnc/patches/patch-am new file mode 100644 index 00000000000..11bc397a8d6 --- /dev/null +++ b/net/tightvnc/patches/patch-am @@ -0,0 +1,24 @@ +$NetBSD: patch-am,v 1.1 2005/04/06 04:44:15 xtraeme Exp $ + +--- Xvnc/programs/Xserver/include/misc.h.orig 1996-12-23 07:09:29.000000000 +0000 ++++ Xvnc/programs/Xserver/include/misc.h 2005-02-17 23:05:46.000000000 +0000 +@@ -83,6 +83,10 @@ + #include <X11/Xmd.h> + #include <X11/X.h> + ++#ifdef __NetBSD__ ++#include <stdlib.h> ++#endif ++ + #ifndef NULL + #ifndef X_NOT_STDC_ENV + #include <stddef.h> +@@ -159,7 +166,7 @@ + #define min(a, b) (((a) < (b)) ? (a) : (b)) + #define max(a, b) (((a) > (b)) ? (a) : (b)) + #if !defined(AMOEBA) && !defined(__EMX__) +-#ifndef abs ++#if !defined(abs) + #define abs(a) ((a) > 0 ? (a) : -(a)) + #endif + #else /* AMOEBA || __EMX__ */ |