summaryrefslogtreecommitdiff
path: root/net/tightvnc/patches
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2010-02-19 13:22:33 +0000
committerasau <asau@pkgsrc.org>2010-02-19 13:22:33 +0000
commitb0ab5642525b3ae5aa0592277ef879e25555ffe1 (patch)
treefb4795dbf35d42e6b5ecd91bcbf7ac4b3a2eebf8 /net/tightvnc/patches
parent69bbac9e71caecf4d5b1364e770470c4ddd306ee (diff)
downloadpkgsrc-b0ab5642525b3ae5aa0592277ef879e25555ffe1.tar.gz
Fix FreeBSD build. PR pkg/33224
Diffstat (limited to 'net/tightvnc/patches')
-rw-r--r--net/tightvnc/patches/patch-an14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/tightvnc/patches/patch-an b/net/tightvnc/patches/patch-an
new file mode 100644
index 00000000000..345dd761022
--- /dev/null
+++ b/net/tightvnc/patches/patch-an
@@ -0,0 +1,14 @@
+$NetBSD: patch-an,v 1.1 2010/02/19 13:22:33 asau Exp $
+
+--- Xvnc/include/Xos.h.orig 2000-06-11 16:00:51.000000000 +0400
++++ Xvnc/include/Xos.h 2010-02-19 16:07:44.000000000 +0300
+@@ -151,7 +151,9 @@
+ #endif /* X_NOT_POSIX else */
+
+ #ifdef CSRG_BASED
++#ifndef __FreeBSD__
+ #include <stdlib.h>
++#endif
+ #include <unistd.h>
+ #endif /* CSRG_BASED */
+