diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-05-14 14:47:03 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-05-14 14:47:03 +0000 |
commit | 0e9d309c8597bf20a9f8378a4861e18bab1d18b0 (patch) | |
tree | ce6753a1bf8a7ad53de7dc746fe334cde9a64853 /x11/kdelibs4 | |
parent | - Update to 2.1.4 (diff) |
Bugfixorama: Add patches for KDE Bugs 80209, 80821, 80955 and two
security related patches.
Bump PORTREVISION.
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r-- | x11/kdelibs4/Makefile | 2 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-kdecore_kapplication.cpp | 11 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-khtml_khtml_part.cpp | 47 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-kio_misc_ktelnetservice.cpp | 24 |
4 files changed, 83 insertions, 1 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index a7639bcba687..0f5311360e84 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -8,7 +8,7 @@ PORTNAME= kdelibs PORTVERSION= ${KDE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src diff --git a/x11/kdelibs4/files/patch-kdecore_kapplication.cpp b/x11/kdelibs4/files/patch-kdecore_kapplication.cpp new file mode 100644 index 000000000000..df2cc728b0f1 --- /dev/null +++ b/x11/kdelibs4/files/patch-kdecore_kapplication.cpp @@ -0,0 +1,11 @@ +--- kdecore/kapplication.cpp 8 Apr 2004 09:56:28 -0000 1.637.2.8 ++++ kdecore/kapplication.cpp 14 May 2004 12:24:53 -0000 +@@ -2172,7 +2172,7 @@ void KApplication::invokeMailer(const QS + + if (command.isEmpty() || command == QString::fromLatin1("kmail") + || command.endsWith("/kmail")) +- command = QString::fromLatin1("kmail --composer -s %s -c %c -b %b --body %B --attach %A %t"); ++ command = QString::fromLatin1("kmail --composer -s %s -c %c -b %b --body %B --attach %A -- %t"); + + // TODO: Take care of the preferred terminal app (instead of hardcoding + // Konsole), this will probably require a rewrite of the configurable diff --git a/x11/kdelibs4/files/patch-khtml_khtml_part.cpp b/x11/kdelibs4/files/patch-khtml_khtml_part.cpp new file mode 100644 index 000000000000..451cdd2b152a --- /dev/null +++ b/x11/kdelibs4/files/patch-khtml_khtml_part.cpp @@ -0,0 +1,47 @@ +--- khtml/khtml_part.cpp 2004/04/03 05:28:15 1.959.2.14 ++++ khtml/khtml_part.cpp 2004/05/10 16:40:50 1.959.2.18 +@@ -203,7 +203,7 @@ void KHTMLPart::init( KHTMLView *view, G + d->m_paViewFrame = new KAction( i18n( "View Frame Source" ), 0, this, SLOT( slotViewFrameSource() ), actionCollection(), "viewFrameSource" ); + d->m_paViewInfo = new KAction( i18n( "View Document Information" ), CTRL+Key_I, this, SLOT( slotViewPageInfo() ), actionCollection(), "viewPageInfo" ); + d->m_paSaveBackground = new KAction( i18n( "Save &Background Image As..." ), 0, this, SLOT( slotSaveBackground() ), actionCollection(), "saveBackground" ); +- d->m_paSaveDocument = new KAction( i18n( "&Save As..." ), CTRL+Key_S, this, SLOT( slotSaveDocument() ), actionCollection(), "saveDocument" ); ++ d->m_paSaveDocument = KStdAction::saveAs( this, SLOT( slotSaveDocument() ), actionCollection(), "saveDocument" ); + if ( parentPart() ) + d->m_paSaveDocument->setShortcut( KShortcut() ); // avoid clashes + d->m_paSaveFrame = new KAction( i18n( "Save &Frame As..." ), 0, this, SLOT( slotSaveFrame() ), actionCollection(), "saveFrame" ); +@@ -332,7 +332,7 @@ void KHTMLPart::init( KHTMLView *view, G + d->m_paFindNext->setShortcut( KShortcut() ); // avoid clashes + } + +- d->m_paPrintFrame = new KAction( i18n( "Print Frame" ), "frameprint", 0, this, SLOT( slotPrintFrame() ), actionCollection(), "printFrame" ); ++ d->m_paPrintFrame = new KAction( i18n( "Print Frame..." ), "frameprint", 0, this, SLOT( slotPrintFrame() ), actionCollection(), "printFrame" ); + d->m_paPrintFrame->setWhatsThis( i18n( "Print Frame<p>" + "Some pages have several frames. To print only a single frame, click " + "on it and then use this function." ) ); +@@ -2665,7 +2665,7 @@ void KHTMLPart::findTextNext() + d->m_find->setPattern( d->m_findDialog->pattern() ); + d->m_find->resetCounts(); + } +- long options = d->m_findDialog->options(); ++ options = d->m_findDialog->options(); + if ( d->m_lastFindState.options != options ) + { + d->m_find->setOptions( options ); +@@ -2712,7 +2712,7 @@ void KHTMLPart::findTextNext() + { + // Grab text from render object + QString s; +- bool renderAreaText = (QCString(obj->parent()->renderName())== "RenderTextArea"); ++ bool renderAreaText = obj->parent() && (QCString(obj->parent()->renderName())== "RenderTextArea"); + bool renderLineText = (QCString(obj->renderName())== "RenderLineEdit"); + if ( renderAreaText ) + { +@@ -3288,7 +3288,7 @@ void KHTMLPart::urlSelected( const QStri + + kdDebug( 6000 ) << "urlSelected: complete URL:" << cURL.url() << " target = " << target << endl; + +- if ( button == LeftButton && (state & ControlButton) ) ++ if ( state & ControlButton ) + { + args.setNewTab(true); + emit d->m_extension->createNewWindow( cURL, args ); diff --git a/x11/kdelibs4/files/patch-kio_misc_ktelnetservice.cpp b/x11/kdelibs4/files/patch-kio_misc_ktelnetservice.cpp new file mode 100644 index 000000000000..d1ea72237aaa --- /dev/null +++ b/x11/kdelibs4/files/patch-kio_misc_ktelnetservice.cpp @@ -0,0 +1,24 @@ +--- kio/misc/ktelnetservice.cpp 18 Feb 2004 11:42:12 -0000 1.7.2.1 ++++ kio/misc/ktelnetservice.cpp 13 May 2004 15:12:14 -0000 +@@ -77,10 +77,19 @@ int main(int argc, char **argv) + cmd << url.user(); + } + ++ QString host; + if (!url.host().isEmpty()) +- cmd << url.host(); // telnet://host ++ host = url.host(); // telnet://host + else if (!url.path().isEmpty()) +- cmd << url.path(); // telnet:host ++ host = url.path(); // telnet:host ++ ++ if (host.isEmpty() || host.startsWith("-")) ++ { ++ kdError() << "Invalid hostname " << host << endl; ++ return 2; ++ } ++ ++ cmd << host; + + if (url.port()){ + if ( url.protocol() == "ssh" ) |