Subject: pkg/11576: MirrorMagic-1.3 is not configured to play sounds on NetBSD
To: None <gnats-bugs@gnats.netbsd.org>
From: None <adam@albedo.art.pl>
List: netbsd-bugs
Date: 11/27/2000 04:57:10
>Number:         11576
>Category:       pkg
>Synopsis:       MirrorMagic-1.3 is not configured to play sounds on NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 27 04:57:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Adam Ciarcinski
>Release:        -current 1.5.1_ALPHA
>Organization:
>Environment:
NetBSD adamnb 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (ADAMNB) #0: Fri Nov 24 15:07:06 CE
T 2000
root@adamnb:/usr/src/sys/arch/i386/compile/ADAMNB i386
>Description:
pkgsrc/games/mirrormagic is not properly configured to play sounds
on NetBSD systems.  The 'sound.h' header file from mirrormagic-1.3.tar.gz
sets sound device to /dev/dsp if VOXWARE is defined, and it actually
is due to patchfile patches/patch-ab.
>How-To-Repeat:
Compile the game and... hear no sounds... Setup->Sounds are off
>Fix:
Please, change 'sound.h' after applying patches/patch-ab
(from mirrormagic-1.3.tar.gz),

IS:

#ifdef __NetBSD__
#include <sys/ioctl.h>
#include <soundcard.h>
#ifndef VOXWARE
#define VOXWARE
#endif
#endif

SHOULD BE:
#ifdef __NetBSD__
#include <sys/ioctl.h>
#include <soundcard.h>
#ifdef VOXWARE
#undef VOXWARE
#endif
#endif

OR edit the patch file patches/patch-ab

THANK YOU! :)
>Release-Note:
>Audit-Trail:
>Unformatted: