From owner-freebsd-ports@FreeBSD.ORG Thu Apr 21 16:24:53 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FF6716A4CE; Thu, 21 Apr 2005 16:24:53 +0000 (GMT) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [64.81.112.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE34B43D31; Thu, 21 Apr 2005 16:24:52 +0000 (GMT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com (localhost [127.0.0.1]) j3LGOpCf092311; Thu, 21 Apr 2005 11:24:52 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from 12.148.147.242 (proxying for 160.86.16.70) (SquirrelMail authenticated user rnejdl) by mail.ringofsaturn.com with HTTP; Thu, 21 Apr 2005 11:24:52 -0500 (CDT) Message-ID: <1345.12.148.147.242.1114100692.squirrel@mail.ringofsaturn.com> Date: Thu, 21 Apr 2005 11:24:52 -0500 (CDT) From: "Rusty Nejdl" To: kde@FreeBSD.org User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.83/845/Wed Apr 20 22:37:59 2005 on tethys.ringofsaturn.com X-Virus-Status: Clean cc: ports@FreeBSD.org Subject: FreeBSD Port kdenetwork3-3.4.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 16:24:53 -0000 The current build of krdc within kdenetwork3 does not work for rdesktop in the ports tree. It errors out saying that the current version you are running is too old, but that is simply because they don't handle that error case correctly. What's going on is that the call to rdesktop fails because the krdc program puts the flags in the wrong order. At line 213 of krdpview.cpp, you see: *m_process << (m_host + ":" + QString::number(m_port)); *m_process << "-a" << QString::number(hp->colorDepth()); Instead, these lines should be reversed such that the host and port number are last: *m_process << "-a" << QString::number(hp->colorDepth()); *m_process << (m_host + ":" + QString::number(m_port)); as is specified here: [tethys]:/usr/ports/net/kdenetwork3/work/kdenetwork-3.4.0/krdc/rdp> rdesktop rdesktop: A Remote Desktop Protocol client. Version 1.4.0. Copyright (C) 1999-2005 Matt Chapman. See http://www.rdesktop.org/ for more information. Usage: rdesktop [options] server[:port] If you guys could put a patch into the kdenetwork3 port for this, that would be completely appreciated. Sincerely, Rusty Nejdl Ring of Saturn