aboutsummaryrefslogtreecommitdiff
path: root/net/kdenetwork3
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-10-11 12:09:14 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-10-11 12:09:14 +0000
commit471922875775cfbf2f28fa99cf6273bc48894786 (patch)
treec52add779c7dd287a643b56d429b3ac83733c659 /net/kdenetwork3
parent768b27fd8abd9ba54ca87cff2331c450696d84cd (diff)
downloadports-471922875775cfbf2f28fa99cf6273bc48894786.tar.gz
ports-471922875775cfbf2f28fa99cf6273bc48894786.zip
Notes
Diffstat (limited to 'net/kdenetwork3')
-rw-r--r--net/kdenetwork3/Makefile2
-rw-r--r--net/kdenetwork3/files/patch-ksirc-kstextview.cpp13
2 files changed, 15 insertions, 0 deletions
diff --git a/net/kdenetwork3/Makefile b/net/kdenetwork3/Makefile
index 1c851b1ab554..cbe7449d7776 100644
--- a/net/kdenetwork3/Makefile
+++ b/net/kdenetwork3/Makefile
@@ -18,6 +18,8 @@ COMMENT= Network-related programs and modules for KDE
LIB_DEPENDS= uu.2:${PORTSDIR}/converters/uulib
+CONFLICTS= mimelib-1.1.*
+
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST=yes
diff --git a/net/kdenetwork3/files/patch-ksirc-kstextview.cpp b/net/kdenetwork3/files/patch-ksirc-kstextview.cpp
new file mode 100644
index 000000000000..da07e4149446
--- /dev/null
+++ b/net/kdenetwork3/files/patch-ksirc-kstextview.cpp
@@ -0,0 +1,13 @@
+--- ksirc/kstextview.cpp
++++ ksirc/kstextview.cpp
+@@ -1954,9 +1954,5 @@ void TextView::contentsMouseReleaseEvent
+ if (ev->button() & Qt::MidButton)
+ {
+- QClipboard *cp = KApplication::clipboard();
+- bool restoreMode = cp->selectionModeEnabled();
+- cp->setSelectionMode(true);
+- emit pasteReq( cp->text() );
+- cp->setSelectionMode(restoreMode);
++ emit pasteReq( KApplication::clipboard()->text( QClipboard::Selection) );
+ return;
+ }