summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2006-02-26 11:46:41 +0000
committermarkd <markd@pkgsrc.org>2006-02-26 11:46:41 +0000
commit7602e09f0c3802417f6a6f4a24b4adbc3dd0eb30 (patch)
tree8f60bfb5029e071825193dddaa01d13ca5083c71 /x11/kdelibs3/patches
parentaee6e550b022ecc4bfb17ce89050950f78c05b31 (diff)
downloadpkgsrc-7602e09f0c3802417f6a6f4a24b4adbc3dd0eb30.tar.gz
Patch from kde svn to fix compilation with gcc 2.95. Should fix build
on NetBSD 1.6.2. Bump PKGREVISION.
Diffstat (limited to 'x11/kdelibs3/patches')
-rw-r--r--x11/kdelibs3/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/kdelibs3/patches/patch-ai b/x11/kdelibs3/patches/patch-ai
new file mode 100644
index 00000000000..e4b2c0528c5
--- /dev/null
+++ b/x11/kdelibs3/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.6 2006/02/26 11:46:41 markd Exp $
+
+--- khtml/html/html_formimpl.cpp.orig 2006-01-20 19:53:03.000000000 +1300
++++ khtml/html/html_formimpl.cpp
+@@ -2303,7 +2303,7 @@ void HTMLSelectElementImpl::recalcListIt
+ NodeImpl* const parent = current->parentNode();
+ current = current->nextSibling();
+ if (!current) {
+- if (parent != this)
++ if (static_cast<const NodeImpl *>(parent) != this)
+ current = parent->nextSibling();
+ }
+ }