summaryrefslogtreecommitdiff
path: root/graphics/Coin/patches
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-08 13:39:20 +0000
committerrillig <rillig>2007-03-08 13:39:20 +0000
commit5b926a959736e69eb6ce939cf89aeae190557773 (patch)
treebdd03c68fe05cd28c96d829e236eddd1ae7d3250 /graphics/Coin/patches
parent33c8b6d742787e1ad255aea31aa3bb49a37c13f7 (diff)
downloadpkgsrc-5b926a959736e69eb6ce939cf89aeae190557773.tar.gz
Fixed a g++ error message from PR 35947. Patch provided by Gilles
Dauphin. While here, fixed all pkglint warnings and modernized the buildlink3.mk file.
Diffstat (limited to 'graphics/Coin/patches')
-rw-r--r--graphics/Coin/patches/patch-ab26
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/Coin/patches/patch-ab b/graphics/Coin/patches/patch-ab
new file mode 100644
index 00000000000..1fc71a22994
--- /dev/null
+++ b/graphics/Coin/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1 2007/03/08 13:39:21 rillig Exp $
+
+g++ 4.1.2 says:
+SoExtSelection.cpp:351: error: extra qualification
+ 'SoExtSelectionP::SelectionState::' on member 'SelectionState'
+
+--- src/nodes/SoExtSelection.cpp.orig 2005-06-09 13:35:44.000000000 +0200
++++ src/nodes/SoExtSelection.cpp 2007-03-08 14:36:41.000000000 +0100
+@@ -348,7 +348,7 @@ public:
+ SbList<SbVec2s> coords;
+ SoTimerSensor * updatetimer;
+
+- SelectionState::SelectionState(SoExtSelection * t)
++ SelectionState(SoExtSelection * t)
+ {
+ this->updatetimer = new SoTimerSensor(&SoExtSelectionP::timercallback, t);
+ this->updatetimer->setBaseTime(SbTime::zero());
+@@ -356,7 +356,7 @@ public:
+ this->reset();
+ }
+
+- SelectionState::~SelectionState()
++ ~SelectionState()
+ {
+ delete this->updatetimer;
+ }