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

Ports-bugs

takefuairportfm
FOX Amateur Radio Club
  Fix samplerate.h has comma at end of enumerator list
  Add test script
  Add MASTER_SITE_LOCAL
--- libsamplerate.patch begins here ---
diff -ruN /usr/ports/audio/libsamplerate/Makefile audio/libsamplerate/Makefile


@@ -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=	[email protected]
 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


@@ -0,0 +1,11 @@


+@@ -174,7 +174,7 @@
+ 	SRC_SINC_MEDIUM_QUALITY		= 1,
+ 	SRC_SINC_FASTEST			= 2,
+ 	SRC_ZERO_ORDER_HOLD			= 3,
+-	SRC_LINEAR					= 4,
++	SRC_LINEAR					= 4
+ } ;
+
+ /*
                                            
edwinFreeBSDorg
Synopsis: [PATCH] audio/libsamplerate: samplerate.h has comma at end of enumerator list

Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia
Responsible-Changed-By: edwin

Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=161568
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[email protected]"