diff options
author | joerg <joerg@pkgsrc.org> | 2013-01-17 16:04:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-01-17 16:04:49 +0000 |
commit | 8bfe676d0aaa07ba6bc504e4d217157f3d7b5bb4 (patch) | |
tree | 9ca7652a490654c27b0913c7c2ea8a96d26ec0c1 /www/kdewebdev3 | |
parent | 5e5c869bbd90dd29608e1ee2778e8778adeb0c1e (diff) | |
download | pkgsrc-8bfe676d0aaa07ba6bc504e4d217157f3d7b5bb4.tar.gz |
Assume that changing a temporary object is not the intention here...
Diffstat (limited to 'www/kdewebdev3')
-rw-r--r-- | www/kdewebdev3/distinfo | 4 | ||||
-rw-r--r-- | www/kdewebdev3/patches/patch-quanta_parsers_tag.h | 13 | ||||
-rw-r--r-- | www/kdewebdev3/patches/patch-quanta_parts_kafka_kafkacommon.cpp | 26 |
3 files changed, 42 insertions, 1 deletions
diff --git a/www/kdewebdev3/distinfo b/www/kdewebdev3/distinfo index 02dc775eebe..d26fda413b3 100644 --- a/www/kdewebdev3/distinfo +++ b/www/kdewebdev3/distinfo @@ -1,6 +1,8 @@ -$NetBSD: distinfo,v 1.21 2008/08/27 12:10:37 markd Exp $ +$NetBSD: distinfo,v 1.22 2013/01/17 16:04:49 joerg Exp $ SHA1 (kdewebdev-3.5.10.tar.bz2) = 71af1a5f3e835b3021b180271f8a4c1879b55b82 RMD160 (kdewebdev-3.5.10.tar.bz2) = 210665120b13431f18a4070f2b5a9e24cb58920d Size (kdewebdev-3.5.10.tar.bz2) = 6249632 bytes SHA1 (patch-aa) = 2ae1f420dfd7cbe841eaae29730bc087ec77f598 +SHA1 (patch-quanta_parsers_tag.h) = 72135e8b222187a2757119b01b407cfd61b861ee +SHA1 (patch-quanta_parts_kafka_kafkacommon.cpp) = 077024b5955f78a300e692987115ac7441ba6040 diff --git a/www/kdewebdev3/patches/patch-quanta_parsers_tag.h b/www/kdewebdev3/patches/patch-quanta_parsers_tag.h new file mode 100644 index 00000000000..5e924a19997 --- /dev/null +++ b/www/kdewebdev3/patches/patch-quanta_parsers_tag.h @@ -0,0 +1,13 @@ +$NetBSD: patch-quanta_parsers_tag.h,v 1.1 2013/01/17 16:04:49 joerg Exp $ + +--- quanta/parsers/tag.h.orig 2005-09-10 08:22:52.000000000 +0000 ++++ quanta/parsers/tag.h +@@ -88,6 +88,8 @@ public: + void addAttribute(TagAttr attr) {attrs.append(attr);} + /** Get the attribute number index */ + TagAttr getAttribute(uint index) const {return attrs[index];} ++ /** Get the attribute number index */ ++ TagAttr &getAttributeWriteable(uint index) {return attrs[index];} + /** Remove the attribute number index */ + void deleteAttribute(uint index) {attrs.remove(attrs.at(index));} + /** Insert a new Attribute, even if it already exists. Prefer using editAttribute. diff --git a/www/kdewebdev3/patches/patch-quanta_parts_kafka_kafkacommon.cpp b/www/kdewebdev3/patches/patch-quanta_parts_kafka_kafkacommon.cpp new file mode 100644 index 00000000000..e639b3ff8d1 --- /dev/null +++ b/www/kdewebdev3/patches/patch-quanta_parts_kafka_kafkacommon.cpp @@ -0,0 +1,26 @@ +$NetBSD: patch-quanta_parts_kafka_kafkacommon.cpp,v 1.1 2013/01/17 16:04:49 joerg Exp $ + +--- quanta/parts/kafka/kafkacommon.cpp.orig 2013-01-17 13:00:59.000000000 +0000 ++++ quanta/parts/kafka/kafkacommon.cpp +@@ -742,15 +742,15 @@ void kafkaCommon::fitsNodesPosition(Node + { + if(node->tag->getAttribute(j).nameLine == SNbeginLine) + { +- node->tag->getAttribute(j).nameLine += lineMovement; +- node->tag->getAttribute(j).nameCol += colMovement; +- node->tag->getAttribute(j).valueLine += lineMovement; +- node->tag->getAttribute(j).valueCol += colMovement; ++ node->tag->getAttributeWriteable(j).nameLine += lineMovement; ++ node->tag->getAttributeWriteable(j).nameCol += colMovement; ++ node->tag->getAttributeWriteable(j).valueLine += lineMovement; ++ node->tag->getAttributeWriteable(j).valueCol += colMovement; + } + else + { +- node->tag->getAttribute(j).nameLine += lineMovement; +- node->tag->getAttribute(j).valueLine += lineMovement; ++ node->tag->getAttributeWriteable(j).nameLine += lineMovement; ++ node->tag->getAttributeWriteable(j).valueLine += lineMovement; + } + } + node = getNextNode(node, b); |