aboutsummaryrefslogtreecommitdiff
path: root/x11/kdelibs4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-03-06 13:37:12 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-03-06 13:37:12 +0000
commit1960b0f2cbb858aa277bfad12174e229d20febbd (patch)
tree27885ec145c897dceaeab7989c70bd75e6a2ebfe /x11/kdelibs4
parenta9e5acf55a672af637d8b2b0ca71a03b1e069677 (diff)
downloadports-1960b0f2cbb858aa277bfad12174e229d20febbd.tar.gz
ports-1960b0f2cbb858aa277bfad12174e229d20febbd.zip
Notes
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r--x11/kdelibs4/Makefile2
-rw-r--r--x11/kdelibs4/files/patch-khtml_ecma-kjs_html.cpp36
2 files changed, 37 insertions, 1 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile
index 67521ce0ef6f..0ed68a7d7aee 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 ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdelibs4/files/patch-khtml_ecma-kjs_html.cpp b/x11/kdelibs4/files/patch-khtml_ecma-kjs_html.cpp
new file mode 100644
index 000000000000..57e66a5b95f8
--- /dev/null
+++ b/x11/kdelibs4/files/patch-khtml_ecma-kjs_html.cpp
@@ -0,0 +1,36 @@
+--- khtml/ecma/kjs_html.cpp 2007/02/26 16:39:44 637497
++++ khtml/ecma/kjs_html.cpp 2007/03/05 13:15:20 639609
+@@ -1866,10 +1866,12 @@
+ getDOMNode(exec, frameElement.contentDocument()) : Undefined();
+ case FrameContentWindow: {
+ KHTMLPart* part = static_cast<DOM::HTMLFrameElementImpl*>(frameElement.handle())->contentPart();
+- if (part)
+- return Value(Window::retrieveWindow(part));
+- else
+- return Undefined();
++ if (part) {
++ Window *w = Window::retrieveWindow(part);
++ if (w)
++ return Value(w);
++ }
++ return Undefined();
+ }
+ case FrameFrameBorder: return String(frameElement.frameBorder());
+ case FrameLongDesc: return String(frameElement.longDesc());
+@@ -1899,10 +1901,12 @@
+ getDOMNode(exec, iFrame.contentDocument()) : Undefined();
+ case IFrameContentWindow: {
+ KHTMLPart* part = static_cast<DOM::HTMLIFrameElementImpl*>(iFrame.handle())->contentPart();
+- if (part)
+- return Value(Window::retrieveWindow(part));
+- else
+- return Undefined();
++ if (part) {
++ Window *w = Window::retrieveWindow(part);
++ if (w)
++ return Value(w);
++ }
++ return Undefined();
+ }
+ case IFrameFrameBorder: return String(iFrame.frameBorder());
+ case IFrameHeight: return String(iFrame.height());