ports/117218: [patch] audio/sdl_mixer : timidity++ support
Olivier Smedts
olivier at gid0.org
Mon Oct 15 18:50:01 UTC 2007
>Number: 117218
>Category: ports
>Synopsis: [patch] audio/sdl_mixer : timidity++ support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 15 18:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Olivier Smedts
>Release: 6.2-STABLE
>Organization:
gid0.org
>Environment:
>Description:
sdl_mixer doesn't search for timidity.cfg in the right place. I attached a patch with the correct location to make sdl_mixer support audio/timidity++ instead of audio/timidity which is discontinued since a long time (the shar contains audio/sdl_mixer/files/patch-timidity-config.h)
>How-To-Repeat:
install audio/timidity++
try to play a midi through sdl_mixer (for example, games/eduke32 uses midi music through sdl_mixer) : no sound
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# audio/sdl_mixer/files/patch-timidity-config.h
#
echo x - audio/sdl_mixer/files/patch-timidity-config.h
sed 's/^X//' >audio/sdl_mixer/files/patch-timidity-config.h << 'END-of-audio/sdl_mixer/files/patch-timidity-config.h'
X--- timidity/config.h 2007-10-15 20:30:06.000000000 +0200
X+++ timidity/config.h 2007-10-15 20:30:58.000000000 +0200
X@@ -176,7 +176,7 @@
X #if defined(__WIN32__) || defined(__OS2__)
X #define DEFAULT_PATH "\\TIMIDITY"
X #else
X-#define DEFAULT_PATH "/usr/local/lib/timidity"
X+#define DEFAULT_PATH "/usr/local/share/timidity"
X #endif
X
X /* These affect general volume */
END-of-audio/sdl_mixer/files/patch-timidity-config.h
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list