[75920] trunk/dports/audio/libsamplerate

ryandesign at macports.org ryandesign at macports.org
Sat Feb 12 16:28:04 PST 2011


Revision: 75920
          http://trac.macports.org/changeset/75920
Author:   ryandesign at macports.org
Date:     2011-02-12 16:28:04 -0800 (Sat, 12 Feb 2011)
Log Message:
-----------
libsamplerate: fix "comma at end of enumerator list"; see #28324

Modified Paths:
--------------
    trunk/dports/audio/libsamplerate/Portfile

Added Paths:
-----------
    trunk/dports/audio/libsamplerate/files/
    trunk/dports/audio/libsamplerate/files/patch-src-samplerate.h.diff

Modified: trunk/dports/audio/libsamplerate/Portfile
===================================================================
--- trunk/dports/audio/libsamplerate/Portfile	2011-02-13 00:27:58 UTC (rev 75919)
+++ trunk/dports/audio/libsamplerate/Portfile	2011-02-13 00:28:04 UTC (rev 75920)
@@ -4,7 +4,7 @@
 
 name            libsamplerate
 version         0.1.7
-revision        1
+revision        2
 categories      audio
 maintainers     boeyms openmaintainer
 description     libsamplerate (also known as Secret Rabbit Code) is a library \
@@ -24,6 +24,8 @@
 depends_build   path:bin/pkg-config:pkgconfig
 depends_lib     port:fftw-3 port:libsndfile
 
+patchfiles      patch-src-samplerate.h.diff
+
 post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdir}

Added: trunk/dports/audio/libsamplerate/files/patch-src-samplerate.h.diff
===================================================================
--- trunk/dports/audio/libsamplerate/files/patch-src-samplerate.h.diff	                        (rev 0)
+++ trunk/dports/audio/libsamplerate/files/patch-src-samplerate.h.diff	2011-02-13 00:28:04 UTC (rev 75920)
@@ -0,0 +1,11 @@
+--- src/samplerate.h.orig	2008-03-14 19:17:02.000000000 -0500
++++ src/samplerate.h	2011-02-08 12:33:35.000000000 -0600
+@@ -174,7 +174,7 @@
+ 	SRC_SINC_MEDIUM_QUALITY		= 1,
+ 	SRC_SINC_FASTEST			= 2,
+ 	SRC_ZERO_ORDER_HOLD			= 3,
+-	SRC_LINEAR					= 4,
++	SRC_LINEAR					= 4
+ } ;
+ 
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110212/289d67c6/attachment.html>


More information about the macports-changes mailing list