summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-05-31 21:53:41 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-05-31 21:53:41 +0000
commit569bf683135bd12e262d44e80753af94fdc722f8 (patch)
treeb1b97256ada5d2960af0ccb6ad25d2276127d5d8 /net-misc
parentInitial import (diff)
downloadgentoo-2-569bf683135bd12e262d44e80753af94fdc722f8.tar.gz
gentoo-2-569bf683135bd12e262d44e80753af94fdc722f8.tar.bz2
gentoo-2-569bf683135bd12e262d44e80753af94fdc722f8.zip
Add patch to compile on fbsd, thanks to ebfe <knabberknusperhaus at yahoo dot de> for the patch, bug 171945
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tightvnc/ChangeLog7
-rw-r--r--net-misc/tightvnc/files/1.3.9-fbsd.patch15
-rw-r--r--net-misc/tightvnc/tightvnc-1.3.9.ebuild3
3 files changed, 23 insertions, 2 deletions
diff --git a/net-misc/tightvnc/ChangeLog b/net-misc/tightvnc/ChangeLog
index 538064971234..e2797d9b01bf 100644
--- a/net-misc/tightvnc/ChangeLog
+++ b/net-misc/tightvnc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tightvnc
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.103 2007/05/31 20:39:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/ChangeLog,v 1.104 2007/05/31 21:53:41 armin76 Exp $
+
+ 31 May 2007; Raúl Porcel <armin76@gentoo.org> +files/1.3.9-fbsd.patch,
+ tightvnc-1.3.9.ebuild:
+ Add patch to compile on fbsd, thanks to ebfe <knabberknusperhaus at yahoo
+ dot de> for the patch, bug 171945
31 May 2007; Raúl Porcel <armin76@gentoo.org> tightvnc-1.3.8-r1.ebuild,
tightvnc-1.3.9.ebuild:
diff --git a/net-misc/tightvnc/files/1.3.9-fbsd.patch b/net-misc/tightvnc/files/1.3.9-fbsd.patch
new file mode 100644
index 000000000000..e42bd6a12eb7
--- /dev/null
+++ b/net-misc/tightvnc/files/1.3.9-fbsd.patch
@@ -0,0 +1,15 @@
+--- Xvnc/include/Xos.bak 2007-03-23 18:26:14 +0100
++++ Xvnc/include/Xos.h 2007-03-23 18:26:22 +0100
+@@ -150,11 +150,6 @@
+ #endif
+ #endif /* X_NOT_POSIX else */
+
+-#ifdef CSRG_BASED
+-#include <stdlib.h>
+-#include <unistd.h>
+-#endif /* CSRG_BASED */
+-
+ /*
+ * Get struct timeval
+ */
+
diff --git a/net-misc/tightvnc/tightvnc-1.3.9.ebuild b/net-misc/tightvnc/tightvnc-1.3.9.ebuild
index 0b6c1220d12d..02456f876c85 100644
--- a/net-misc/tightvnc/tightvnc-1.3.9.ebuild
+++ b/net-misc/tightvnc/tightvnc-1.3.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9.ebuild,v 1.3 2007/05/31 20:39:15 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tightvnc/tightvnc-1.3.9.ebuild,v 1.4 2007/05/31 21:53:41 armin76 Exp $
inherit eutils toolchain-funcs
@@ -62,6 +62,7 @@ src_unpack() {
use mips && epatch "${FILESDIR}/${PN}-1.3.8-mips.patch"
epatch "${FILESDIR}"/server-CVE-2007-1003.patch
epatch "${FILESDIR}"/server-CVE-2007-1351-1352.patch
+ epatch "${FILESDIR}"/${PV}-fbsd.patch
}