Subject: pkg/16588: pkgsrc/audio/gmodplay fails to compile on -current
To: None <gnats-bugs@gnats.netbsd.org>
From: Jan Schaumann <jschauma@dab.cs.stevens-tech.edu>
List: netbsd-bugs
Date: 04/30/2002 10:37:08
>Number:         16588
>Category:       pkg
>Synopsis:       pkgsrc/audio/gmodplay fails to compile on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 30 07:38:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jan Schaumann (jschauma@netbsd.org)
>Release:        NetBSD 1.5ZC
>Organization:
	
>Environment:
	
	
System: NetBSD dab.cs.stevens-tech.edu 1.5ZC NetBSD 1.5ZC (BOCK) #0: Thu Apr 18 10:55:09 EDT 2002 jschauma@dab:/usr/src/sys/arch/i386/compile/BOCK i386
Architecture: i386
Machine: i386
>Description:
	When trying to compile pkgsrc/audio/gmodplay on -current, it fails
	with the following error:

gmake[1]: Entering directory `/usr/pkgsrc/audio/gmodplay/work/gmodplay-0.08/comm
g++ -I/usr/pkgsrc/audio/gmodplay/work/.buildlink/include -O2 -D__GMODVER__=\"0.0-mem -fforce-addr -DCMDLINE_SUPPORT -o playlist.o -c playlist.cpp
playlist.cpp: In function `struct PlayList * CreatePlayList(char *)':
playlist.cpp:26: ANSI C++ forbids implicit conversion from `void *' in return
playlist.cpp:31: ANSI C++ forbids implicit conversion from `void *' in return
playlist.cpp:39: ANSI C++ forbids implicit conversion from `void *' in return
playlist.cpp: In function `struct PlayList * LoadPlayList(char *)':
playlist.cpp:50: ANSI C++ forbids implicit conversion from `void *' in return
gmake[1]: *** [playlist.o] Error 1

>How-To-Repeat:
	cd /usr/pkgsrc/audio/gmodplay
	make

>Fix:
	Patch code to be more ISO C++ compliant.  Probably similar problem
	as in PR#16587
>Release-Note:
>Audit-Trail:
>Unformatted:
 	20010410