NetBSD Problem Report #35947

From dauphin@enst.fr  Thu Mar  8 09:46:56 2007
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2510663BA19
	for <gnats-bugs@gnats.netbsd.org>; Thu,  8 Mar 2007 09:46:56 +0000 (UTC)
Message-Id: <1173347214.4637@bi.enst.fr>
Date: Thu, 8 Mar 2007 10:46:54 +0100
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: graphics/Coin
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         35947
>Category:       pkg
>Synopsis:       graphics/Coin
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    rillig
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 08 09:50:01 +0000 2007
>Closed-Date:    Thu Mar 08 13:40:05 +0000 2007
>Last-Modified:  Thu Mar 08 13:50:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


 g++ -DHAVE_CONFIG_H -I../../include -I../../include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DNDEBUG -DCOIN_INTERNAL -I/usr/openwin/include -g -I/usr/pkg/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/include -fno-exceptions -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -MT SoExtSelection.lo -MD -MP -MF .deps/SoExtSelection.Tpo -c SoExtSelection.cpp  -fPIC -DPIC -o .libs/SoExtSelection.o
SoExtSelection.cpp:351: error: extra qualification 'SoExtSelectionP::SelectionState::' on member 'SelectionState'
SoExtSelection.cpp:359: error: extra qualification 'SoExtSelectionP::SelectionState::' on member 'SelectionState'




>How-To-Repeat:





>Fix:


 --- src/nodes/SoExtSelection.cpp.orig   Thu Jun  9 13:35:44 2005
+++ src/nodes/SoExtSelection.cpp        Thu Mar  8 10:44:52 2007
@@ -348,7 +348,7 @@
     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 @@
       this->reset();
     }

-    SelectionState::~SelectionState()
+    ~SelectionState()
     {
       delete this->updatetimer;
     }



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Thu, 08 Mar 2007 13:40:05 +0000
Responsible-Changed-Why:
I'll take it.


State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Thu, 08 Mar 2007 13:40:05 +0000
State-Changed-Why:
Fixed. Thanks for the PR.


From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35947 CVS commit: pkgsrc/graphics/Coin
Date: Thu,  8 Mar 2007 13:39:21 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	rillig
 Date:		Thu Mar  8 13:39:21 UTC 2007

 Modified Files:
 	pkgsrc/graphics/Coin: Makefile buildlink3.mk distinfo
 Added Files:
 	pkgsrc/graphics/Coin/patches: patch-ab

 Log Message:
 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.


 To generate a diff of this commit:
 cvs rdiff -r1.11 -r1.12 pkgsrc/graphics/Coin/Makefile
 cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/Coin/buildlink3.mk
 cvs rdiff -r1.3 -r1.4 pkgsrc/graphics/Coin/distinfo
 cvs rdiff -r0 -r1.1 pkgsrc/graphics/Coin/patches/patch-ab

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.