ports/161568: [PATCH] audio/libsamplerate: samplerate.h has comma at end of enumerator list

Takefu takefu at airport.fm
Fri Oct 14 02:20:07 UTC 2011


>Number:         161568
>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
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 14 02:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        
>Organization:
FOX Amateur Radio Club
>Environment:
>Description:
  Fix samplerate.h has comma at end of enumerator list
  Add test script
  Add MASTER_SITE_LOCAL
>How-To-Repeat:
>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 at 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 ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list