Ticket #28324: libsamplerate.diff

File libsamplerate.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • files/patch-src-samplerate.h.diff

     
     1--- src/samplerate.h.orig       2008-03-14 19:17:02.000000000 -0500
     2+++ src/samplerate.h    2011-02-08 12:33:35.000000000 -0600
     3@@ -174,7 +174,7 @@
     4        SRC_SINC_MEDIUM_QUALITY         = 1,
     5        SRC_SINC_FASTEST                        = 2,
     6        SRC_ZERO_ORDER_HOLD                     = 3,
     7-       SRC_LINEAR                                      = 4,
     8+       SRC_LINEAR                                      = 4
     9 } ;
     10 
     11 /*
  • Portfile

     
    44
    55name            libsamplerate
    66version         0.1.7
    7 revision        1
     7revision        2
    88categories      audio
    99maintainers     boeyms openmaintainer
    1010description     libsamplerate (also known as Secret Rabbit Code) is a library \
     
    2424depends_build   path:bin/pkg-config:pkgconfig
    2525depends_lib     port:fftw-3 port:libsndfile
    2626
     27patchfiles      patch-src-samplerate.h.diff
     28
    2729post-destroot {
    2830    set docdir ${destroot}${prefix}/share/doc/${name}
    2931    xinstall -d ${docdir}