From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 3 22:10:00 2012 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D79B3396 for ; Mon, 3 Dec 2012 22:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ACCA78FC1A for ; Mon, 3 Dec 2012 22:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3MA0b2081833 for ; Mon, 3 Dec 2012 22:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qB3MA04J081832; Mon, 3 Dec 2012 22:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 3 Dec 2012 22:10:00 GMT Resent-Message-Id: <201212032210.qB3MA04J081832@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Green Dog Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62A8F2D1 for ; Mon, 3 Dec 2012 22:00:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D4D4B8FC14 for ; Mon, 3 Dec 2012 22:00:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qB3M0569020224 for ; Mon, 3 Dec 2012 22:00:05 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id qB3M056s020223; Mon, 3 Dec 2012 22:00:05 GMT (envelope-from nobody) Message-Id: <201212032200.qB3M056s020223@red.freebsd.org> Date: Mon, 3 Dec 2012 22:00:05 GMT From: Green Dog To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/174098: [audio/sdl_sound] fix midi support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 22:10:01 -0000 >Number: 174098 >Category: ports >Synopsis: [audio/sdl_sound] fix midi support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 03 22:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Green Dog >Release: FreeBSD-9.0 >Organization: >Environment: >Description: [audio/sdl_sound] fix midi support (location timidity.cfg) >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN sdl_sound.orig/Makefile sdl_sound/Makefile --- sdl_sound.orig/Makefile 2012-11-30 23:40:07.000000000 +0400 +++ sdl_sound/Makefile 2012-12-04 01:58:41.000000000 +0400 @@ -7,7 +7,7 @@ PORTNAME= sdl_sound PORTVERSION= 1.0.3 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://offload1.icculus.org:9090/SDL_sound/downloads/ \ http://offload2.icculus.org:9090/SDL_sound/downloads/ @@ -83,6 +83,9 @@ CONFIGURE_ARGS+=--disable-ogg .endif +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/decoders/timidity/options.h + pre-everything:: .if !${PORT_OPTIONS:MSMPEG} @${ECHO_CMD} diff -ruN sdl_sound.orig/files/patch-decoders-timidity-options.h sdl_sound/files/patch-decoders-timidity-options.h --- sdl_sound.orig/files/patch-decoders-timidity-options.h 1970-01-01 03:00:00.000000000 +0300 +++ sdl_sound/files/patch-decoders-timidity-options.h 2012-12-04 01:40:29.000000000 +0400 @@ -0,0 +1,11 @@ +--- decoders/timidity/options.h.orig 2008-04-17 21:56:20.000000000 +0400 ++++ decoders/timidity/options.h 2012-12-04 01:38:58.000000000 +0400 +@@ -80,7 +80,7 @@ + #define MAX_AMPLIFICATION 800 + + /* The TiMidity configuration file */ +-#define CONFIG_FILE "timidity.cfg" ++#define CONFIG_FILE "%%PREFIX%%/share/timidity/timidity.cfg" + + /* These affect general volume */ + #define GUARD_BITS 3 >Release-Note: >Audit-Trail: >Unformatted: