summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorrillig <rillig>2007-03-08 13:39:20 +0000
committerrillig <rillig>2007-03-08 13:39:20 +0000
commit30ad0d8af247f3f81640b043d51170e1d1aa4af3 (patch)
treebdd03c68fe05cd28c96d829e236eddd1ae7d3250 /graphics
parentc520e325edeea9a16a79dab6cd576f4ac853f59b (diff)
downloadpkgsrc-30ad0d8af247f3f81640b043d51170e1d1aa4af3.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')
-rw-r--r--graphics/Coin/Makefile3
-rw-r--r--graphics/Coin/buildlink3.mk19
-rw-r--r--graphics/Coin/distinfo3
-rw-r--r--graphics/Coin/patches/patch-ab26
4 files changed, 38 insertions, 13 deletions
diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile
index 786aaeef211..92a70913976 100644
--- a/graphics/Coin/Makefile
+++ b/graphics/Coin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/02/15 14:33:43 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2007/03/08 13:39:20 rillig Exp $
DISTNAME= Coin-2.4.4
PKGREVISION= 3
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.coin3d.org/
COMMENT= Free, portable, Open Inventor API implementation
USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-3ds-import
CONFIGURE_ARGS+= --disable-debug
diff --git a/graphics/Coin/buildlink3.mk b/graphics/Coin/buildlink3.mk
index 55562b79e60..eb155bbe302 100644
--- a/graphics/Coin/buildlink3.mk
+++ b/graphics/Coin/buildlink3.mk
@@ -1,22 +1,19 @@
-# $NetBSD: buildlink3.mk,v 1.10 2007/02/15 14:33:44 joerg Exp $
-#
-# This Makefile fragment is included by packages that use Coin.
-#
-# This file was created automatically using createbuildlink-3.1.
-#
+# $NetBSD: buildlink3.mk,v 1.11 2007/03/08 13:39:20 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
COIN_BUILDLINK3_MK:= ${COIN_BUILDLINK3_MK}+
-.if !empty(BUILDLINK_DEPTH:M+)
+.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= Coin
.endif
-.if !empty(COIN_BUILDLINK3_MK:M+)
-BUILDLINK_PACKAGES+= Coin
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Coin
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NCoin}
+BUILDLINK_PACKAGES+= Coin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Coin
+
+.if ${COIN_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.Coin+= Coin>=2.2.1
-BUILDLINK_ABI_DEPENDS.Coin?= Coin>=2.4.4nb3
+BUILDLINK_ABI_DEPENDS.Coin+= Coin>=2.4.4nb3
BUILDLINK_PKGSRCDIR.Coin?= ../../graphics/Coin
.include "../../graphics/simage/buildlink3.mk"
diff --git a/graphics/Coin/distinfo b/graphics/Coin/distinfo
index dc46af1e3ea..020cf72af28 100644
--- a/graphics/Coin/distinfo
+++ b/graphics/Coin/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2006/05/14 16:50:53 wiz Exp $
+$NetBSD: distinfo,v 1.4 2007/03/08 13:39:21 rillig Exp $
SHA1 (Coin-2.4.4.tar.gz) = 5482b8ad371484ab3194b2bef828297a1b059c33
RMD160 (Coin-2.4.4.tar.gz) = 6bdeabf38809c2cf0873c85f030fe3392dec89f3
Size (Coin-2.4.4.tar.gz) = 3784368 bytes
SHA1 (patch-aa) = 1da1a55e083d330cd21e41686a248b7d0ea552c7
+SHA1 (patch-ab) = c09e209fdece24b844e0e747ab8051bce31cdd27
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;
+ }