From owner-svn-ports-head@FreeBSD.ORG Fri Dec 28 11:22:49 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0F21D7A; Fri, 28 Dec 2012 11:22:49 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 7AD628FC12; Fri, 28 Dec 2012 11:22:49 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBSBMnwH013726; Fri, 28 Dec 2012 11:22:49 GMT (envelope-from mva@svn.freebsd.org) Received: (from mva@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBSBMnMu013724; Fri, 28 Dec 2012 11:22:49 GMT (envelope-from mva@svn.freebsd.org) Message-Id: <201212281122.qBSBMnMu013724@svn.freebsd.org> From: Marcus von Appen Date: Fri, 28 Dec 2012 11:22:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309566 - in head/audio/sdl_sound: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 11:22:49 -0000 Author: mva Date: Fri Dec 28 11:22:48 2012 New Revision: 309566 URL: http://svnweb.freebsd.org/changeset/ports/309566 Log: - Fix MIDI support - Trim Makefile headers PR: ports/174098 Submitted by: Green Dog Added: head/audio/sdl_sound/files/patch-decoders-timidity-options.h (contents, props changed) Modified: head/audio/sdl_sound/Makefile Modified: head/audio/sdl_sound/Makefile ============================================================================== --- head/audio/sdl_sound/Makefile Fri Dec 28 11:21:31 2012 (r309565) +++ head/audio/sdl_sound/Makefile Fri Dec 28 11:22:48 2012 (r309566) @@ -1,13 +1,9 @@ -# New ports collection makefile for: sdl_sound -# Date created: 6 Feb 2003 -# Whom: David Yeske -# +# Created by: David Yeske # $FreeBSD$ -# 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/ @@ -88,4 +84,7 @@ pre-everything:: @${ECHO_CMD} .endif +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/decoders/timidity/options.h + .include Added: head/audio/sdl_sound/files/patch-decoders-timidity-options.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/sdl_sound/files/patch-decoders-timidity-options.h Fri Dec 28 11:22:48 2012 (r309566) @@ -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