pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41538: games/frotz doesn't build on OS X
>Number: 41538
>Category: pkg
>Synopsis: games/frotz doesn't build on OS X
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 04 13:00:01 +0000 2009
>Originator: Edgar Fuß
>Release: pkgsrc-2009Q1
>Organization:
Mathematisches Institut der Universität Bonn
>Environment:
Darwin XXX 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007;
root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Compiling games/frotz on a (PPC) Mac fails:
gcc -O2 -DCONFIG_DIR="\"/usr/pkg/etc\"" -DVERSION="\"2.43\""
-DSOUND_DEV="\"\"" -DCOLOR_SUPPORT -DOSS_SOUND -pipe -O2 -I/usr/include -o
src/curses/ux_audio_oss.o -c src/curses/ux_audio_oss.c
src/curses/ux_audio_oss.c: In function 'sigterm_handler':
src/curses/ux_audio_oss.c:77: error: 'SNDCTL_DSP_RESET' undeclared (first use
in this function)
src/curses/ux_audio_oss.c:77: error: (Each undeclared identifier is reported
only once
src/curses/ux_audio_oss.c:77: error: for each function it appears in.)
src/curses/ux_audio_oss.c:79: error: 'SOUND_MIXER_WRITE_VOLUME' undeclared
(first use in this function)
src/curses/ux_audio_oss.c: In function 'play_sound':
src/curses/ux_audio_oss.c:89: error: 'AFMT_U8' undeclared (first use in this
function)
src/curses/ux_audio_oss.c:103: error: 'SNDCTL_DSP_SETFMT' undeclared (first use
in this function)
src/curses/ux_audio_oss.c:111: error: 'SNDCTL_DSP_CHANNELS' undeclared (first
use in this function)
src/curses/ux_audio_oss.c:121: error: 'SNDCTL_DSP_SPEED' undeclared (first use
in this function)
src/curses/ux_audio_oss.c:129: error: 'SOUND_MIXER_READ_VOLUME' undeclared
(first use in this function)
src/curses/ux_audio_oss.c:132: error: 'SOUND_MIXER_WRITE_VOLUME' undeclared
(first use in this function)
src/curses/ux_audio_oss.c:165: error: 'SNDCTL_DSP_SYNC' undeclared (first use
in this function)
*** Error code 1
>How-To-Repeat:
cd games/frotz; bmake build
>Fix:
Home |
Main Index |
Thread Index |
Old Index