Index: head/audio/alsa-lib/Makefile =================================================================== --- head/audio/alsa-lib/Makefile (revision 399200) +++ head/audio/alsa-lib/Makefile (revision 399201) @@ -1,42 +1,44 @@ # Created by: Aragon Gouveia # $FreeBSD$ PORTNAME= alsa-lib PORTVERSION= 1.0.29 CATEGORIES= audio MASTER_SITES= ALSA/lib \ GENTOO MAINTAINER= jbeich@FreeBSD.org COMMENT= ALSA compatibility library LICENSE= LGPL21 # or any later version USES= libtool:keepla tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfdir="\$${prefix}/libdata/pkgconfig" INSTALL_TARGET= install-strip +TEST_ENV= ${MAKE_ENV} ALSA_CONFIG_PATH="${FILESDIR}/asound.conf.sample" +TEST_TARGET= check CPPFLAGS+= -I${FILESDIR} OPTIONS_DEFINE= PYTHON OPTIONS_SUB= yes PYTHON_CONFIGURE_ENABLE=python PYTHON_USES= python:2 post-patch: .SILENT ${REINPLACE_CMD} -e '/LIBS/ { s/-ldl//g; s/-lrt//g; }' \ -e 's/python-config/${PYTHON_CMD:T}-config/g' \ -e '/pythonlibs/s/--libs/--ldflags/' \ -e '/-D_GNU_SOURCE/d' \ -e '/lt_cv_dlopen/s/-ldl//g' ${WRKSRC}/configure ${REINPLACE_CMD} '/LIBADD/s/-ldl//g' \ ${WRKSRC}/modules/mixer/simple/Makefile.in ${REINPLACE_CMD} 's|/etc|${PREFIX}&|g' \ ${WRKSRC}/src/conf/alsa.conf post-install: ${INSTALL_DATA} ${FILESDIR}/asound.conf.sample ${STAGEDIR}${PREFIX}/etc .include Index: head/audio/alsa-lib/files/patch-test_midifile.c =================================================================== --- head/audio/alsa-lib/files/patch-test_midifile.c (nonexistent) +++ head/audio/alsa-lib/files/patch-test_midifile.c (revision 399201) @@ -0,0 +1,20 @@ +--- test/midifile.c.orig 2015-02-26 12:34:52 UTC ++++ test/midifile.c +@@ -71,7 +71,7 @@ + #endif + + #include +-#include ++#include + + #include + /*void exit(), free();*/ +@@ -328,7 +328,7 @@ readtrack () /* read a track chunk */ + + if (Mf_interactive) + { +- Mf_toberead = MAXINT; ++ Mf_toberead = INT_MAX; + } + else + { Property changes on: head/audio/alsa-lib/files/patch-test_midifile.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property