From b2780fdc1f751d04f920858e979c7e76883d2d6d Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Thu, 21 Apr 2005 23:02:01 +0000 Subject: Make kdrc work with the rdesktop version in ports. Submitted by: Rusty Nejdl --- net/kdenetwork4/Makefile | 1 + net/kdenetwork4/files/patch-krdc_rdp_krdpview.cpp | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 net/kdenetwork4/files/patch-krdc_rdp_krdpview.cpp (limited to 'net/kdenetwork4') diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile index c57c1b6df1ee..0910c9ae4395 100644 --- a/net/kdenetwork4/Makefile +++ b/net/kdenetwork4/Makefile @@ -8,6 +8,7 @@ PORTNAME= kdenetwork PORTVERSION= ${KDE_VERSION} +PORTREVISION= 1 CATEGORIES?= net kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src diff --git a/net/kdenetwork4/files/patch-krdc_rdp_krdpview.cpp b/net/kdenetwork4/files/patch-krdc_rdp_krdpview.cpp new file mode 100644 index 000000000000..4c98cfdd8604 --- /dev/null +++ b/net/kdenetwork4/files/patch-krdc_rdp_krdpview.cpp @@ -0,0 +1,12 @@ +--- krdc/rdp/krdpview.cpp.orig Thu Feb 3 16:52:10 2005 ++++ krdc/rdp/krdpview.cpp Thu Apr 21 14:37:11 2005 +@@ -210,8 +210,8 @@ + if(!m_user.isEmpty()) { *m_process << "-u" << m_user; } + if(!m_password.isEmpty()) { *m_process << "-p" << m_password; } + *m_process << "-X" << ("0x" + QString::number(m_container->winId(), 16)); +- *m_process << (m_host + ":" + QString::number(m_port)); + *m_process << "-a" << QString::number(hp->colorDepth()); ++ *m_process << (m_host + ":" + QString::number(m_port)); + connect(m_process, SIGNAL(processExited(KProcess *)), SLOT(processDied(KProcess *))); + connect(m_process, SIGNAL(receivedStderr(KProcess *, char *, int)), SLOT(receivedStderr(KProcess *, char *, int))); + connect(m_container, SIGNAL(embeddedWindowDestroyed()), SLOT(connectionClosed())); -- cgit v1.2.3