diff options
author | joerg <joerg@pkgsrc.org> | 2012-11-11 22:27:32 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-11-11 22:27:32 +0000 |
commit | 8ff454cf2a67d42f88560d79d2763bdcaa53e56f (patch) | |
tree | 0b2dd8aa0e5a7f5ccac98a4d3b0cc49427d80c7a | |
parent | bf5b0ca5dc0e474c5c8171c3747ff6109ef03a03 (diff) | |
download | pkgsrc-8ff454cf2a67d42f88560d79d2763bdcaa53e56f.tar.gz |
Fix incorrect namespace to allow building with C++ compilers that have
strict template checks.
-rw-r--r-- | misc/kdeaddons3/distinfo | 3 | ||||
-rw-r--r-- | misc/kdeaddons3/patches/patch-konq-plugins_domtreeviewer_domtreecommands.cpp | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/misc/kdeaddons3/distinfo b/misc/kdeaddons3/distinfo index 7a4ef76e54e..0b8ecd213d4 100644 --- a/misc/kdeaddons3/distinfo +++ b/misc/kdeaddons3/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.37 2011/02/05 19:37:13 markd Exp $ +$NetBSD: distinfo,v 1.38 2012/11/11 22:27:32 joerg Exp $ SHA1 (kdeaddons-3.5.10.tar.bz2) = 5342e2f0a21e9028d9aaa2ee253f89f615ee57de RMD160 (kdeaddons-3.5.10.tar.bz2) = eada207a25f9cff0c10732e03bc8d9d813f79bd2 Size (kdeaddons-3.5.10.tar.bz2) = 1741779 bytes SHA1 (patch-aa) = 68cea80eaf8f9c457f9d4a74a32f0da549699878 SHA1 (patch-ab) = 863ba6f46568a30f16bb0564c2cb969ce1c999b7 +SHA1 (patch-konq-plugins_domtreeviewer_domtreecommands.cpp) = 258ba801a0eb57f81514f0a6b673fc9fa5ecafc9 diff --git a/misc/kdeaddons3/patches/patch-konq-plugins_domtreeviewer_domtreecommands.cpp b/misc/kdeaddons3/patches/patch-konq-plugins_domtreeviewer_domtreecommands.cpp new file mode 100644 index 00000000000..7d495b77ddb --- /dev/null +++ b/misc/kdeaddons3/patches/patch-konq-plugins_domtreeviewer_domtreecommands.cpp @@ -0,0 +1,22 @@ +$NetBSD: patch-konq-plugins_domtreeviewer_domtreecommands.cpp,v 1.1 2012/11/11 22:27:32 joerg Exp $ + +--- konq-plugins/domtreeviewer/domtreecommands.cpp.orig 2012-11-09 11:39:21.000000000 +0000 ++++ konq-plugins/domtreeviewer/domtreecommands.cpp +@@ -79,13 +79,15 @@ ManipulationCommandSignalEmitter* Manipu + + // == ChangedNodeSet ================================================ + +-namespace domtreeviewer { +- ++namespace DOM { + // collection of nodes for which to emit the nodeChanged signal + inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2) + { + return (long)n1.handle() - (long)n2.handle() < 0; + } ++} ++ ++namespace domtreeviewer { + + class ChangedNodeSet : public QMap<DOM::Node, bool> + { |