From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 14 02:12:57 2011 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E9031065670; Fri, 14 Oct 2011 02:12:57 +0000 (UTC) (envelope-from takefu@airport.fm) Received: from ae-osaka.co.jp (unknown [IPv6:2001:3e0:4ec:a000::1]) by mx1.freebsd.org (Postfix) with ESMTP id C18058FC14; Fri, 14 Oct 2011 02:12:56 +0000 (UTC) Received: from ae-osaka.co.jp (localhost.ae-osaka.co.jp [127.0.0.1]) by ae-osaka.co.jp (Postfix) with ESMTP id 192A311461; Fri, 14 Oct 2011 11:12:56 +0900 (JST) X-Virus-Scanned: amavisd-new at ae-osaka.co.jp Received: from ae-osaka.co.jp ([127.0.0.1]) by ae-osaka.co.jp (ae-osaka.co.jp [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oxECM4tb5Kng; Fri, 14 Oct 2011 11:12:55 +0900 (JST) Received: from [IPv6:2001:3e0:4ec:a011:8587:51df:e124:df50] (unknown [IPv6:2001:3e0:4ec:a011:8587:51df:e124:df50]) by ae-osaka.co.jp (Postfix) with ESMTPSA id CD4E711458; Fri, 14 Oct 2011 11:12:55 +0900 (JST) Message-ID: <4E979AA7.8080406@airport.fm> Date: Fri, 14 Oct 2011 11:12:55 +0900 From: Takefu User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-gnats-submit@freebsd.org References: <201110130959.p9D9x5sS013163@unbound.local.ae-osaka.co.jp> In-Reply-To: <201110130959.p9D9x5sS013163@unbound.local.ae-osaka.co.jp> X-Enigmail-Version: 1.3.2 X-Forwarded-Message-Id: <201110130959.p9D9x5sS013163@unbound.local.ae-osaka.co.jp> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: multimedia@FreeBSD.org Subject: [PATCH] audio/libsamplerate: samplerate.h has comma at end of enumerator list X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: takefu@airport.fm List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2011 02:12:57 -0000 >Category: ports >Synopsis: [PATCH] audio/libsamplerate: samplerate.h has comma at end of enumerator list >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >Class: change-request >Submitter-Id: current-users >Originator: Takefu >Organization: FOX Amateur Radio Club >Description: Fix samplerate.h has comma at end of enumerator list Add test script Add MASTER_SITE_LOCAL >Fix: --- libsamplerate.patch begins here --- diff -ruN /usr/ports/audio/libsamplerate/Makefile audio/libsamplerate/Makefile --- /usr/ports/audio/libsamplerate/Makefile 2011-10-03 17:47:33.000000000 +0900 +++ audio/libsamplerate/Makefile 2011-10-13 16:08:18.000000000 +0900 @@ -9,7 +9,8 @@ PORTVERSION= 0.1.8 PORTREVISION= 1 CATEGORIES= audio -MASTER_SITES= http://www.mega-nerd.com/SRC/ +MASTER_SITES= http://www.mega-nerd.com/SRC/ \ + ${MASTER_SITE_LOCAL} MAINTAINER= multimedia@FreeBSD.org COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio @@ -25,6 +26,9 @@ USE_LDCONFIG= yes MAKE_ARGS= htmldocdir=${PREFIX}/share/doc/libsamplerate +test: + @(cd ${WRKSRC}; make test) + pre-install: .if defined(NOPORTDOCS) @${REINPLACE_CMD} -e 's/SUBDIRS = M4 src doc examples tests/SUBDIRS = M4 src examples tests/' ${WRKSRC}/Makefile diff -ruN /usr/ports/audio/libsamplerate/files/patch-src-samplerate.h audio/libsamplerate/files/patch-src-samplerate.h --- /usr/ports/audio/libsamplerate/files/patch-src-samplerate.h 1970-01-01 09:00:00.000000000 +0900 +++ audio/libsamplerate/files/patch-src-samplerate.h 2011-10-13 14:15:31.000000000 +0900 @@ -0,0 +1,11 @@ +--- src/samplerate.h.orig 2011-01-19 19:39:21.000000000 +0900 ++++ src/samplerate.h 2011-10-13 14:14:56.000000000 +0900 +@@ -174,7 +174,7 @@ + SRC_SINC_MEDIUM_QUALITY = 1, + SRC_SINC_FASTEST = 2, + SRC_ZERO_ORDER_HOLD = 3, +- SRC_LINEAR = 4, ++ SRC_LINEAR = 4 + } ; + + /* --- libsamplerate.patch ends here ---