Subject: pkg/37532: lang/drscheme build fix
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dieter.NetBSD@pandora.be>
List: pkgsrc-bugs
Date: 12/13/2007 13:15:01
>Number:         37532
>Category:       pkg
>Synopsis:       lang/drscheme build fix
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 13 13:15:00 +0000 2007
>Originator:     dieter roelants
>Release:        NetBSD 4.99.35
>Organization:
>Environment:
System: NetBSD simult.amelgem.be 4.99.35 NetBSD 4.99.35 (SIMULT) #25: Mon Nov 19 19:31:10 CET 2007 dieter@simult.amelgem.be:/build/obj.i386.current/sys/arch/i386/compile/SIMULT i386
Architecture: i386
Machine: i386
>Description:
	The lang/drscheme doesn't compile on at least NetBSD 4.99.x
	and 4.0 and I guess anything else with a recent enough g++.
	It's also broken in pkgsrc-2007Q3.
>How-To-Repeat:
	cd pkgsrc/lang/drscheme && make
>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/drscheme/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- distinfo	26 Oct 2006 13:54:25 -0000	1.14
+++ distinfo	13 Dec 2007 12:59:09 -0000
@@ -26,6 +26,7 @@
 SHA1 (patch-ai) = cdab7bed524279a287845f03c642c7aafead7dc6
 SHA1 (patch-aj) = 03703c150d860d5bc0f21892f0ef38df7c6f9455
 SHA1 (patch-ak) = 10aea7a3186df281056c79f0d6a040c959c838d0
+SHA1 (patch-al) = 853aea906f93a450e152bbb97ab10e9cd012b1ec
 SHA1 (patch-an) = bca5a79edd48a2670d02496b6da3799c13c0aed6
 SHA1 (patch-ao) = 667593d28a695fd7caee210deb8ee06e72019c40
 SHA1 (patch-ap) = 60702692e0d60282df187531fa06973e1eb48817
--- /dev/null	2007-12-13 13:51:44.000000000 +0100
+++ patches/patch-al	2007-12-13 13:36:58.000000000 +0100
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- mred/wxme/wx_madm.h.orig	2007-12-13 12:34:52.000000000 +0000
++++ mred/wxme/wx_madm.h
+@@ -54,6 +54,8 @@ inline wxMediaAdmin::wxMediaAdmin()
+ #endif
+ };
+ 
++class wxUpdateCursorTimer;
++
+ class wxCanvasMediaAdmin : public wxMediaAdmin
+ {
+  private: