diff options
author | salo <salo@pkgsrc.org> | 2005-04-06 09:21:54 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2005-04-06 09:21:54 +0000 |
commit | f0615e97b88ee0029d4d5d53b389143b666e11c7 (patch) | |
tree | 137968e0878457f4ab5e38c9b5d50521a40fc346 | |
parent | 168ed97af249063b487947ea4faecb0989afec5b (diff) | |
download | pkgsrc-f0615e97b88ee0029d4d5d53b389143b666e11c7.tar.gz |
Pullup ticket 429 - requested by Juan Romero Pardines
portability fix for tightvnc
Revisions pulled up:
- pkgsrc/net/tightvnc/distinfo 1.12
- pkgsrc/net/tightvnc/patches/patch-am 1.1
Module Name: pkgsrc
Committed By: xtraeme
Date: Wed Apr 6 04:44:15 UTC 2005
Modified Files:
pkgsrc/net/tightvnc: distinfo
Added Files:
pkgsrc/net/tightvnc/patches: patch-am
Log Message:
Apply patch from net/vnc to make this build on NetBSD >= 3.0.
-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..aba3a2e84e1 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.11.2.1 2005/04/06 09:21:54 salo 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..cf7926ff3bc --- /dev/null +++ b/net/tightvnc/patches/patch-am @@ -0,0 +1,24 @@ +$NetBSD: patch-am,v 1.1.2.2 2005/04/06 09:21:54 salo 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__ */ |