From 569bf683135bd12e262d44e80753af94fdc722f8 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Thu, 31 May 2007 21:53:41 +0000 Subject: Add patch to compile on fbsd, thanks to ebfe for the patch, bug 171945 (Portage version: 2.1.2.9) --- net-misc/tightvnc/ChangeLog | 7 ++++++- net-misc/tightvnc/files/1.3.9-fbsd.patch | 15 +++++++++++++++ net-misc/tightvnc/tightvnc-1.3.9.ebuild | 3 ++- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 net-misc/tightvnc/files/1.3.9-fbsd.patch (limited to 'net-misc/tightvnc') 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 +files/1.3.9-fbsd.patch, + tightvnc-1.3.9.ebuild: + Add patch to compile on fbsd, thanks to ebfe for the patch, bug 171945 31 May 2007; Raúl Porcel 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 +-#include +-#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 } -- cgit v1.2.3-65-gdbad